Locating OUs that isn't protected from accidental deletion in AD

Answered Locating OUs that isn't protected from accidental deletion in AD

  • Friday, January 04, 2013 10:03 AM
     
     
    When 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
     
     Answered

    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

  • Friday, January 04, 2013 12:57 PM
     
     Answered

    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