SQL Server 2008 – moving default directory paths to different Drive.

Hello Everyone,

I am running a sql server 2008 which has the default directories pointing to the D:\ drive.  I need to move everything over to the E:\.  I moved all my databases and system databases from D:\ to E:\ without any issues.  I am seeing the following registry keys pointing directories to the D:\ drive

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\CPE
ErrorDumpDir  REG_SZ   D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\LOG\

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQLServer
BackupDirectory REG_SZ  D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSQL\Backup

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\Setup
FullTextDefaultPath REG_SZ   D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\FTData
SQLDataRoot  REG_SZ   D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\SQLServerAgent
WorkingDirectory REG_SZ  D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\JOBS

Can I just change these registry keys to point to the E:\?

Thanks,

Bill
bjenningsAsked:
Who is Participating?

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

x
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.

Vikas GargAssociate Principal EngineerCommented:
Hi,

There is one beautiful article on the same which may help you to complete your task.

https://msdn.microsoft.com/en-us/library/ms143547.aspx

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
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
You can change the paths and this should not cause any issues.  What I have done in the past was shutdown the services, move the desired directories to the new drive and then change the drive letter (i.e. swap them) in Computer Management under disk management.
bjenningsAuthor Commented:
Thank you to both of you!
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
Microsoft SQL Server 2008

From novice to tech pro — start learning today.