Locating OUs that isn't protected from accidental deletion in AD
-
Friday, January 04, 2013 10:03 AMWhen I run the BPA on my DC it warns me that one or more OUs is not protected against accidental deletion, but it doesn't tell me which OU this is. Is there an easy way to find theese OUs?
All Replies
-
Friday, January 04, 2013 10:08 AM
Hi,
See the following documentation on this issue:
http://technet.microsoft.com/en-us/library/dd723677%28WS.10%29.aspx
Run the scripts to check the OU's and run the other scripts to protect the OU's.
Kind Regards,
Dion
- Edited by Diondk Friday, January 04, 2013 10:10 AM
- Proposed As Answer by Diondk Friday, January 04, 2013 1:02 PM
- Marked As Answer by Yan Li_Microsoft Contingent Staff, Moderator Monday, January 07, 2013 8:22 AM
-
Friday, January 04, 2013 12:57 PM
Open Active Directory Module for powershell , run as a administrator and run following command :
it will give u list of un protected OUs against accidental deletion.
Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false}
Regards,
Srinivasu.Muchcherla
Regards, Srinivasu.Muchcherla
- Marked As Answer by Yan Li_Microsoft Contingent Staff, Moderator Monday, January 07, 2013 8:22 AM

