P Paul Jones Jan 5, 2004 #1 Is it possible to add network printers to workstaions with a Group Policy? Thanks, Paul
P Philip Nunn Jan 6, 2004 #2 run this command as a .bat script when the user logs on. this will add a network printer connection. rundll32 printui.dll,PrintUIEntry /in /n \\<servername>\<sharename> Philip Nunn
run this command as a .bat script when the user logs on. this will add a network printer connection. rundll32 printui.dll,PrintUIEntry /in /n \\<servername>\<sharename> Philip Nunn
C Chriss3 Jan 6, 2004 #3 Here is another example to do so in a script. Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300" WshNetwork.SetDefaultPrinter \\PrintServer1\Xerox300 If you will work more with Scripts i will recommend TechNet Script Center http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter
Here is another example to do so in a script. Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300" WshNetwork.SetDefaultPrinter \\PrintServer1\Xerox300 If you will work more with Scripts i will recommend TechNet Script Center http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter