Remove all printers from a specific printserver through group policy
Hi,
I wondered if it is possible to delete al the printers from a specific printserver on every client pc via group policy?
We have an old printserver that needs to go but we don't know who still has printers from that server.
Thx in advance.
July 23rd, 2012 3:34am
Hello,
If these printers had been added using a group policy then update this group policy. If not then you can use this script as a logon script to do it: http://theintegrity.co.uk/2010/07/how-to-remove-printers-using-group-policy-in-domain-environment/
This
posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Microsoft
Student Partner 2010 / 2011
Microsoft
Certified Professional
Microsoft
Certified Systems Administrator: Security
Microsoft
Certified Systems Engineer: Security
Microsoft
Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
Microsoft
Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
Microsoft
Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
Microsoft
Certified Technology Specialist: Windows 7, Configuring
Microsoft
Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
Microsoft Certified IT Professional: Enterprise Administrator
Microsoft Certified IT Professional: Server Administrator
Microsoft Certified Trainer
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2012 4:09am
Hi,
I agree with Mr X, he has provided the right suggestion to the issue. If we deployed the printers via Group Policy, we could modify the GPO settings. Also we could deploy a logon script to
remove all printer connections on the client machines.
Regarding the useful scripts, we could refer to the following articles.
Add and Remove Printers
http://gallery.technet.microsoft.com/scriptcenter/10ab836d-4d38-45a5-8d27-ba9af1717930
Remove Printers
http://gallery.technet.microsoft.com/scriptcenter/658b88e8-012c-4dff-8fc7-a658cb1c6317
If we have some script related issue, I suggest we ask in the script forum.
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en/ITCG/threads/
Regards,
Andy
July 23rd, 2012 11:11pm
Hi,
I agree with Mr X, he has provided the right suggestion to the issue. If we deployed the printers via Group Policy, we could modify the GPO settings. Also we could deploy a logon script to
remove all printer connections on the client machines.
Regarding the useful scripts, we could refer to the following articles.
Add and Remove Printers
http://gallery.technet.microsoft.com/scriptcenter/10ab836d-4d38-45a5-8d27-ba9af1717930
Remove Printers
http://gallery.technet.microsoft.com/scriptcenter/658b88e8-012c-4dff-8fc7-a658cb1c6317
If we have some script related issue, I suggest we ask in the script forum.
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en/ITCG/threads/
Regards,
Andy
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2012 11:11pm
Hi,
Thank you for all the great solutions. We however have a terminal server environment and I would like to remove the printers from the users that are working on the terminal server. We would like to get rid of the printserver but when we shut it down
alot of people end up hanging in their print dialog because the printers of that server dissapeared so the server is still running for that reason only. I see that the scripts use the local computer to remove the printers from but i need to remove them
from each user individually on the terminal server. Is there some sort of logon script for that. One where you say delete all printers from that printserver ?
thx in advance.
July 26th, 2012 4:01am
Hi,
Regarding logon script of removing all printers form the print server, as I mentioned above, wed better ask in the script forum.
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en/ITCG/threads/
Regards,
Andy
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2012 5:44am