You can do this with con2prt.exe. If you run "con2prt.exe /d >%TEMP%\printerlist.txt", it will disconnect all the network printers installed and save the names of the printerlist.txt file. then you parse thru the text file and replace the server name with your new server name and then run "con2prt.exe /c \\printserver\share" for each printer in the list using a FOR command. of course you will need to do your if statements to determine whether you want to change the server name. a co-worker here just finished a printer migration project where his task was to automate moving 1400+ clients from our old print server to the new.
-----Original Message----- From: Mike Staines [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 5:08 PM To: MSWinNT Discussions Subject: Printers I have an older print server left over from an old Network Admin. This print server has lived a full life, and its time that I shot it with a 12 gauge :-(. I have built a replacement, and am ready to implement it. The problem is that the old admin who left me this old print server was not great with naming conventions. I have created all new printers with new names, and new share names. I want to move all my users (about 200) off of one server onto the new one. Does anyone know a way to automate this? kind of like an IF/then statement. If \\server1\printerA then delete \\server1\printerA and use \\server2\printerb. I looked at the registry, but not all users are connected to the same printers, and to make a blanket .reg script would make every thing uniform. (not what I'm looking for.) Any Ideas. I'm sure That this E-mail isn't entirely clear, (I never am :-)) so please ask questions. Mike Staines ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
