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.
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
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
Start –> Run –> LDP
Click Connection – Connect –
Click Ok if you running on the Server itself
View –> Tree
Choose –> Configuration Container
Now You won’t be Expand it . Unless you Bind it
Connection –> Bind
Double Click on Configuration –> To Expand
Scroll down to Microsoft Exchange Container –> Right Click –> Modify
Now we got to Edit OtherWellKnownObject attribute
Attribute – > OtherWellKnownObject
Click On Enter
Now Empty Value has been Added –
Now you could see Other Well known Objects have been Cleared
Now Setup.com /preparead is successful
Now Security Groups are back
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 –
Or Role May not Load Properly
To get the Roles Installed Back for the Users
Install-CannedRbacRoleAssignments –InvocationMode Install
Now Exchange Management Console and Exchange Management Shell is back online
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
Great One !!
Thanks for the post
Good one Sathesh.
Thanks Sunder !!
Thanks a lot for this article
salutations from over the ocean. interesting blog I shall return for more.
bonjour I’m Sarah I’m such a air head but I still really loved your blog
I came here hunting something else, but this enlightened me regardless. Inspiring stuff!
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.
Well said. Thanks so much!
But please fix
Attribute – > OtherWellKnownObject ERROR
Attribute – > OtherWellKnownObjects OK
Do you have Deleted Entries in OtherWellKnownObject attribute ?
This Blog was very help full. Thanks a lot Sathesh.
You are most welcome Pranav !!
Thanks for this article!
Please fix Install-CannedRbacRoleAssigments –InvocationMode Install
You are missing a letter in Assignments!
Updated , Thanks Martien
Thank you so much… saved my ass off today.. Lol
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
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]  [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]  [ERROR] The object exists.
[12/22/2014 18:01:11.0158]  [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”
using your steps above without causing email flow or service delivery issue ?
There’s definately a lot to find outt about tis subject. I
love all the points you made.
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!
This was a huge help
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.
Running Prepare AD. Fixes Active directory Permissions