Script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I want to map and set a default printer using the logon
script.

where can i find a sample?

Tks
 
The following code can be used in a vbscript. That is
basically all that is needed to click and map printer.
Of course there are many more conditions that can be
set...

set WshNetwork = CreateObject("WScript.Network")
PrinterPath= "\\server\printer"
WshNetwork.AddWindowsPrinterConnection PrinterPath
 
Back
Top