Solved

Installing network Printer on Client Machines

Posted on 2006-06-16
10
186 Views
Last Modified: 2010-04-18
I just joined this company 4 days ago and they just got a new printer, I have installed it on the print server which is a win 2003 std server. We have about 60 client computers (mostly XP). After checking the AD, there are no group policies even GPO editor is not installed. Going around installing in all 60 machines is not possible coz I hve to get their usrname, password and everything. Is there a way to script this and run at login? Should it be pushed to the computers or users? If so, do I have to create a share with the printer drivers? Can somebody please help me with this, just point me the right direction. Thanks very much.
0
Comment
Question by:emkayd
[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
  • 5
  • 5
10 Comments
 
LVL 33

Accepted Solution

by:
NJComputerNetworks earned 500 total points
ID: 16919851
You can create a logon script via a GPO

save this as a .vbs file and use it for the logon script.

Dim Con
Set Con = CreateObject("WScript.Network")
Con.AddWindowsPrinterConnection "\\printerserver\printershare"
Con.AddWindowsPrinterConnection "\\printerserver\printershare2"
' Set the default printer
Con.SetDefaultPrinter "\\printerserver\printershare2"

GPO editor:  http://www.microsoft.com/downloads/details.aspx?FamilyID=0a6d4c24-8cbd-4b35-9272-dd3cbfc81887&DisplayLang=en
0
 
LVL 33

Expert Comment

by:NJComputerNetworks
ID: 16919870
0
 

Author Comment

by:emkayd
ID: 16920020
Thanks very much NJ. So if I run a logon script will the user have to do anything to install the printer? The users in my company are not very tech savvy, I can't ask them (atleast not trust them with) do anything that has to do with installing it. Also the script has 2 print shares and I'm assuming this is for installing 2 printers and making the 2nd printer the default printer. SO if I don't have to make this printer default I just take out the Con.SetDefaultPrinter out right?

Yea I have already downloaded GPMC with SP1. Should I just include this vbs file in the GP I create under Windows Settings Startup Scripts or Should it be in the User configuration (Logon Scripts). I really want to place it in such a way that there will very minimum and very trivial setup instructions to the Users. Should I just run it once or it should be left there to run every time? I'm sorry if these questions are stupid, this is the first time I'm doing it and I don't want to screw up anything and jeopardize my new job.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 33

Expert Comment

by:NJComputerNetworks
ID: 16920142
"SO if I don't have to make this printer default I just take out the Con.SetDefaultPrinter out right?"  = YES

It needs to run under USER....

It can run every time...  This is good especially if you add a new computer and user to the network, they will automatically get the printer mapping...

The users won't have to do anything...  but as always, you should test this....
0
 

Author Comment

by:emkayd
ID: 16920608
Thanks very much. I'm going to close this question probably on Monday (or perhaps this evening). I will give you full points, but can you please stay with me for couple more hours. Thanks!!
0
 
LVL 33

Expert Comment

by:NJComputerNetworks
ID: 16920666
This article shows you have to configure the GPO, and where to place the VBS file:  http://www.windowsnetworking.com/articles_tutorials/Logon-Scripts-Pure-Mixed-Active-Directory-Environments.html

0
 

Author Comment

by:emkayd
ID: 16920853
Ok Thanks, will go check it out.
0
 

Author Comment

by:emkayd
ID: 16921722
Thanks very much, it worked like magic!!

Is it ok to go ahead accept your first answer? Let me know, I'll do it now. Thanks again.
0
 
LVL 33

Expert Comment

by:NJComputerNetworks
ID: 16921771
yes
0
 

Author Comment

by:emkayd
ID: 16923534
I was just going around checking some machines to see if the printers are being installed. When I log off the machine and log back in as the user there is a script error popping up in the startup saying drivers were not found. why is that? when I manually install one printer and log off, it automatically detects the other printer also. How should I avoid this ? where should i keep a copy of the printer's drivers?
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
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 …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

729 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