Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group Policies User & Computer Sections, Printing

Status
Not open for further replies.

humbletech99

Programmer
Nov 22, 2005
155
GB
I tried adding a logon script to all machine on a particular floor of our building so I created an OU and added a test machine inside it. I created a GPO specifically for that OU and assigned the logon script I wanted under Logon Scripts in the USER section of the GPO.

Tested it, but it didn't work, nothing executed, so I used RSoP to check if it was properly applied. The only content of the OU was the machine account so I did RSoP on that object.

Of course, it showed the policy wasn't applied, only the Computer section was applied to it. So it seems that the computer section is applied to computer objects and the User section is applied to user objects. Ok, I should have known that but it's been many years since I did the theory.

The question now is:

Is there not a way to make sure that for a bunch of computers, any user who logs on to those computers will get some GPO settings if they log on to those computers but not if they log on to other computers?

As a workaround, I have created OUs for users and split them up this way to get the policies to them, but it seems to me that my first idea of making a policy apply to computers and any users that log on to those computers is a smarter way of doing it for what I want to do.

This is all so I can assign the default printer for whoever is on a machine to be the printer on the same floor as the machine (makes sense). Since it is the location of the machine which should determine the default printer used, not the user account I would prefer if I could do it my original way.

Anybody got any feedback or ideas on this?
 
On this test computer, who did you log in as? Was that user in the same test OU?

As far as your second question goes, you'll need to look into filters, and the loopback processing setting.

For the printing issue, you can always look into one of 1000 ways to do it. I'm pretty sure markdmac has done a script that does this sort of thing. If not, it would take him about 2 minutes to come up with one (yes, he's that good). Basically, assigning printers to computers, vice users.

I'm sure someone has done this indepth on these forums and can assist more than I. Hoping to see the end result and answer!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top