Solved

Group Policies

Posted on 2004-04-21
2
238 Views
Last Modified: 2010-03-18
Hey guys:

Have another one;  I need to push all 5 of my network printers to all user on the network (tired of installing them manually).  I know there is a way to do this with scripts and/or group policies.  How do I go about this please?  Any Ideas.

thanks to diggisaur for helping out last time!!
0
Comment
Question by:unvega
2 Comments
 
LVL 3

Accepted Solution

by:
following earned 50 total points
ID: 10881793
Here's 2 ways to do it:

 - assign a logon script in the properties of each individual user

 - put the users in an OU and configure a logon script in a GPO for that OU

I like to use vbscript for logon scripts.  Here's a sample script for installing a network printer using vbscript:

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\PrintServer\Printer1"
WshNetwork.AddWindowsPrinterConnection "\\PrintServer\Printer2"
WshNetwork.SetDefaultPrinter "\\PrintServer\Printer1"

You can get fancy with vbscript and use the Select...Case statement or If...Then statements to set the default printer based on the name of the computer, etc.

Hope this helps,
-jdm

0
 
LVL 31

Expert Comment

by:Gareth Gudger
ID: 10881870
Yea logon scripts are the only way to really do it.

I wish Microsoft would allow you to assign printers like you can software via GPO. :)
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

12 Experts available now in Live!

Get 1:1 Help Now