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
Solved

Installing network Printer on Client Machines

Posted on 2006-06-16
10
184 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 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
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.   …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 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