masterofall
asked on
How do I change the default drive where new exchange 2016 database are created?
How do I change the default drive where new exchange 2016 database are created? The current default is the C:\ drive and it runs out of space when someone makes a mistake and creates a database on it.
When creating a new DB you have the option to point it to any local drive. I think you are asking for a similar issue. When creating a new DB you should check your system resources prior to doing this/
Hi,
You can move the mailbox database from C drive to any other drive with the help of given below article:
https://practical365.com/exchange-server/moving-an-exchange-server-2016-mailbox-database/
You can move the mailbox database from C drive to any other drive with the help of given below article:
https://practical365.com/exchange-server/moving-an-exchange-server-2016-mailbox-database/
I was in the process of editing my comment when Muhammad posted, but is your question for future DB's or because you are constantly running out of space due to log growth? If that is the case you need to move the DB and use Muhammad's suggestion.
ASKER
This is for future Dbs. The issue that I am trying to solve is the create process defaults to the C: drive, I need it to default to another drive. (I know to specify the drive at creation and I know move database after creation.)
You can change it, but there is a chance that you will run into the same situation as your environment grows. So I recommend that prior to creating a new DB that you assess your current available space and plan accordingly. This should not be done blindly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can use the Scripting agent cmdlet extension agent in Exchange 2013 to insert your own scripting logic into the execution of Exchange cmdlets. Using the Scripting agent, you can add conditions, override values, and set up reporting.https://technet.microsoft.com/en-us/library/dd335054(v=exchg.150).aspx
ASKER
I did not get an answer how to change the default from C: to something else. However, I moved the location of the Exchange log files to a drive that is reserved for log files.
You need to use the Move-DatabasePath command:
https://technet.microsoft.com/es-es/library/bb124742(v=exchg.160).aspx
Regards
Valentina