?
Solved

Printer Migration - How do I migrate clients..?

Posted on 2006-11-08
5
Medium Priority
?
695 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
[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
  • 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 2000 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This program is used to assist in finding and resolving common problems with wireless connections.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

762 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