Before attaching the Adventure Works 2014 SQL Server database the connected volumes need to have the Read-Only attribute cleared. To accomplish this task diskpart is used.
Note:
The volume list will vary from system to system.
Once the volumes have had the Read-only attribute cleared we can proceed the attaching the database.