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.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums