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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top