Remap Printer Connections

Removes existing printer connections and remaps those connections to a new print server. This script can be executed at login to change the printer connections on the workstation

 
 
 
 
 
2.6 Star
(5)
Add to favorites
Printing
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Upper case
    1 Posts | Last post February 13, 2017
    • Hello, 
      
      How do I make this script add printers in uppercase form. It only adds printer in lowercase. 
  • no results
    2 Posts | Last post May 09, 2013
    • I realized my "answer" to Jeff Eagen was in the wrong location:
      
      Jeff, et al.:
      Can anyone explain why nothing happens when I run this exact script?  I'm testing on w7x32 at the moment, I copy the script to a text file and save with/save as a .vbs.  Run the .vbs from a cmd line and watch taskmgr.exe for new PID's and Image Name's to pop up but nothing happens whatsoever.  No EventID's to look, no errors or confirmation on screen.  I've had this same result with the other 5 or so scripts for this task I have tried so far.  What am I missing here?
      Thanks,
      jasma12
      
    • I had the same issue until I used the following syntax exactly for my two server names leaving in the quotes and not using FQDNs (lines 39 and 40 of the script):
      
      from_sv = "\\printservername1" 'This should be the name of the old server.
      to_sv = "\\printservername2" 'This should be the name of your new server.
  • Remove Connection Not Working
    2 Posts | Last post January 30, 2012
    • Tried the script, it added the new printer, but didn't delete the old connection.
      Removed the On Error Resume and got an "This network connection does not exist" error for 86, 9 (WshNet.RemovePrinterConnection from_sv+"\"+PrinterName)
    • Jeff, et al.:
      Can anyone explain why nothing happens when I run this exact script?  I'm testing on w7x32 at the moment, I copy the script to a text file and save with/save as a .vbs.  Run the .vbs from a cmd line and watch taskmgr.exe for new PID's and Image Name's to pop up but nothing happens whatsoever.  No EventID's to look, no errors or confirmation on screen.  I've had this same result with the other 5 or so scripts for this task I have tried so far.  What am I missing here?
      Thanks,
      jasma12
      
  • Worked!
    1 Posts | Last post April 04, 2011
    • Modified UNC and added to my login script. It successfully mapped from Win2K8 to Win2K8 R2. 
      
      **Used the built in print migration utility in Print Managemnt to migrate printers which was also a great tool. 
  • Exactly what I was looking for
    1 Posts | Last post November 29, 2010
    • I've tried several other scripts in the repo which didn't work and was getting frustrated, but this script worked perfectly right off the bat! Thanks for sharing!
      
      So far I've tested on Win7x64 so far; will be testing on Win7 32bit, WinXP & Vista tomorrow.
      
      Thanks again,
      -Valerie