Solved

Migration of Printers

Posted on 2008-06-17
7
358 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
  • 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
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now