G
Guest
Good day to you all!
Could not find the answer in previous posts, therefore I'm posting a new
topic.
I'm running Windows 2000 domain in native mode, under 2000 SP4 Standart.
The task is to automate shared network printers installation.
I have created GPO, that will run VB script on startup and map those printers.
Here's the script:
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\server\HPLaserJet_nd"
objNetwork.AddWindowsPrinterConnection "\\server\DuPrinter"
objNetwork.AddWindowsPrinterConnection "\\server\HPLJ@Hallway"
objNetwork.SetDefaultPrinter "\\server\HPLaserJet_nd"
WScript.Quit
Now for some reason the script does not run when applied to computer, and no
mapping occur. On other hand if the same script is applied to user, script
works fine.
Permission on the shared printer is set to Everyone = Print.
What can be done to resolve this situation?
Could not find the answer in previous posts, therefore I'm posting a new
topic.
I'm running Windows 2000 domain in native mode, under 2000 SP4 Standart.
The task is to automate shared network printers installation.
I have created GPO, that will run VB script on startup and map those printers.
Here's the script:
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\server\HPLaserJet_nd"
objNetwork.AddWindowsPrinterConnection "\\server\DuPrinter"
objNetwork.AddWindowsPrinterConnection "\\server\HPLJ@Hallway"
objNetwork.SetDefaultPrinter "\\server\HPLaserJet_nd"
WScript.Quit
Now for some reason the script does not run when applied to computer, and no
mapping occur. On other hand if the same script is applied to user, script
works fine.
Permission on the shared printer is set to Everyone = Print.
What can be done to resolve this situation?