Change language:
Get a quote

Documents

→

Manuals

→

Virtual Machine

→

Administrator

Windows Server 2022: Stop removing Printers at logoff

  1. Overview
  2. Solution
1. 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. 

2. 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
Published: December 18, 2024