I hit the enter key too quickly and accidentally reconnected a mailbox to a hidden account using Exchange System Manager. Does anyone know how to remove a mailbox from a hidden account that you can't access through AD? -- T. Richards
I need more info, what do you mean a hidden account you can't access through AD. If you reconnected a mailbox to an account, you accessed the account because a reconnection is handled by modifying attributes on the account object. joe -- Joe Richards Microsoft MVP Windows Server Directory Services Author of O'Reilly Active Directory Third Edition www.joeware.net ---O'Reilly Active Directory Third Edition now available--- http://www.joeware.net/win/ad3e.htm T. Richards wrote: > I hit the enter key too quickly and accidentally reconnected a mailbox to a > hidden account using Exchange System Manager. Does anyone know how to remove > a mailbox from a hidden account that you can't access through AD?
I was in Exchange System Manager, right-clicked on the mailbox that I needed to reconnect, selected reconnect and started typing in the user's name. Unfortunatlely, I hit enter too soon. It connected the mailbox to a DOMAIN$ account. I can't search for or view this account through AD but can get to the properties of it using ADSI Edit. -- T. Richards "Joe Richards [MVP]" wrote: > I need more info, what do you mean a hidden account you can't access through AD. > If you reconnected a mailbox to an account, you accessed the account because a > reconnection is handled by modifying attributes on the account object. > > joe > > -- > Joe Richards Microsoft MVP Windows Server Directory Services > Author of O'Reilly Active Directory Third Edition > www.joeware.net > > > ---O'Reilly Active Directory Third Edition now available--- > > http://www.joeware.net/win/ad3e.htm > > > > T. Richards wrote: > > I hit the enter key too quickly and accidentally reconnected a mailbox to a > > hidden account using Exchange System Manager. Does anyone know how to remove > > a mailbox from a hidden account that you can't access through AD? >
A trust account??? Yeah that is a new one... Ok, use adfind to get the DN of the object and use exchmbx to disconnect it. These are two free command line tools from my website that are quite extensively used around the world (just google the names and you will find the downloads and more kind words than you could possibly want...). Anyway, first run the following to make sure you have only one object that matches adfind -gc -b -f "&(name=DOMAIN$)(mailnickname=*)" -dsq Then if that is the correct object and it is the only object you want to run adfind -gc -b -f "&(name=DOMAIN$)(mailnickname=*)" -dsq | exchmbx -clear or alternatively you can just do exchmbx -b OBJECT_DN -clear joe -- Joe Richards Microsoft MVP Windows Server Directory Services Author of O'Reilly Active Directory Third Edition www.joeware.net ---O'Reilly Active Directory Third Edition now available--- http://www.joeware.net/win/ad3e.htm T. Richards wrote: > I was in Exchange System Manager, right-clicked on the mailbox that I needed > to reconnect, selected reconnect and started typing in the user's name. > Unfortunatlely, I hit enter too soon. It connected the mailbox to a DOMAIN$ > account. I can't search for or view this account through AD but can get to > the properties of it using ADSI Edit.