0

Hi,

when we try to run the powershell script found at

https://solidcp.com/kb/configuration/active-directory-advanced-ou-segregation/

We recive the folowing error

dSHeuristics has already been set to 001
Checking Authenticated Users are part of “Pre-Windows 2000 Compatible Access” group
.. It has already been removed
Going through the Hosted Orgs
Cannot index into a null array.
At dSHeuristics.ps1:62 char:33
+ Foreach ($SubOU in $SubOUs[1..$($SubOUs.count)]){
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray

If we remowe the List Content & List Object from authenticade users then remote desktop users cannot login.

Any help on how make this work so that RDS users can only browse there OU would be apriciated.

Answered question