Removeprintersatlogoff
The script runs after the user profile loads. On logoff, the printer is removed. Works as expected.
If users complain that their default printer keeps changing to "Microsoft Print to PDF" or another unwanted device after a reconnect, setting this value to 0 can help the session "remember" the correct assignment. removeprintersatlogoff
Create a new GPO or edit an existing one applied to your Session Hosts or VDI desktops. The script runs after the user profile loads
In RDP, printers redirected from the client are handled separately. removeprintersatlogoff generally does not remove RDP redirected printers because they are session-based, not user profile-based. However, in RDS environments, a separate setting exists under Printer Redirection . not user profile-based. However