Order of Scripts running in OU's

  • Thread starter Thread starter Microsoft NNTP
  • Start date Start date
M

Microsoft NNTP

Does anyone know the order that Scripts run withing OU's?
Say I have the following OU's:

OU1
|
----Logon Script 1
|
---OU2
|
----Logon Script 2

Both of these Logon Scripts should run if a user belongs to OU2.

Is there a way to make one script run before the other, or are they all run
asynchronously?

Thanks!
 
I don't know for sure, and I'd have to test it, but I would think that OU1
in processed *before* OU2, as with policy closest settings wins (as it's set
last).

--

Paul Williams

http://www.msresource.net
http://forums.msresource.net
______________________________________
Does anyone know the order that Scripts run withing OU's?
Say I have the following OU's:

OU1
|
----Logon Script 1
|
---OU2
|
----Logon Script 2

Both of these Logon Scripts should run if a user belongs to OU2.

Is there a way to make one script run before the other, or are they all run
asynchronously?

Thanks!
 
I'd think that as well, but the drive that the second script is supposed to
map "occasionally" gets mapped, which makes me think it's a race condition
between the two scripts.
 
Uh, I'm not sure if that really helps. I know that OU's lower in a tree
will have their settings take precedence over higher ones, but I'm still
confused as to how that works with scripts. Does the Script in the lower OU
run first, and then the one in the higher OU? Or does the script in the
lower OU override the the one higher up in the tree, causing that one not to
run? Because it's not quite the same as settings, where one overrides the
other... or is that what happens?
 
Well obviously the quick way would be to test it and see how it works.

However I would expect they would be applied as the GPOs were applied.

joe
 
Back
Top