Question Locked

Delete Old Pirnters Script

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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"

2 replies

This discussion is closed to new replies.