Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Restore default security on OU and objects in OU

$
0
0

Welcome,

On windows 2003 was working

dsacls "OU=..." /S /T

Now i got error:

The parameter is incorrect.

The command failed to complete successfully

So How to restore security settings on OU and all objects inside ?

for /f "tokens=*" %i in ('"dsquery computer OU.. -limit 0"') do dsacls %i /resetDefaultDACL  /resetDefaultSACL /takeOwnership

Is it ok ? but how for all objects not related to type cumputer,user,group etc


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>