Solved

Migration of Printers

Posted on 2008-06-17
7
364 Views
Last Modified: 2013-11-21
I currently have a server that is operating as my print server.  I will be decomissioning this server and setting up my print server on a completely different box with a different domain name too.  I would rather not go around and delete 6 printers and setup 6 new printers on 30 workstations.  Does anyone know if a better way to permorm this operation?  Thank you!
0
Comment
Question by:hckynt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 5

Expert Comment

by:HeinoSkov
ID: 21807796
You should definately take a look at Printmig utility from Microsoft:

http://www.microsoft.com/windowsserver2003/techinfo/overview/printmigrator3.1.mspx

It is pretty simple. Only thing to remember is that you need to install 3rd party tools to get the ports needed. So if you have any Lexmark, HP or other 3rd party print utilities you should install them first on the new server - before restoring by using printmig.

To change your clients take a look at this:
http://www.petri.co.il/changeprintsrv.htm

It is a simple script to change the servernavn on already connected printers on a client machine.

Regards
Heino
0
 
LVL 6

Accepted Solution

by:
raptorjb007 earned 250 total points
ID: 21807804
I would highly recommend the use of a logon script to perform this function for you. See the code sample provided below, it can be used in a VBS script(.vbs) and applied in group policy (user->windows->scripts->logon)or even using the account profile script.

Line 1 is necessary for the script to work, do not modify.
Line 3 deletes the old printer based on its UNC share path.
Line 5 Adds a new printer connection by its UNC share path
Line 7 Sets the default printer.
Set WshNetwork = CreateObject("WScript.Network")
 
objNetwork.RemovePrinterConnection "\\OldPrintServer\printername"
 
WshNetwork.AddWindowsPrinterConnection "\\NewPrintServer\printername"
 
WshNetwork.SetDefaultPrinter "\\NewPrintServer1\DefaultPrintername"

Open in new window

0
 

Author Comment

by:hckynt
ID: 21815768
The scripting works perfectly (I had to Set objnetwork too), however, I am not getting the printer settings to copy over.  For example, I have multiple 500 sheet trays that hold different paper.  On the server I setup Quicksets to access tray options autmotically.  These settings did not copy over.  Is there a way to capture these customizations on each workstation?

HeinoSkov - I did not try the utility, do you know if that transfers these settings?

Thanks to the both of you!!!!!!!!!!!!!
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 6

Expert Comment

by:raptorjb007
ID: 21815818
Unfortunately, I believe those quick sets to be profile based and are not transfered when a suer connects to the printer. These settings may be stored somewhere on the server and it may be possible to manually copy these to each user's machine, I would have to look into this but it would still be a manual process.
0
 

Author Comment

by:hckynt
ID: 21815951
Successs!  I just blew out the printer and they copied over - hooray!
One more question you might know.
I want to modify my script to only delete the printer if it exists.  i assume I need an If exists, then statement.  What would the correct syntax be?
0
 
LVL 6

Expert Comment

by:raptorjb007
ID: 21816358
I'm not savy enough with vbscript to answer that unfortunatly.

However, I don't think you can delete a printer if it doesn't exist! You should be safe to leave the "objNetwork.RemovePrinterConnection "\\PrintServer\printername"" line in the script and let it run every time.

Is there a specific reason you want to check to see if it exists before running the delete command, is it giving any errors or causing issues?
0
 

Author Closing Comment

by:hckynt
ID: 31468152
Thank you!
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question