Link to home
Create AccountLog in
Avatar of Trish Benningfield
Trish BenningfieldFlag for United States of America

asked on

Exchange 2010, change database path

Hello!  One of my techs installed and configured SBS2011, and after setting up exchange, changed the drive letters around in disk management.  Exchange 2011 doesn't like this and refuses to mount the data as it believes its located on e:\... but doesn't let me edit the location to the database in properties. I've tried the "move database" as well and it fails.  Thanks for the advice!
ASKER CERTIFIED SOLUTION
Avatar of TG Tran
TG Tran
Flag of United States of America 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
1) Tell your "Tech" he's a plonker!!

2) create the same file structure on your current E: drive, move the files to that drive and THEN do a database move as normal to put back on the drive your tech renamed.
@tgtran
How $True! :P  I Missed that one :D
Move-DatabasePath -Identity "Database Name" -EdbFilePath "Z:\NewFolder\MyDatabase.edb" -ConfigurationOnly:$True
You NEED the $True parameter or it tries to MOVE the database and yours has already moved
Avatar of Trish Benningfield

ASKER

Nellsr, thanks, I forgot to mention I had no additional drives to duplicate the structure. :-)  Thanks tgtran, worked like a champ!