Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

adding network printers with a logon script

Posted on 2008-09-30
5
Medium Priority
?
217 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 750 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

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..
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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.

604 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