If you have faced this problem when trying to attach your MSSQL database just copy MDF and LDF file to some directory where MS SQL service has full rights. It is usually something like this
c:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Backup
