Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to add network printers on 2000 and XP boxes

Status
Not open for further replies.

eseabrook2008

Technical User
Jan 9, 2008
74
CA
Here is a oart of my script I am trying to use to get network printers to map on both XP and 2000 boxes. The script is being applied via GPO. When the user logs in, access is denied to "some" of the printers, not all. When that same user logs onto XP, the printers map just fine.

Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\svrnam\X02 - Bypass"
objNetwork.AddWindowsPrinterConnection "\\svrnam\X02 - Legal"
objNetwork.AddWindowsPrinterConnection "\\svrnam\X02 - Letter"
Set objNetwork = nothing


Ideas?
 
Never mind, there is a pretty lengthy replication issue going on. It seems to work just fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top