Solved

Installing network Printer on Client Machines

Posted on 2006-06-16
10
182 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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:emkayd
Comment Utility
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
 
LVL 33

Expert Comment

by:NJComputerNetworks
Comment Utility
"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
Comment Utility
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 33

Expert Comment

by:NJComputerNetworks
Comment Utility
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
Comment Utility
Ok Thanks, will go check it out.
0
 

Author Comment

by:emkayd
Comment Utility
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
Comment Utility
yes
0
 

Author Comment

by:emkayd
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now