Printers
Here are some options for adding a printer in a login script:
rundll32 printui.dll,PrintUIEntry /in /q /n\\computer\printershare
Use this to set the printer as the default printer rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername
Run this for a full list of what printui can do
rundll32 printui.dll,PrintUIEntry /?
VBS - Remove all printers
Set objNetwork = WScript.CreateObject("Wscript.Network")
For Each strPrinter In objNetwork.EnumPrinterConnections
objNetwork.RemovePrinterConnection strPrinter, True, True
Next
To add printers:
Or start \\server\printer