Remove Exchange Attributes vs. Delete Mailbox


Over time, several people have inquired about the differences between the "Delete Mailbox" and "Remove Exchange Attributes" functionality in Exchange 2000/2003. Note: The Remove Exchange Attributes option only appears in the Exchange Tasks wizard within the Active Directory Users and Computers snap-in when the Advanced Features option is selected within the MMC console.

Seeing that I did not find much written about it, here is what I have learned.

This functionality was originally added in Exchange 2000 SP2. It was added to allow administrators the ability to forcibly remove Exchange attributes from a recipient object. This is useful in the following scenarios:

  • You use the ADC service and notice that some of your Exchange attributes are being incorrectly matched to the an Active Directory user object.
  • The mailbox for an Active Directory user points to an Exchange 200x server/database that no longer exists.
  • As part of the process to reconnect mailboxes after a disaster recovery operation.

Fundamentally, this is how it works:

  • If the object is a mailbox enabled user with a valid mailbox, then there is little difference between running these two options to delete the mailbox. Obviously, the "Delete Mailbox" option will be available only if there IS a mailbox (so a distribution list would have a "Remove email address" option instead).
  • The "Remove Exchange Attributes" option is available for ANY type of recipient object, mail enabled or not. This option is extremely useful when there is a need to "clear" the attributes in case that some of them were damaged or not valid for some reason. Let's say there is a mailbox enabled user that had some of his attributes changed by some process, and because of that, you cannot use the "Delete Mailbox" option. You can always run "Remove Exchange Attributes" to "clear out" the values so you can start fresh with mailbox enabling that user again.

Remove Exchange Attributes removes the following attributes as long as they actually exist as available attributes of that schema object:

  • adminDisplayName
  • altRecipient
  • authOrig
  • autoReplyMessage (ILS Settings)
  • deletedItemFlags
  • delivContLength
  • deliverAndRedirect
  • displayNamePrintable
  • dLMemDefault
  • dLMemRejectPerms
  • dLMemSubmitPerms
  • extensionAttribute1
  • extensionAttribute10
  • extensionAttribute11
  • extensionAttribute12
  • extensionAttribute13
  • extensionAttribute14
  • extensionAttribute15
  • extensionAttribute2
  • extensionAttribute3
  • extensionAttribute4
  • extensionAttribute5
  • extensionAttribute6
  • extensionAttribute7
  • extensionAttribute8
  • extensionAttribute9
  • folderPathname (Outlook Web Access Server)
  • garbageCollPeriod
  • homeMDB (Exchange Mailbox Store)
  • homeMTA
  • internetEncoding
  • legacyExchangeDN
  • mail (E-Mail Address)
  • mailNickname (Alias)
  • mAPIRecipient
  • mDBOverHardQuotaLimit
  • mDBOverQuotaLimit
  • mDBStorageQuota
  • mDBUseDefaults
  • msExchADCGlobalNames
  • msExchControllingZone
  • msExchExpansionServerName
  • msExchFBURL
  • msExchHideFromAddressLists
  • msExchHomeServerName (Exchange Home Server)
  • msExchMailboxGuid
  • msExchMailboxSecurityDescriptor
  • msExchPoliciesExcluded
  • msExchPoliciesIncluded
  • msExchRecipLimit
  • msExchResourceGUID
  • protocolSettings
  • proxyAddresses (Proxy Addresses)
  • publicDelegates
  • securityProtocol
  • showInAddressBook
  • submissionContLength
  • targetAddress
  • textEncodedORAddress
  • unauthOrig

In addition to removing the attributes above, the Delete Mailbox option also removes the mailbox information from the dsaccess cache. Note that this actually leaves the mailbox in place with the expectation that the mailbox cleanup task will take care of it at the appropriate time. So the mailbox is actually NOT deleted (purged) from the Information Store as part of this process. Although it will be purged by the mailbox cleanup task later, or as specified by the "Deletion settings" for mailboxes on the database's Limits tab in ESM.

So long story short, these two tasks can be viewed as redundant at times, as long as everything is OK and goes as expected. However, in cases where you are troubleshooting a problem and need to "clear" the attributes of objects (that might not have a full set of attributes so the "Delete mailbox" or "Delete email address" tasks might not be available) the "Remove Exchange Attributes" task is your friend.

- Jason Dool

Comments (9)
  1. good penny stock says:

    piskasosiska 538234 http://onlineinvestmentworld.com/penny-stocks/good-penny-stock.html good penny stock <a href="http://onlineinvestmentworld.com/penny-stocks/good-penny-stock.html">good penny stock</a>  [URL=http://onlineinvestmentworld.com/penny-stocks/good-penny-stock.html]good penny stock[/URL] onlineinvestmentworld.com/penny-stocks/good-penny-stock.html [link=http://onlineinvestmentworld.com/penny-stocks/good-penny-stock.html]good penny stock[/link] * http://onlineinvestmentworld.com/penny-stocks/penny-stock-tip.html penny stock tip <a href="http://onlineinvestmentworld.com/penny-stocks/penny-stock-tip.html">penny stock tip</a>  [URL=http://onlineinvestmentworld.com/penny-stocks/penny-stock-tip.html]penny stock tip[/URL] onlineinvestmentworld.com/penny-stocks/penny-stock-tip.html [link=http://onlineinvestmentworld.com/penny-stocks/penny-stock-tip.html]penny stock tip[/link] *

  2. private hyip says:

    piskasosiska 538234 http://onlineinvestmentworld.com/hyip/private-hyip.html private hyip <a href="http://onlineinvestmentworld.com/hyip/private-hyip.html">private hyip</a>  [URL=http://onlineinvestmentworld.com/hyip/private-hyip.html]private hyip[/URL] onlineinvestmentworld.com/hyip/private-hyip.html [link=http://onlineinvestmentworld.com/hyip/private-hyip.html]private hyip[/link] * http://onlineinvestmentworld.com/hyip/hyip-ranking.html hyip ranking <a href="http://onlineinvestmentworld.com/hyip/hyip-ranking.html">hyip ranking</a>  [URL=http://onlineinvestmentworld.com/hyip/hyip-ranking.html]hyip ranking[/URL] onlineinvestmentworld.com/hyip/hyip-ranking.html [link=http://onlineinvestmentworld.com/hyip/hyip-ranking.html]hyip ranking[/link] *

  3. ET says:

    We have some administrators, that copy a mailbox enabled user. Because the administrators may not create a mailbox, the new user has no mailbox, but because of the copy process has some exchange attributes set. So I, as Exchange Administrator, cannot create a mailbox for the user nor delete it. So I often need the remove exchange attribute functionality.

  4. miriam hopkins says:

    piskasosiska 538234 http://miriam.weeklysaleads.com/miriam-hopkins.html miriam hopkins <a href="http://miriam.weeklysaleads.com/miriam-hopkins.html">miriam hopkins</a>  [URL=http://miriam.weeklysaleads.com/miriam-hopkins.html]miriam hopkins[/URL] miriam.weeklysaleads.com/miriam-hopkins.html [link=http://miriam.weeklysaleads.com/miriam-hopkins.html]miriam hopkins[/link] * http://miriam.weeklysaleads.com/busty-miriam.html busty miriam <a href="http://miriam.weeklysaleads.com/busty-miriam.html">busty miriam</a>  [URL=http://miriam.weeklysaleads.com/busty-miriam.html]busty miriam[/URL] miriam.weeklysaleads.com/busty-miriam.html [link=http://miriam.weeklysaleads.com/busty-miriam.html]busty miriam[/link] *

  5. craigslist minneapolis mn says:

    piskasosiska 538234 http://minneapolis-mn.cellulite-removal.net/craigslist-minneapolis-mn.html craigslist minneapolis mn <a href="http://minneapolis-mn.cellulite-removal.net/craigslist-minneapolis-mn.html">craigslist minneapolis mn</a>  [URL=http://minneapolis-mn.cellulite-removal.net/craigslist-minneapolis-mn.html]craigslist minneapolis mn[/URL] minneapolis-mn.cellulite-removal.net/craigslist-minneapolis-mn.html [link=http://minneapolis-mn.cellulite-removal.net/craigslist-minneapolis-mn.html]craigslist minneapolis mn[/link] * http://minneapolis-mn.cellulite-removal.net/orpheum-theater-minneapolis-mn.html orpheum theater minneapolis mn <a href="http://minneapolis-mn.cellulite-removal.net/orpheum-theater-minneapolis-mn.html">orpheum theater minneapolis mn</a>  [URL=http://minneapolis-mn.cellulite-removal.net/orpheum-theater-minneapolis-mn.html]orpheum theater minneapolis mn[/URL] minneapolis-mn.cellulite-removal.net/orpheum-theater-minneapolis-mn.html [link=http://minneapolis-mn.cellulite-removal.net/orpheum-theater-minneapolis-mn.html]orpheum theater minneapolis mn[/link] *

  6. austin city limit video says:

    piskasosiska 538234 http://city-of-austin.autosportcatlaog.com/austin-city-limit-video.html austin city limit video <a href="http://city-of-austin.autosportcatlaog.com/austin-city-limit-video.html">austin city limit video</a>  [URL=http://city-of-austin.autosportcatlaog.com/austin-city-limit-video.html]austin city limit video[/URL] city-of-austin.autosportcatlaog.com/austin-city-limit-video.html [link=http://city-of-austin.autosportcatlaog.com/austin-city-limit-video.html]austin city limit video[/link] * http://city-of-austin.autosportcatlaog.com/city-of-austin-trash.html city of austin trash <a href="http://city-of-austin.autosportcatlaog.com/city-of-austin-trash.html">city of austin trash</a>  [URL=http://city-of-austin.autosportcatlaog.com/city-of-austin-trash.html]city of austin trash[/URL] city-of-austin.autosportcatlaog.com/city-of-austin-trash.html [link=http://city-of-austin.autosportcatlaog.com/city-of-austin-trash.html]city of austin trash[/link] *

  7. JC says:

    My ESM doesn’t give me an option to remove Exchange attributes – instead I have the option to "Associate with an outside account"

    How do I get the "remove" option?

  8. Exchange says:

    JC,

    this should be fairly straightforward, please check this:

    http://www.support.microsoft.com/kb/823170

  9. Justin - SYNACS says:

    Great entry. Thanks for clarifying this, Jason.

Comments are closed.

Skip to main content