?
Solved

Installing network Printer on Client Machines

Posted on 2006-06-16
10
Medium Priority
?
194 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
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

578 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