Pages

Friday, April 25, 2008

Exchange: "One or more users currently use a mailbox store on this server"

Summary: When uninstalling Exchange; you receive the following error message:


"One or more users currently use a mailbox store on this server"


This can occur for multiple reasons:

1. There was a user in which the mailbox was never created because it was not activated ie. user never logged in or no mail was sent to it.

2. There is a user who has Exchange attributes but no mailbox referencing this server.


Resolution:

1. Start ADUC; click find.

2. Click custom search in drop down

3. Click Advanced tab

4. In LDAP field type:


(msExchHomeServerName=/O=myexchangeorgname/
OU=myorgname/cn=Configuration/cn=Servers/cn=myexchangeserver)
(objectClass=User)


Substitue o=myexchangeorgname and OU=myorgname and cn=myexchangeserver with your values. To find these values you can open adsiedit and go to the properties of a user and find the msexchhomeservername property.

One thing to note; if the query comes back with no results; copy the query into notepad. Close out the ADUC search and re-open it and paste the search query. I've noticed that the query does not work when pasting even though you remove all spaces unless you restart ADUC search.


James Chong (MVP)
MCITP | EMA; MCSE | M+, S+,
Security+, Project+, ITIL
msexchangetips.blogspot.com

40 comments:

  1. Trying to send email to Jchong1@cox.net.MVP.Microsoft.com.

    Its gettign bounced.

    Please let me know which email ID I can send email.

    Thanks
    Packy

    ReplyDelete
  2. jamestechman@gmail.com

    ReplyDelete
  3. Anonymous5:29 PM

    hey there!
    well i ve found your weblog address in technet forum :)
    i ve got some problem james i would be happy if you check out my threads in technet and petri.co.il
    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=4077502&SiteID=17&mode=1
    http://www.petri.co.il/forums/showthread.php?t=29490
    may be you can give me some advice and help me :)
    thx
    mehdi.zareifar@hotmail.com

    ReplyDelete
  4. Anonymous3:32 PM

    You are a god! I bow to your greatness! I've spent hours and hours trying to remove an Exchange virtual server from an Active/Active cluster, and this was the last obstacle. So thank you, thank you, thank you.

    ReplyDelete
  5. Anonymous10:34 AM

    It worked great took me awhile to find which search he was suggesting. You have to use a Custom Search then you will find LDAP.

    ReplyDelete
  6. thanks for the solution, it worked for me

    ReplyDelete
  7. Anonymous4:44 AM

    wow! took me ages and tried many different things b4 i hit on your site - worked first time. thank you!

    ReplyDelete
  8. Works great. Just make sure you don't have an extra "enter" after the last line. LDAP queries are quite fussy.

    The standard query for most people will be this:

    (msExchHomeServerName=/O=First Organization/OU=First Administrative Group/cn=Configuration/cn=Servers/cn=AWLSVR01)(objectClass=User)

    ReplyDelete
  9. Anonymous9:08 AM

    Many thanks for the tip. Custom search found accounts other searches didn't.

    ReplyDelete
  10. Anonymous1:20 PM

    I was able to just add(objectClass=User)
    to teh LDAP search, then add the homeserver to columns to sort all users by their home exchange server and delet accounts associated to the 2003 exchange server, but worked great for me thanks for the tip!!!

    ReplyDelete
  11. Hi. Thanks a lot! You saved me :-)

    Best Regards,
    Henrik
    http://www.xitrus.se

    ReplyDelete
  12. Although I had to remove the brackets and objectclass=user!

    Regards,
    Henrik
    www.xitrus.se

    ReplyDelete
  13. Anonymous9:28 AM

    LEGEND! Thanks!

    ReplyDelete
  14. Anonymous6:23 PM

    If you are those who tend to under probate and you do not need extra help, then you can probably get by with Hogan . For men who are average weight, with no promotion of the problems that need a bit of Hogan scarpe donna with good support, durability and cushion, they should probably be a Hogan scarpe uomo . The motion control category contains the most durable, rigid and controlled sports shoes. Hogan uomo are specifically designed to limit the disease known as over probation.

    ReplyDelete
  15. Anonymous8:12 PM

    WoW!! Thank you! this was a lifesaver.

    ReplyDelete
  16. Anonymous12:20 PM

    OUTSTANDING!!

    Thank you SO much for this info!!

    I did as another poster indicated, and it worked flawlessly.

    I was able to just add(objectClass=User)
    to teh LDAP search, then add the homeserver to columns to sort all users by their home exchange server and delet accounts associated to the 2003 exchange server, but worked great for me thanks for the tip!!!

    ReplyDelete
  17. Great blog post. Sorted out my problem uninstalling my old exchange box. It turned out to be a user that was setup with a mailbox but was never logged in!

    ReplyDelete
  18. You are my hero!
    I had to copy the text to a notepad, make it all in a single line and then PRESTO! some old mailboxes appeared.
    I right-clicked, remoce exchange attriobs and then I was able to remove exchange 2003!

    slaskaridis at the G-mail

    ReplyDelete
  19. Anonymous2:34 PM

    U have the Knowledge! I wish microsoft support had the knowledge that you shared here for free!

    Thanks!
    BeZ

    ReplyDelete
  20. Anonymous4:32 AM

    I was able to just add(objectClass=User)
    to teh LDAP search, then add the homeserver to columns to sort all users by their home exchange server and delet accounts associated to the 2003 exchange server, but worked great for me thanks for the tip!!!

    ReplyDelete
  21. Anonymous12:49 PM

    Thank you, thank you, thank you!!!! And also to those who left comments. I have been trying to remove the last Exch2003 server from our Exch2012 environment for days now. Philip's comment was very helpful - I found 3 users with msExchHomeServerName still pointing to the old 2003 Exch server - never logged on.

    Phillip -The standard query for most people will be this:

    (msExchHomeServerName=/O=First Organization/OU=First Administrative Group/cn=Configuration/cn=Servers/cn=AWLSVR01)(objectClass=User)

    ReplyDelete
  22. It's a lot easier to just include the server name in the query. You can use wildcards for LDAP.

    (msExchHomeServerName=*servername*)(objectClass=user)

    ReplyDelete
  23. steve9:01 AM

    I got good results with: ldifde -m -f domain.txt && notepad domain.txt

    ReplyDelete
  24. Vincent Arriola10:39 PM

    @Derek Hanson: You're awesome. I was struggling with the full path of my old 2003 server because I came into this org. after they upgraded to 2007 and we are on 10 now.

    Using - (objectClass=User)(msExchHomeServerName=*SERVERNAME*) - with the wildcards worked wonders!

    ReplyDelete
  25. تركيب عفش بالرياض
    تنظيف مكيفات بالرياض
    تركيب غرف نوم بالرياض
    تركيب باركية بالرياض
    تركيب اثاث ايكيا بالرياض
    تركيب ستائر بالرياض
    من الطبيعي أننا نتعامل مع الاثاث وكأنة سيبقي بشكل ابدي ، فنقوم بتركيب أثاث غرف النوم بعناية شديدة ، وكذلك اجهزة التكيفات وخزائن المطابخ والغسالات الخاصة بالملابس وغسلات والأطباق، فبخصوص تلك الامرعلى قدر ما يشعرنا القيام بذلك بالاستقرار والراحة ولكن علي النقيض يسبب لنا التفكير في نقله إلى مكان جديد من معاناة وقلق،عندما ننظر الي حجم المجهود والوقت الذي تحتاجه عملية النقل من جهة وحجم المخاطر التي تقع على الأثاث من جهة أخرى، ولكن هذة الطريقة تنطبق على الأساليب المعتادة في نقل الأثاث أوالقيام بعملية نقل الأثاث بمفردك دون الاستعانة بشركة متخصصة في ذلك، ولكن ذلك بإمكانه أن ينتهي تماما عند الاستعانة بشركة متخصصة في نقل الأثاث.
    شركة خبراء المملكة ، شركة صاحبة علامات تميز مشهودة في مجال نقل العفش

    ReplyDelete