Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2008-10-01
6
Medium Priority
?
187 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 1000 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 

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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
You have missed a phone call. The number looks like it belongs to the bunch of numbers which your company uses. How to find out who has just called you?
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 to another domain controller. Log onto the new domain controller with a user account t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

608 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