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

x
?
Solved

Need help mapping XP clients to new printer

Posted on 2009-12-29
7
Medium Priority
?
180 Views
Last Modified: 2012-05-08
What is the best way to move shared network printers to a new server? I know how to setup the shared printer on the new server but how do I remap the correct printer for all of the clients?


Thanks,
Bobby
0
Comment
Question by:ob1_
  • 3
  • 2
  • 2
7 Comments
 
LVL 31

Accepted Solution

by:
Justin Owens earned 1000 total points
ID: 26138191
0
 
LVL 6

Assisted Solution

by:Vaidas911
Vaidas911 earned 1000 total points
ID: 26138192
You can use GPO User logon scripts to connect correct printer using batch scripts:
*.bat
#connect
rundll32 printui.dll,PrintUIEntry /in /q /n\\ds-04\TOSHIBAe
 
#default
rundll32 printui.dll,PrintUIEntry /y /n\\servername\printername
 
#delete
rundll32 printui.dll,PrintUIEntry /dn /q /n\\servename\printername
0
 
LVL 6

Author Comment

by:ob1_
ID: 26138327
i have never used vb always just windows batch. is there anything wrong with using the suggested winbatch commands over the linked vb scripts?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

Expert Comment

by:Justin Owens
ID: 26138363
No, Vaidas911's method is perfectly valid.

Justin
0
 
LVL 6

Author Closing Comment

by:ob1_
ID: 31670780
thanks!
0
 
LVL 6

Expert Comment

by:Vaidas911
ID: 26138374
What i wrote was batch script (.bat), not vbs. Just modify commands according to your needs.
0
 
LVL 6

Author Comment

by:ob1_
ID: 26139435
Is there a way to check with windows batch if the printer already exists before mapping it?
 something like IF NOT EXIST printername rundll32 printui.dll,PrintUIEntry /in /q /n\\servername\printername

?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

571 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