28.8 C
Dubai
Saturday, April 20, 2024

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

 

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

27 COMMENTS

  1. 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.

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

  3. 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

  4. 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 ?

  5. 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!

  6. 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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?