Recover Exchnage 2010

Got a call from an old client that let me go for a cheaper company about a year ago. Their Exchange server went down in a pile of ashes and don't have a backup. Basically the OS got hosed totally. I was able to salvage the mailbox DB folder. out of it. The Exchange was running on a Hyper-V host. I've never used the "recoverserver" option before so looking for some guidance.

I know the command is "setup /m:recoverserver" , but this installs to the default C:\ and the original was on the D:\
Should the command be "setup /m:recover server /targetDir:"D:\Program Files\Microsoft\Exchange\V14" to get it to install correctly??
Also the original name of the Mailbox folder was "Mailbox Database 0395155002" Do I need to add additional command to create the correct name??
And at what point do I move the old DB files or do a recovery??
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohammed TahirMicrosoft Exchange and O365 AdministratorCommented:
If Exchange is installed in a location other than the default location, you must use the /TargetDir switch to specify the location of the Exchange binary files. If you don't use the /TargetDir switch, the Exchange files are installed in the default location

Below link may help you.

Mohammed TahirMicrosoft Exchange and O365 AdministratorCommented:
AmitIT ArchitectCommented:
Can you review my article first

It has all steps. I assume you have stand-alone server. If yes, let me know, I can write steps for stand alone also.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

warsawtechConsultantAuthor Commented:

Thanks for the reply. Yes it is a standalone exchange server
AmitIT ArchitectCommented:
Did you installed the OS? What is the current status? Here what I suggest.

1) First take one snapshot and keep it on safe location. Don't power on. Let it be down. Just for backup.
2) Now on current server, if DB is on different drive. You can install OS with same SP on c drive. Make sure you don't loose other drive like db drive.
3) Once OS is installed, next you reset the account in AD and join server back to domain
4) Next you update all windows patches using windows update.
5) Restart you server
6) Now you install Exchange pre-requisite related to Exchange. You can find in my article.
7) Now you open cmd as admin and run the exchange recover command with targetdir. If your binaries are on different drive. make sure you use same setup files which was present on old server. If it was SP3 use that one.
8) Now install the RU, which was earlier present on this server.

Note: Don't install any higher or lower version. Else dBs won't mount.

9) Restart your server again.
10) Now login to server and check, if all services are started and db's are mounted. 99% it should come back automatically.

Note: Any dirty shutdown for db's. You might need to repair it.

Let me know, if you have more query.
warsawtechConsultantAuthor Commented:
I'll be working on this tonight and will let you know. One question is that my target will be  the command  "setup /m:recover server /targetDir:"D:\Program Files\Microsoft\Exchange\V14" What additional command do I use to get the mailbox named the original name of "Mailbox Database 0395155002"
AmitIT ArchitectCommented:
You don't need to do anything from DB end. That information is stored in your AD. It will be automatically be fetched by Exchange server. Once server is up, Open EMC and check DB's.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
warsawtechConsultantAuthor Commented:
Sorry been having to divert my time to bigger matters, but will be on this tonight to report back
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.