Solved

Group Policies

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
An article on effective troubleshooting
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

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