question

shaunm001 avatar image
0 Votes"
shaunm001 asked KarlieWeng-MSFT answered

Can't delete Group Policy deployed printers

We have deployed printers from our Windows print server using Group Policy (Per-User GPO):

199776-capture2.png


When we choose "Remove" in the Window above, we receive a message that removal was successful, and we no longer see the deployed printer listed in the GPO. However, the printer is not being removed from the client workstations as expected.

When we try to use Group Policy Preferences to delete the printer, we receive an "Access Denied" error on the workstation:

199757-capture.png



Based on that screenshot, it looks like the the user account is "SYSTEM", is that right? Why would SYSTEM account be denied access to delete a printer?

Some other odd behavior:

  • If user is a member of Administrators group on the PC, they cannot delete the printer and receive a message that a policy is preventing it.

  • Only the local administrator account is able to manually delete the printer. However next time the user logs in, the printer is back

  • The printer is not shown when running Get-Printer in powershell, using elevated or non-elevated rights (but the printer is still listed in Devices and Printers)

Any thoughts on what could be stopping us from deleting these printers?



windows-server-print
capture2.png (66.8 KiB)
capture.png (169.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KarlieWeng-MSFT avatar image
0 Votes"
KarlieWeng-MSFT answered

Hello @shaunm001

How about a domain admin account on workstation?


You might try remove from the local PC Registry (local admin):

  • HKEY_CURRENT_USER\Printers\Connections

  • Remove the regkey which is called as the printer you want to remove.

  • restart the Print Spooler.

  • Refresh the Devices and Printers


Best Regards
Karlie


If the Answer is helpful, please click "Accept Answer" and upvote it.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.