Error :Msg 5120, Level 16, State 101, Line 1
Unable to open the physical file "c:\sqlserver\data\msdbtest_data.mdf".
Operating system error 5: "5(Access is denied.)".
Log off your Computer.
And Run your SQL Management studio with Administrator
and try to Attach or Restore it.
It should work!!