Change language:
Get a quote

Windows Server 2022: Stop removing Printers at logoff

Overview

With some installations, especially with a Remote Desktop Server role, it can happen that the server removes the user's default printer at the end of the session and overwrites it with a new default printer. 

Solution

To set the specified registry key via CMD, use the following command:

  • Open the Command Prompt as an administrator.
  • Run the following command to set the registry key:

cmd

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider" /v "RemovePrintersAtLogoff" /t REG_DWORD /d 0 /f

Was this page helpful?

Published: December 18, 2024