Can I use a registry entry to change what OU a win will reside in?

I'm looking for a way to move win7 systems from OU to OU without doing it in AD manually.

Is there a way to preform this using a registry setting on the client system itself?
rdefinoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
Is there a way to preform this using a registry setting on the client system itself?

no
the OU location of a system is stored in AD, not the local system
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steve WhitcherSystems AdministratorCommented:
As Seth said, there's no setting you could change on the client that would cause it to move to a different OU in active directory.  If you could tell us a little bit more about what you're trying to accomplish, we might be able to suggest an alternative solution.
0
rdefinoAuthor Commented:
Thanks for the replies. I have my systems automatically getting moved into a particular OU when they get imaged. But we are applying some firewall settings on certain systems using the registry and need those certain systems to be moved to the a different ou when the firewall settings are applied.

Did I make sense? :)
0
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

Seth SimmonsSr. Systems AdministratorCommented:
you'll have to move the object manually or create the computer account in advance in the correct OU then join to the domain

either way you'll have to touch AD
0
Gabriel CliftonNet AdminCommented:
If your computer naming scheme stays fairly constant, you could script your computer moves. Check out this one I had help creating.
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28443633.html
0
Steve WhitcherSystems AdministratorCommented:
I would suggest you might look at applying the firewall settings via group policy, and link the group policy to the OU you want these computers to be in.  You still have to move the computers into the OU, but then that one step also gets your firewall settings applied, so it's all one step.

You could also script the OU change using powershell, if that would work better for you, but that's still going to have to be triggered somehow.  It seems to me like using the change of OU / GPO to apply your firewall changes would be the simplest route.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

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.