Solved

Group Policies

Posted on 2004-04-21
2
241 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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