Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Printer Migration - How do I migrate clients..?

Posted on 2006-11-08
5
Medium Priority
?
696 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This program is used to assist in finding and resolving common problems with wireless connections.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

650 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