Solved

Printer Migration - How do I migrate clients..?

Posted on 2006-11-08
5
689 Views
Last Modified: 2008-01-16
Hi,
I have just migrated our print server from a W2K box to a 2003 Box.
All our client PC's (70+) have most printers mapped by a script.
However some are mapped manually (by IT Dept.).
I have a script that removes all remote printers that I can run during logon..so far fine.
Printers are mapped by department, using an enviromental variable.
If I change the logon script, most printers will be remapped fine to the new server.
However, these stray manually mapped ones are a problem.
All my users have little to no IT knowledge..! so I can't ask them to do the job themselves.
Is their a way to rename/remap the printers by script  (i.e. \\server1\printer1  to  \\server2\printer1)
Or, am I missing something obvious here...any "best practises".

I'm sure most companies have gone through this at some time or another..
Any help would be most welcome.

Thanks in advance.
Mike.
0
Comment
Question by:pbsl-it
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:bschwarz6
ID: 17900718
i found a nice KiXtart script that should take care of this for you ...

http://www.kixtart.org/ubbthreads/showflat.php?Number=146628

let me know if that helped.

Brad
0
 
LVL 4

Accepted Solution

by:
bschwarz6 earned 500 total points
ID: 17900768
you can also check out this post ... it was in the KiXtart Example Forum:

http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Board=UBB11&Number=118702



i searched google for:  site:www.kixtart.org kixtart printer migrate and got hundreds of results that are all applicable.

link: http://www.google.com/search?hl=en&lr=&safe=off&rls=GGLJ%2CGGLJ%3A2006-27%2CGGLJ%3Aen&q=+site%3Awww.kixtart.org+kixtart+printer+migrate

Brad
0
 

Author Comment

by:pbsl-it
ID: 17905512
Thanks Brad.

I used the following vb script to do what I assume is a similar task.
As it is a 1 time process, I didn't mide it being a bit long winded..!
However, the code is:

<---------- START CODE

'Remove all Network printers but not local printers
on error resume next
Set objNetwork = WScript.CreateObject("WScript.Network")

objNetwork.RemovePrinterConnection "\\poweredge1300\4200ACCPAY"
if err.number <> 0 then
      err.clear
else
      objNetwork.AddWindowsPrinterConnection "\\earth\4200ACCPAY"
      err.clear
end if



objNetwork.RemovePrinterConnection "\\poweredge1300\ACC2430TN"
if err.number <> 0 then
      err.clear
else
      objNetwork.AddWindowsPrinterConnection "\\earth\ACC2430TN"
      err.clear
end if

END CODE----------->

Saved into a vb script, it worked a treat.
Afraid I can't take credit though...one of the guys here wrote it for me...
0
 
LVL 4

Expert Comment

by:bschwarz6
ID: 17906336
yeah, thats definitely not the most efficient way of doing it, but it will sure get the task done ...

so does that mean that your issue is resolved?
0
 

Author Comment

by:pbsl-it
ID: 17913304
Thanks Brad,

As your way was far more efficient than mine...!...you get the points anyway...

Thanks for your help.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

770 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