• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

adding network printers with a logon script

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
dekempeneer
Asked:
dekempeneer
  • 3
  • 2
1 Solution
 
Sinder255248Commented:
How are you running the script, in the computer portion of the GPO or the User?
0
 
dekempeneerAuthor Commented:
In the user configuration as in the computerportion there is no logon, only startup or should I use the startup script?
0
 
Sinder255248Commented:
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
 
dekempeneerAuthor Commented:
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
 
Sinder255248Commented:
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
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

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now