Posts Tagged ‘ADSI’

Hi Folks,

sometimes you forget to delete the Exchange 2010 CAS Array Object with “Remove-ClientAccessArray” within the Exchange 2010 Shell while migrating to Exchange 2013.

After Deinstallation of Exchange 2010 the “Remove-ClientAccessArray” isn’t available in the Exchange 2013 Shell.

To remove the CAS Array Object open ADSI-Edit and go to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Array
DELETE CAS Array Entry and wait for AD Replication

cas-array

Cheers, Chris

Today I had to remove an outdated alterante FileShareWitness entry from a customers’ DAG.

Within the Exchange Management Console it’s not possible to remove but only to replace the alternate FSW – the alternate FSW must not be empty.

The solution for this problem is using ADSIEdit to remove the alternate FSW entry:

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Database Availability Groups
CN=YOUR-DAG-NAME -> Right click properties

Klick “Modify” and than hit “Delete” for the follwoing attributes:

msExchAlternateFileShareWitness
msExchAlternateFileShareWitnessDirectory

Cheers,

Chris

Hi,

to locate the server responsible for a FSMO role open ADSI-Edit. The responsible attribute is in every case:

fSMORoleOwner

PDC-Emulator role
Naming context: DefaultNamingContext
Path: DC=DOMAIN,DC=LOCAL
(Right-click – properties -> fSMORoleOwner)

RID Master role
Naming context: DefaultNamingContext
DC=DOMAIN,DC=LOCAL,CN=System,CN=Rid Manager$
(Right-click – properties)

Schema Master role
Naming context: Schema
DC=DOMAIN,DC=LOCAL
(Right-click – properties -> fSMORoleOwner)

Infrastructure Master role
Naming context: DefaultNamingContext
DC=DOMAIN,DC=LOCAL,CN=Infrastructure
(Right-click – properties -> fSMORoleOwner)

Domain Naming Master role
Naming context: Configuration
CN=Configuration,DC=DOMAIN,DC=LOCAL,CN=Partitions
(Right-click – properties -> fSMORoleOwner)

Cheers,

Chris

The need to remove a (legacy) Exchange server using ADSIEdit could have several reasons. The method using ADSIEdit to remove an Exchange server should only be used carefully.

The most common reasons are listed below:

  • The deinstallation didn’t finish properly and left attributes or entries in Active Directory
  • The Exchange server is permanent offline Exchange and should be removed
  • An Exchange installation didn’t finish properly and the attributes and entries shoould be removed

To remove the server open ADSI-Edit and go to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups

for Exchange 2003
CN=First Administrative Group

for Exchange 2007
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)

for Exchange 2010
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)

CN=Servers

Within the container CN=Servers you can see you installed legacy Exchange servers. By right-click and hit delete you can remove the objects. You can also remove single objects of a server like public folder databases.

Refer to this article to see how to remove public folders in the different versions of Exchange.

Cheers,

Chris

Recently it was necessary to change  the “From” display name of the sending notifications. This notifications appear e.g. when your mailbox size hits the quota or you get an internal NDR. It’s not possible to edit the sender email address in EMC or EMS but you can change the Display Name of this notification sender by using ADSIEdit.

  • Open ADSIEDIT – Configuration
  • Open the following path:
    Services -> Microsoft Exchange -> “Your Exchange Organization” -> Transport Settings
  • Right click properties on CN=MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e

In the properties navigate to “displayName” and edit the default value named “Microsoft Outlook” to the display name you want to have.

Click OK and close ADSI Edit.

That’s it.

Regards,

Chris

In some cases you are forced to hard-remove public folders from Exchange. You can use ADSI Edit to delete these folders.

Exchange 2010

Open ADSI-Edit and got to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Databases
CN=PUBLIC_FOLDER_DATABASE

Now you can delete the PF-Database you want to get rid off.

Exchange 2007

Open ADSI-Edit and got to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Servers
CN=SERVERNAME
CN=InformationStore
CN=STORAGE_GROUP
CN=PUBLIC_FOLDER_DATABASE

Now you can delete the PF-Database you want to get rid off.

Exchange 2003

Open ADSI-Edit and got to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=First administrative Group
CN=Servers
CN=SERVERNAME
CN=InformationStore
CN=STORAGE_GROUP
CN=PUBLIC_FOLDER_DATABASE

Now you can delete the PF-Database you want to get rid off.

Cheers,

Chris