Product: ProfileUnity-FlexApp
Product Version: 6.8.x
Expiration: 365 days from publishing
Updated: August 25, 2023
Description:
Even though the default printer settings were saved/restored from a previous session, it is changed to a different device in a new session.
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows | Device is restored/set correctly but is changed at some point by Windows.
Resolution:
Verify that windows is not managing the default printer. Check the setting through Settings > Devices > Printers & scanners > Let Windows manage my default printer. If this is enabled, Windows will set your default printer to the most recently used printer.
If needed you can create a reg rule to disable this setting.
Create a registry rule with the following settings:
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows NT\CurrentVersion\Windows
Type: REG_DWORD
Value: LegacyDefaultPrinterMode
Data: 1
Once LegacyDefaultPrinterMode is set, create a registry rule with the following settings:
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows NT\CurrentVersion\Windows
Type: REG_DWORD
Value: MaintainDefaultPrinter
Data: 1
Note: Do NOT set "Process Action After Login"
During the login process, Windows will check for this value and should not attempt to change the default printer that is set in HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows | Device.