View or Change the Default Locations for Data and Log Files (SQL Server Management Studio)
This topic describes how to view and change the default locations of new data and log files in SQL Server 2012 by using SQL Server Management Studio. The default path is obtained from the registry. After you change the location all new databases created in the instance of SQL Server will use that location if a different location is not specified.
In This Topic
-
Before you begin:
-
To view or change the data and log file default locations, using:
-
Follow Up: Changing the Default Locations
To view or change the default locations for database files
-
In Object Explorer, right-click a server and click Properties.
-
In the left panel, click the Database settings page.
-
In Database default locations, view the current default locations for new data files and new log files. To change a default location, enter a new default pathname in the Data or Log field, or click the browse button to find and select a pathname.
