Push printers out without logon

Microsoft Windows server 2008 r2 standar...
May 7, 2010 at 13:56:06
Specs: Windows 2008 R2, 4ghz/128gb
Can I create a GPO script or something that will
delete all of the printers on printold and assign
the users the printers on printnew without the
users being logged out or rebooting their workstations.

Thank you,

Leto the just

See More: Push printers out without logon

Report •

June 23, 2010 at 19:10:10
On you ad server create a batch script to delete and add printers. then use GP manager to run that file.

To Create the batch file, open notepad and use the following to add printers:
rundll32 rundll32 printui.dll,PrintUIEntry /in /n \\servername\printername

and to delete printers:
rundll32 rundll32 printui.dll,PrintUIEntry /gd /n \\servername\printername

This needs to be done for all the printers you wish to add or delete. After you create those you need to save the file with the extension of .bat

In group policy manager on the server go to user configuration ->windows settings ->scripts -> logon scripts -> add -> then browse to the file you created. When the users log on the old printers should be removed and the new printers created. You can create various batch scripts and group policies for different users if they require different printers.

Mike Treloar
Sago Networks

Report •
Related Solutions

Ask Question