Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 700
  • Last Modified:

Printer Migration - How do I migrate clients..?

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
pbsl-it
Asked:
pbsl-it
  • 3
  • 2
1 Solution
 
bschwarz6Commented:
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
 
bschwarz6Commented:
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
 
pbsl-itAuthor Commented:
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
 
bschwarz6Commented:
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
 
pbsl-itAuthor Commented:
Thanks Brad,

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

Thanks for your help.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now