Question
January 2, 2008 at 11:16 AM
douglasemc

Delete Old Pirnters Script

by douglasemc . Updated 18 years, 8 months ago

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 discussion is locked

All Comments