Solved

adding network printers with a logon script

Posted on 2008-09-30
5
212 Views
Last Modified: 2012-05-05
If I use a logon script on a OU where the user is in the network printer is added ok. But when I try to do the same on the OU where the computer is in , it does not work.
Why not ??
0
Comment
Question by:dekempeneer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Sinder255248
ID: 22605869
How are you running the script, in the computer portion of the GPO or the User?
0
 

Author Comment

by:dekempeneer
ID: 22605957
In the user configuration as in the computerportion there is no logon, only startup or should I use the startup script?
0
 
LVL 8

Expert Comment

by:Sinder255248
ID: 22614888
If you've set it in the User portion, and you assign it to a computer OU it's not going to run.  If you want it to run on this machine you can use the loopback policy in Merge mode, and then it will merge the User portion of this policy with anything already assigned against the users OU.
0
 

Author Comment

by:dekempeneer
ID: 22622224
I did not quite understand that.
I did however test it by putting the script in the startupscript of the computer configuration, but then the printer is not being added.
0
 
LVL 8

Accepted Solution

by:
Sinder255248 earned 250 total points
ID: 22631567
Create the policy as you would normally with the logon script in the User Configuration portion of the GPO.  Make this change:

Computer Config\Administrative Templates\System\Group Policy

Set "User Group Policy Loopback Processing Mode" to Enable in MERGE Mode

Then assign this policy to the Computer OU and let me know if it works.

0

Featured Post

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!

Question has a verified solution.

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

This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Here's a look at newsworthy articles and community happenings during the last month.
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 …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

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