Windows

General discussion

Locked

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.
Thanks.


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

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums