Windows printer logon Script
Hej Jeg har et problem.Jeg få denne her fejl
Script: printer.vps
Linje: 9
Tegn: 1
Fejl: Procedurekaldet eller argumentet er ugyldigt
kode: 800A0005
nå en af mine bruger logger på.
Scriptet
'// Name: setprint.vbs
'// Description: Add a network printer and make it the default
Dim WshNetwork
Set WshNetwork = CreateObject("WScript.Network")
'// Adds the printer. Substitute your server name and printer share.
WshNetwork.AddwindowsPrinterConnection "\\proserver\Printervejle2"
WshNetwork.AddwindowsPrinterConnection "\\proserver\PCL6Driv"
WshNetwork.AddwindowsPrinterConnection "\\proserver\B1260DNM"
WshNetwork.AddwindowsPrinterConnection "\\proserver\CLX-6220"
WshNetwork.AddwindowsPrinterConnection "\\proserver\RICOHAfi"
WshNetwork.AddwindowsPrinterConnection "\\proserver\Printervejle"
'// Makes the specified printer the default.
'WshNetwork.SetDefaultPrinter "\\proserver\Printervejle2"
Håber i kan hjælpe OA