Link to home
Create AccountLog in
Avatar of amoos
amoos

asked on

How to reconnect disconnected exchange 2007 mailboxes - NEED HELP

we have restored our 2007 exchange DB to a server that is identical to our production and we are trying to connect the users to their mailboxes but it fails every time to connect.

when i do this through the EMC it recognizes the user everytime but when i get the connect part it says

"Error:
Object is read only because it was created by a future version of exchange: 0.10(14.0.100.0) current supported version is 0.1(8.0.535.0)"

how do i fix this so i can reconnect my users?  also is there anyway to reconnect them all at once or do i have to do them all individually?
Avatar of Stelian Stan
Stelian Stan
Flag of Canada image

The message says that the mailbox that you try to connect is coming from Exchange 2010 and you try to connect using a Exchange 2007.
Avatar of amoos
amoos

ASKER

so how can i change that?  can i use something like below?

Get-Mailbox -Database <SourceDatabase> |where {$_.ObjectClass -NotMatch '(SystemAttendantMailbox|ExOleDbSystemMailbox)'}| Move-Mailbox -ConfigurationOnly -TargetDatabase <TargetDatabase>

also that cannot be true because all we have is exchange 2007 server in our company,  the only thing i can think of is that this is our R&D network we are trying to do this on and we did use this network for testing exchange 2010 but we removed 2010 from our R&D so it is no longer there.

this database that was restored is a exchange 2007 database and it is restored to a exchange 2007 server
Avatar of amoos

ASKER

good links, i read them i am doing what the connect to a disconnected mail article you linked but it is still giving me the "Error:
Object is read only because it was created by a future version of exchange: 0.10(14.0.100.0) current supported version is 0.1(8.0.535.0)"

there has got to be a way to get past this?   a powershell script or something
This can get messy quick - sounds like you have items left in AD from the 2010 test server.  Might have to remove with ADSIEdit.  Good luck
Putting a 2010 server in the same organization as your existing exchange server will alter a lot of things.  The above suggestions "remove public folders" only work if you still have a live 2010 exchange server running and you are in the process of migrating.
Is there a Exchange 2010 and were these users removed\disabled from there if so they have to be enabled from there only using EMC or Shell

- Rancy
Avatar of amoos

ASKER

the R&D exchange 2010 server was removed BUT i can put it back exactly the same way it was if that will help me

it was removed the right way through add/remove programs
It would be best to put ti back and replicate the public folder - then move them back to 2007.
FYI removing the "right" way still leaves traces in AD.
Avatar of amoos

ASKER

ok i will put it back to see if that helps.

now my biggest curiosity is i have restored a 2007 exchange database to the R&D exchange 2007 server BUT none of the accounts are connected tot he database that i restored, if i put the 2010 server back online the same way that i had it before and enable things like suggested will it let me connect the users to the boxes on the exchange 2007 server or will it keep trying to connect to the exchange 2010 server?

i need them to connect to the 2007 server because i want to do the migration from 2007 to 2010 again
Avatar of amoos

ASKER

if i move them back to 2007 and then put a restored database on the 2007 can i then reattach the boxes to teh restored database?
I will tell you reason as the last stamp on the disconnected mailboxes is by Exchange 2010 so its the only version that can put things back as well

- Rancy
Avatar of amoos

ASKER

so if i have the steps right

first i put the exchange 2010 server back like it was
in the 2010 EMC reconnect the boxes
in the 2010 EMC move all the boxes back to 2007

now this is where i am stuck, i have a 148GB DB that i restored to the exchange 2007 server how do i get the users to attach to those mailboxes?
Did you restore to Production or what ?

- Rancy
Avatar of amoos

ASKER

no i took a copy of the production exchange 2007 DB to put on the R&D, i then copied the DB to the R&D exchange 2007 server and it mounted on the R&D server fine, i just need all the users in the R&D to attach to it
R&D you mean Recovery Database if so its Non-production and cant be used to attach to normal accounts

- Rancy
Avatar of amoos

ASKER

no i used symantec backup exec to restore the production 2007 DB to an external drive, then i ran eseutil /p to get it into a clean shtdown state, then i copied the DB to the R&D 2007 server and then i mounted the DB and it mounted fine
Is this a Non-production server or its the Production server ?
Is this a production Database or Non-production ?

- Rancy
Avatar of amoos

ASKER

the R&D that i am discussing is a non production server
the database that i copied to the R&D non production server and mounted was a copy of the production database.
the R&D DC is a non production server but is an exact duplicate of our production DC
Ohk you should be able to if not just try to get a 2010 server into your R&D environment and your steps were perfect according to me

- Rancy
Avatar of amoos

ASKER

cool so if i have the steps right

first i put the exchange 2010 server back like it was
in the 2010 EMC reconnect the boxes
in the 2010 EMC move all the boxes back to 2007

now this is where i am stuck, i have a 148GB DB that i restored to the exchange 2007 server how do i get the users to attach to those mailboxes on the exchange 2007?
Avatar of amoos

ASKER

ok i got the exchange 2010 server online the same way it was.  now what i get is ""multiple databases match "Mailbox Database" specify a unique value""
Avatar of amoos

ASKER

if i delete an account and then recreate it it attaches to the mailbox fine.  i have 1600 accounts i cannot recreate them all manually
 is there an easier way
Yes select as many as you want in EMC and right click and say connect and choose Matching user

- Rancy
Avatar of amoos

ASKER

no what i meant was if i delete an account that i restored to active directory and then recreate it, after i recreate it the account attaches to the mailbox fine.  i have 1600 accounts i cannot recreate all the active directory accounts manually
 is there an easier way to recreate all these AD accounts?
Yes but that needs some info and can be done by Scripts many you can find on the internet

- Rancy
Avatar of amoos

ASKER

what info would be needed?  do you have any examples of what i can use?
Avatar of amoos

ASKER

is there any way to reset the user accounts like you can resset computer accounts?
There is no reset of account but only problem i can understand is that maybe these account you recovered have Email attributes assigned .... are these accounts in some OU or something common ?

- Rancy
Avatar of amoos

ASKER

yes i do believe that they all have email attributes it is just i do not know how to get rid of those attibutes for 1644 accounts.
What is the attribute ?

Try this for one user
Disable-Mailbox "UserName"

Once done try to reconnect his mailbox

- Rancy
Avatar of amoos

ASKER

ok i am able to reconnect mailboxes now successfully.  i have 1600 boxes, is there anyway to reconnect all the mailboxes at once? or do i have to reconnect them 1 by 1
No if this works get the User Name or everything into one TXT

Something like below (Let me know what the Value you have intook)
Rancy
Amoos
God
Experts
Exchange

I would once in text run a command
Get-Content "Location of the TXT" | Disable-Mailbox

Once the above command runs fine go to EMC and select few users and say Reconnect Matching users option

- Rancy
ASKER CERTIFIED SOLUTION
Avatar of Stelian Stan
Stelian Stan
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Amoos: Dont mind but can you please let me know what was wrong with my suggestion as it would do the same and Disable all requested mailboxes

- Rancy