Re: Redirect computers to a specific OU by IP Address
- From: is.that.spam.on.my.shoe@xxxxxxxxx
- Date: Tue, 26 Jun 2007 02:30:43 -0700
Ryan,
Much appreciate the response
To be more succinct:
I do agree with you on the site v's OU model. However because this is
an environment where its become more or less a free for all (prior to
me coming on board) where there has been appprox 15 seperate admins
(with sufficient damage priveleges) joining computer accounts to a
W2K3 domain without any thought as to where they should be placed
thereafter. All workstations will be static from that respect (any
laptops can be moved into a seperate OU).
I'm in the process of disabling computer accounts that have not been
used for approx 180-240 days (as there is over 1000 computer accounts
currently held in the Computer container).
Like I said , I want to try to put a policy in place that will
automatically place any new computers into the relevant Site/Sub-
Container (Remote Site -> Computers_OU) if the site admin does not
move it after creation.
My problem is that I can't curtail the additions of new/rebuilt PC's
in the remote locations (very loose corporate enforcement policy) so I
want to attempt to put a cleanup process in place automatically in HQ.
My biggest problem is that I just dont know where to start the script
at....
:)
Hoot
On Jun 26, 5:36 am, Ryan Hanisco
<RyanHani...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
SpamShoe... <G>
There are two answers to your question:
1. Remember that computer accounts' site membership is determined by subnet
at the time. Since Site is one of the three places where you can bind a
Group Policy, it is relatively easy to create policies by site without having
to create OUs.
2. This flexibility is a blessing and a curse. If all your workstations are
static, it isn't a big deal. So something like folder redirection becomes
easy as you always bind to the local site. With mobile computers, the site
affinity changes as they move, making it more complicated. Even with
statically assigned OUs, you'll run into this problem. So you could write a
script to add computers to an OU, but what if they move -- or worse, what if
they're not at their primary site when the script runs?
You'll need to look at what you're really trying to do befor eyou pick a
solution. Are you jsut trying to apply a policy by site or is there
something else you gain by OUs? If you need something flexible enough to
allow computers to move, do you need a replicated environment like DFS or SAN
GeoSynch?
There is a bit to consider here and it all must be carefully planned.
--
Ryan Hanisco
MCSE, MCTS: SQL 2005, Project+
Chicago, IL
Remember: Marking helpful answers helps everyone find the info they need
quickly.
"is.that.spam.on.my.s...@xxxxxxxxx" wrote:
Hi,
I've seen relevant posts in the past for various queries on the
"Default Computers" OU ,which work great. However I have come across a
legacy site with a very loose AD environment where hundreds of
computer accounts are unaccounted for (forgive the pun) scattered
within this AD environment.
The main problems are:
- No computer naming convention (various flavours of different Depts)
- No policies in place previously to move new accounts out of the
default container.
- Distributed remote sites.
I was wondering how to go about marrying a script to perform the
following:
- Parsing the machines by / for its IP address (approx 15 different
subnets assigned through DHCP)
- Once the machine subnet has been identified - then the PC's are
moved into their new site specific OU where the local GP can be
enforced.
This will then be added as a startup or shutdown script and linked to
a "Default Computers" OU ( will create a new OU for existing
container to support this task).
Am I being too vague or too ambitious ?
Could anyone point me to rough script since I'm a complete novice and
rely on seasoned veterans to post miracle scripts on a regular basis.
kind Regards
Hoot.- Hide quoted text -
- Show quoted text -
.
- Follow-Ups:
- Re: Redirect computers to a specific OU by IP Address
- From: Ryan Hanisco
- Re: Redirect computers to a specific OU by IP Address
- References:
- Redirect computers to a specific OU by IP Address
- From: is . that . spam . on . my . shoe
- RE: Redirect computers to a specific OU by IP Address
- From: Ryan Hanisco
- Redirect computers to a specific OU by IP Address
- Prev by Date: Re: If a computer is not used for more than 3 months auto disable
- Next by Date: Re: Decommissioning Win2000 DC
- Previous by thread: RE: Redirect computers to a specific OU by IP Address
- Next by thread: Re: Redirect computers to a specific OU by IP Address
- Index(es):
Relevant Pages
|