Arsynic
MIS
- Jun 17, 2003
- 141
I only want one computer on the network to run a script to network it to a particular printer. The users logging into the computer have roaming profiles so I can't just put the script in the startup folder because it will move from one computer to the next due to the roaming profiles.
So I just created a new Organizational Unit and moved the computer into it. I then created a new Group Policy named "Printing" and put this login script in it:
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.AddPrinterConnection "LPT1", "\\Server\Print1"
Well it's not working and I don't know why. The script works because I tested it on my local machine. However, it won't run on the computer I want it to run on. What's the deal?
So I just created a new Organizational Unit and moved the computer into it. I then created a new Group Policy named "Printing" and put this login script in it:
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.AddPrinterConnection "LPT1", "\\Server\Print1"
Well it's not working and I don't know why. The script works because I tested it on my local machine. However, it won't run on the computer I want it to run on. What's the deal?