Solved

Printer Migration - How do I migrate clients..?

Posted on 2006-11-08
5
688 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Resource cost of NAT vs routing 3 65
Best way to share an MFP laser printer? 5 60
cradle point vpn to sonicwall 5 48
Looking for open port with Telnet 5 30
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

920 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

14 Experts available now in Live!

Get 1:1 Help Now