Reply to Message

View discussion in a popup

Replying to:
Sabian0309
Enthusiast
Enthusiast

I fought with this for a while to.  I still occasionally have issues with it, and to be honest i've been frying bigger fish and haven't been able to check into the stragglers.

So, when you have a user logout, do you see their default printer set at the bottom of the registry file that got exported (pending they set it correctly before logout)?

If you did, then i have a hacky work around for you.  We are going to import the printer settings again after user login.  The thought behind this is that an appstack or other process is coming along after the original printer import and changing the default.

In your UEM configuration share, create 2 .bat files.

Make one called "launcher.bat".  Inside of it you want to have the following:

START /MIN CMD.EXE /C "\\yourserver\UEM Configuration\printer.bat"

Then you want to create printer.bat containing:

@echo off

timeout 3 /nobreak

"C:\Program Files\Immidio\Flex Profiles\Flexengine.exe" -i "\\yourserver\UEM Configuration\general\Windows Settings\User Printer Configs.INI" -r "\\yourserver\UEM Profiles\%username%\archives\Windows Settings\User Printer Configs.zip"

Now in UEM under user environment select shortcuts.  Create a new one that looks like this:

pastedImage_4.png

The user will see a cmd window launch shortly after login, but it will re-import their printer settings after everything has settled down.  You can play with the timeout in the printer batch file, but 3 seconds seems to work well.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post