General discussion


Set default Printers using scripts

By williamoshea ·
Dear Colleagues,
I was given the script below to automatically install network printers for users. The script works fine, but I was wondering if anyone knows how to also make the printer default by adding a few more lines to the .vbs file.

set wshnet = CreateObject("WScript.Network")
wshnet.AddWindowsPrinterConnection "\\server\printershare"

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums