Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to mass remove all local and network mapped printers from all workstations on a domain via group policy or a batch file?

I need to remove local Windows 7 printers such as Fax, Microsoft XPS Document Writer, Send To OneNote 2010.

share|improve this question
up vote 6 down vote accepted

There is a Delete All option in Group Policy Client Side Preferences for Shared Printers. It's in User Policy.

share|improve this answer

All printers are stored in the following location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

Deleting the entries/subfolders there should remove both local and network printers.

share|improve this answer
    
Network Printers deployed through an GPO will not be listed there. – dognose Jun 28 at 13:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.