Files
Windows-Admin-Scripts/RemoveHKeyPrinters/CSR Registry Settings/Readme.md
2026-01-14 16:08:09 -06:00

24 lines
881 B
Markdown

# CSR Registry Settings
A common bug is that when a user profile is deleted that contained a printer it is not properly removed from the device. According to this forum post these registry changes help to clear out these printers on logout.
https://serverfault.com/questions/1082240/where-are-these-printers-coming-from-in-devices-and-printers
The HTML is also included in this directory to preserve the original post
### Reg Keys
These are the keys that need to be added to a group policy or script. Each entry is added to the path at the top.
```
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider
"InactiveGuidPrinterAge"=dword:00000384
"ActiveGuidPrinterAge"=dword:00000384
"InactiveGuidPrinterTrim"=dword:00000384
"RemovePrintersAtLogoff"=dword:00000001
```
### GPO Example
![Ss](./gpo_example.png)