Solved

Is there a way to change users access to a networked printer via GPO's?

Posted on 2008-10-01
6
167 Views
Last Modified: 2013-12-15
I was getting ready to write an email with instructions for my clientele to change their access to our networked printers. We recently changed DC's and the new DC has the printers install on it, but the users are still pointed at the old DC.
0
Comment
Question by:numb3rs1x
  • 2
  • 2
  • 2
6 Comments
 
LVL 1

Expert Comment

by:MS_help_guy
ID: 22616645
Publish new printers, then add them to GPO.
0
 
LVL 1

Expert Comment

by:MS_help_guy
ID: 22616666
0
 
LVL 4

Accepted Solution

by:
lscapa earned 250 total points
ID: 22616672
Not unless your running Vista clients other than that a logon script will work great.
Something like this:


ON ERROR RESUME NEXT
Dim WSHShell, WSHNetwork

Set WSHShell = CreateObject("WScript.Shell")
Set WSHNetwork = CreateObject("WScript.Network")
WSHNetwork.RemovePrinterConnection "\\OLDDC\prnMainCopy" ,True,True
wscript.sleep 800
WSHNetwork.AddWindowsPrinterConnection "\\NEWDC\prnMainCopy"
set WSHNetwork = Nothing
wscript.quit
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:numb3rs1x
ID: 22638372
Iscapa, that worked! Would I just have to put that script under login scripts for the GPO of the users in question?

0
 
LVL 4

Expert Comment

by:lscapa
ID: 22644316
Yes. Just put in the upper most GPO under Logon script's for the users that need it.
0
 

Author Closing Comment

by:numb3rs1x
ID: 31502054
That was awesome. Thanks!
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Synchronize a new Active Directory domain with an existing Office 365 tenant
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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