Files
2026-01-14 16:21:09 -06:00

44 lines
1.2 KiB
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 a tar.gz to preserve the original post
### Reg Keys
- These are the keys that need to be added to a group policy or script.
- There are 4 keys that need to be added. They are shown here with this format.
- Each entry is added to the path below
```
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider
```
```
Name
Type
Data
```
```
InactiveGuidPrinterAge
dword
00000384
ActiveGuidPrinterAge
dword
00000384
InactiveGuidPrinterTrim
dword
00000384
RemovePrintersAtLogoff
dword
00000001
```
#### Notes
I use the **Replace** function and the **Remove when no longer applied** option to delete this key from devices if the policy is ever removed
The registry keys need to be applied under **Computer Configuration** not user
### GPO Example
![Ss](./gpo_example.png)