Sunday , November 19 2017

How to Recreate Corrupted Microsoft Security Groups in Exchange 2010

Some Times Reinstalling Exchange 2010 Corrupts the Security Groups or It will Duplicate the Security Groups.

Creating Console Permission issues or Role may not load properly or User Might get Access Denied Error.

We will learn how to cleanup and recreate Microsoft Exchange Security Groups as a last option.

We will delete all the Security Groups in the Microsoft Exchange Security Groups Container.

image

image

Now Running Setup.com /preparead won’t allow you to recreate it as OtherWellKnownObjects attribute on the Microsoft Exchange Container  will be pointing to Deleted Objects , It has to be Removed

image

It cannot be Removed via Adsiedit

And we got to Use LDP to Clear the attribute

Those who are new to  LDP, Am not able to edit the OtherWellKnownObjects in Adsiedit as Shown Below . So am Using LDP

image

Start –> Run –> LDP

Click Connection – Connect –

image

Click Ok if you running on the Server itself

image

View –> Tree

image

Choose –> Configuration Container

image

Now You won’t be Expand it . Unless you Bind it

Connection –> Bind

image

Double Click on Configuration –> To Expand

Scroll down to Microsoft Exchange Container –> Right Click –> Modify

image

Now we got to Edit OtherWellKnownObject attribute

Attribute – > OtherWellKnownObject

Values –>

Choose Replace

Click On Enter

image

Now Empty Value has been Added –

Click Run

image

Now you could see Other Well known Objects have been Cleared

image

Now Setup.com /preparead is successful

image

Now Security Groups are back

image

Now Console and Exchange Management Shell may not open

Or It may show Partial information.

Because the Role Base Access Control Information is lost as Security Groups have been deleted and Recreated

Showing Partial Information –

image

Or Role May not Load Properly

image

To get the Roles Installed Back for the Users

Add-PSSnapin *Setup 

image

Install-CannedRbacRoleAssignments –InvocationMode Install 

image

Now Exchange Management Console and Exchange Management Shell is back online

image

Now Still you might not be able to Create or Remove are Edit anything in the EMC or EMS

you will get an Error

Active Directory operation failed on DC.CareExchange.in . This error is not retriable. Additional information: Access is denied. Active directory response: 00000005: SecErr: DSID-03151E04, problem 4003 (INSUFF_ACCESS_RIGHTS)

Because the group memberships might have been removed

Add the Exchange Server Computer Account in Exchange Servers Group & Exchange Trusted Subsystem Group

Now you got to reboot the Exchange Server after adding it , To update Group memberships

image image

 

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Exchange Server MVP , Publisher of CareExchange.in Supporting/Deploying/Designing Microsoft Exchange for some years. Extensive experience on Microsoft Technologies.

Check Also

Automate Run Summarization via PowerShell in SCCM

Without Delegating System Center Configuration Manager Deployment Rights. We can Update the Summarization Automatically via ...

28 comments

  1. Great One !!

  2. Thanks for the post

  3. Thanks a lot for this article

  4. salutations from over the ocean. interesting blog I shall return for more.

  5. bonjour I’m Sarah I’m such a air head but I still really loved your blog

  6. I came here hunting something else, but this enlightened me regardless. Inspiring stuff!

  7. I just want to mention I am beginner to weblog and definitely liked your web-site. Very likely I’m want to bookmark your blog . You surely have really good well written articles. Thanks a bunch for sharing your blog.

  8. Well said. Thanks so much!

  9. Thank you,

    But please fix

    Attribute – > OtherWellKnownObject ERROR
    Attribute – > OtherWellKnownObjects OK

  10. Pranav Kumar Sharma

    This Blog was very help full. Thanks a lot Sathesh.

  11. Thanks for this article!
    Please fix Install-CannedRbacRoleAssigments –InvocationMode Install
    You are missing a letter in Assignments!

  12. Thank you so much… saved my ass off today.. Lol

  13. thank you so much i have the same problem the problem mass is
    Organization Preparation ……………………. FAILED
    The following error was generated when “$error.Clear(); initialize-ExchangeUniversalGroups -DomainController $RoleDomainController” was run: “The well-known object entry B:32:B3DDC6BE2A3BE84B97EB2DCE9477E389:CN=Help DeskADE
    L:4cf9ed94-9d99-4d1e-8e7a-95ed2c86fd5d,CN=Deleted Objects,DC=DeltaAromatic,DC=com on the otherWellKnownObjects attribute in the container object CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DeltaAromatic,DC=com points to
    an invalid DN or a deleted object. Remove the entry, and then rerun the task.”.

    so in active directory in Microsoft exchange security group i con see the HelpDesk Group

    note : i install the exchange 2010 before and uninstall but i cannot install in the same active directory agin

    • thank you so much but i have another problem in the last time i have a exchange 2010 but he has a corropted so i am delete it and run the installation agian after the instaaltion is finished all the users they moved to exchange 2010 still in exchange 2010 but actually the mailbox is in exchange 2003 i tray to move it again i can not so how to i clean active from all exchange 2010 object

    • Thank you for your inputs Sherif

  14. Server System Engineer

    Hi Satheshwaran,

    I’m stuck in the similar situation when performing Exchange Server 2010 SP3 upgrade as follows:

    Organization Preparation FAILED The following error was generated when “$error.Clear();
    initialize-ExchangeUniversalGroups -DomainController $RoleDomainController -ActiveDirectorySplitPermissions $RoleActiveDirectorySplitPermissions” was run: “Active Directory operation failed on PRODDC01.MyDomain.com. The object ‘OU=Microsoft Exchange Security Groups,DC=MyDomain,DC=com’ already exists.”.

    [12/22/2014 18:01:11.0158] [1] [ERROR] Active Directory operation failed on PRODDC01.MyDomain.com. The object ‘OU=Microsoft Exchange Security Groups,DC=MyDomain,DC=com’ already exists.
    [12/22/2014 18:01:11.0158] [1] [ERROR] The object exists.
    [12/22/2014 18:01:11.0158] [1] [ERROR-REFERENCE] Id=443949901 Component=

    So in this case can I safely recreate all of those missing Security Groups such as:

    “Exchange Organization Administrators”
    “Microsoft Exchange Security Groups”
    “Organization Management”

    using your steps above without causing email flow or service delivery issue ?

  15. There’s definately a lot to find outt about tis subject. I
    love all the points you made.

  16. I tend not to have any idea the way i wound up here,
    however i thought this post was good. I tend
    not to know what you are about but certainly you’re attending
    a famous blogger if you aren’t already 😉 Cheers!

  17. This was a huge help

  18. Hi – what about recreating default domain permissions? someone reset domain object to Default Permissions and I lost all Exchange Groups Assignment. Is this process god to recover this? My exchange works but I have a lot of issues with permissions with OWA or ActiveSync access and move mailbox.

  19. Burgo Maria/Burgo Sabrina dentro de São Paulo. https://goo.gl/tP1hkw

Leave a Reply

Your email address will not be published.