Solved

Group Policies

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Communication with an active RFID 7 85
How computer Arp Table gets populated. 21 131
Linksys 4 port wireless router 62 66
AD architecture diagram 5 61
Resolve DNS query failed errors for Exchange
An article on effective troubleshooting
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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