Remove printers from directory that were on an old server

I had a standalone Windows 2012 box that was acting as the printer server in my domain. Since then I've removed it and moved printer hosting elsewhere.

However, when I open up the directory (through "add a network printer"), I still see printers that were hosted by that old server. How can I remove those directory entries if the server is no longer around?


Solution 1:

You should be able to manually remove them from AD. If the previous print servers computer object still exists you can delete the printers from the servers computer object in ADUC by selecting the option to view Users, Contacts, Groups and Computers as objects, then find the computer object for the previous server, select it in the left pane and delete the printers in the right pane.

You can also create a query in ADUC to find all printers and then delete them from the query results.

Additionally, directory pruning of printers should happen automatically, unless directory pruning has been disabled via GPO.

How long has this printer server been offline or is it that the server is still running but no longer serving as a print server?