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

x
?
Solved

Installing network Printer on Client Machines

Posted on 2006-06-16
10
Medium Priority
?
191 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 2000 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Screencast - Getting to Know the Pipeline
Suggested Courses

610 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