SV-271287r1108843_rule
V-271287
SRG-APP-000133-DB-000199
SQLI-22-006800
CAT II
10
Reinstall SQL Server application components using dedicated directories that are separate from the operating system.
Relocate or reinstall other application software that currently shares directories with SQL Server components separate from the operating system and/or temporary storage.
Determine the directory in which SQL Server has been installed:
Using SQL Server Management Studio's Object Explorer, right-click [SQL Server Instance], select "Facets", then record the value of RootDirectory.
Determine the Operating System directory:
1. Click "Start".
2. Type "Run".
3. Press "Enter".
4. Type "%windir%".
5. Click "Ok".
6. Record the value in the address bar.
Verify the SQL Server RootDirectory is not in the Operating System directory.
Compare the SQL RootDirectory and the Operating System directory. If the SQL RootDirectory is in the same directory as the Operating System, this is a finding.
Verify the SQL Server RootDirectory is not in another application's directory.
Navigate to the SQL RootDirectory using Windows Explorer.
Examine each directory for evidence another application is stored in it.
If evidence exists the SQL RootDirectory is in another application's directory, this is a finding.
If the SQL RootDirectory is not in the Operating System directory or another application's directory, this is not a finding.
Examples:
1. The Operating System directory is "C:\Windows". The SQL RootDirectory is "D:\Program Files\MSSQLSERVER\MSSQL". The MSSQLSERVER directory is not living in the Operating System directory or the directory of another application. This is not a finding.
2. The Operating System directory is "C:\Windows". The SQL RootDirectory is "C:\Windows\MSSQLSERVER\MSSQL". This is a finding.
3. The Operating System directory is "C:\Windows". The SQL RootDirectory is "D:\Program Files\Microsoft Office\MSSQLSERVER\MSSQL". The MSSQLSERVER directory is in the Microsoft Office directory, which indicates Microsoft Office is installed here. This is a finding.
V-271287
False
SQLI-22-006800
Determine the directory in which SQL Server has been installed:
Using SQL Server Management Studio's Object Explorer, right-click [SQL Server Instance], select "Facets", then record the value of RootDirectory.
Determine the Operating System directory:
1. Click "Start".
2. Type "Run".
3. Press "Enter".
4. Type "%windir%".
5. Click "Ok".
6. Record the value in the address bar.
Verify the SQL Server RootDirectory is not in the Operating System directory.
Compare the SQL RootDirectory and the Operating System directory. If the SQL RootDirectory is in the same directory as the Operating System, this is a finding.
Verify the SQL Server RootDirectory is not in another application's directory.
Navigate to the SQL RootDirectory using Windows Explorer.
Examine each directory for evidence another application is stored in it.
If evidence exists the SQL RootDirectory is in another application's directory, this is a finding.
If the SQL RootDirectory is not in the Operating System directory or another application's directory, this is not a finding.
Examples:
1. The Operating System directory is "C:\Windows". The SQL RootDirectory is "D:\Program Files\MSSQLSERVER\MSSQL". The MSSQLSERVER directory is not living in the Operating System directory or the directory of another application. This is not a finding.
2. The Operating System directory is "C:\Windows". The SQL RootDirectory is "C:\Windows\MSSQLSERVER\MSSQL". This is a finding.
3. The Operating System directory is "C:\Windows". The SQL RootDirectory is "D:\Program Files\Microsoft Office\MSSQLSERVER\MSSQL". The MSSQLSERVER directory is in the Microsoft Office directory, which indicates Microsoft Office is installed here. This is a finding.
M
5677