Solved

printers and GPO

Posted on 2006-07-19
7
272 Views
Last Modified: 2010-08-05
Hi all,

i have  windows 2003 sp1 domain controller. is it possible to configure Group policy to intall network printers automatically when user logs in ?

Thanks
0
Comment
Question by:aucklandnz
  • 2
  • 2
  • 2
7 Comments
 
LVL 48

Assisted Solution

by:Jay_Jay70
Jay_Jay70 earned 250 total points
ID: 17143499
not without scripting, if you get your hands on R2 there is a whole laod of printer controls
0
 
LVL 3

Author Comment

by:aucklandnz
ID: 17143507
hi,

sorry but what is R2 ?

Cheers
0
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 17143524
release 2 of windows, its an upgrade, a feature pack...

http://www.microsoft.com/windowsserver2003/r2/whatsnewinr2.mspx
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 4

Expert Comment

by:shard26
ID: 17143559
I combine Scripts like jay said and GPO's. Make a GPO that calls this script. Call the file whateveryouwant.vbs


Set WshNetwork = CreateObject("WScript.Network")

WshNetwork.AddWindowsPrinterConnection "\\server01\hpLaserJ-1160"
WshNetwork.AddWindowsPrinterConnection "\\station01\hpLaserJ"
'Sets the default printer for you. If you dont want it then delete the below line
WshNetwork.SetDefaultPrinter "\\station01\hpLaserJ"

Sometimes I have had issues with the above script in windows 2000 pro. If you do let me know I have alternatives that will work.

0
 
LVL 3

Author Comment

by:aucklandnz
ID: 17143659
how do i make GPO to call this script?

thx
0
 
LVL 4

Accepted Solution

by:
shard26 earned 250 total points
ID: 17143789
Create an OU then put the users in it that you want to run the logon script. Then goto the ou an right click on it and select properties. Next under the group policy tab add a new GPO. Call it what you like but use a name that makes since. Then edit the gpo and go under user config\windows settings\script(logon/logoff) add the script under logon.

A word of advice when doing so. Put the logon script in the \\%domainname%\netlogon folder type it in the OU the same.  It will try to put it in some crazy folder that never works.

example

your domain name is mazda.local
it would read like so

\\mazda.local\netlogon\printers.vbs

Also type \\mazda.local\netlogon\ in start\run from a workstation and make sure you see the printers.vbs file there. If you don't please post back.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

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…
Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

15 Experts available now in Live!

Get 1:1 Help Now