Few days ago we were checking our server logs to make sure all servers are running 100% stable. On one of our Terminal Services server we have discovered, that there are many errors like this:
|Product:||Windows Operating System|
|Message:||An internal communication error occurred. Redirected printing will no longer function for a single user session. Check the status of the Terminal Services Device Redirector in the System folder of Device Manager.|
After a bit of searching I found out, that the problems is connected with TS client printer being redirected to the TS server which doesn’t have proper drivers thus, cannot install it.
There are few ways to disable printer redirection in the TS server or from the client side:
- GPO or GPEdit.msc (Local policy) – just enable and deploy following setting:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Printer Redirection > Do not allow client printer redirection
Add/Edit following registry key:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fDisableCp
- TS MMC console
Administrative Tools > Terminal Services > Terminal Services Configuration
Right click on RDP-TCP, theb Click on Properties
Under “Client Settings” tab
Under “Redirection – Disable the following”
Check the “Windows Printer”
If you use method 2 or 3 the server, however will log a warning because clients will try to redirect a printer and will be denied redirection. TS session will work as usual.