I'm trying to import the settings for printers via SCCM that runs installations in the system account. Manually as User with Administrator rights, it's working as expected. Manually as system account or over SCCM, it's not working.
Command I use:
rundll32 printui.dll,PrintUIEntry /Sr /n "Zebra" /a "C:\Temp\Zebra.dat"
The file is where it's expected, the printer has the correct name, and it works as admin but not as system account. Importing with the powershell "get-printconfiguration" / "Set-PrintConfiguration" doesn't work since it doesn't save the settings I need to transfer. I don't have the possibility to run the script as an administrator or change settings on sccm, so those aren't solutions for my case. I would have the ability to run it in the current user context, if there might be a possible way here, but as far as I checked just importing it as user doesn't work because of rights.
Any ideas how this can work as system account?