Question

Locked

Delete Old Pirnters Script

By douglasemc ·
hi all
we recently migrated all shared printers out of the PDC (yeah, i know) into a new server that will be exclusively for that purpose, so the problem is that all users still have the old printers mapped, i wrote a login script but it didn't work, any thoughts?
this is the script to remove the old printers

' VBScript.
Dim objNetwork
Set objNetwork = CreateObject("WScript.Network")
objNetwork.RemovePrinterConnection "\\OldServer\continental"
objNetwork.RemovePrinterConnection "\\Old Server\British Airways"'
objNetwork.RemovePrinterConnection "\\OldServer\JetBlue"

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums