1. Open the command line and run "diskpart"
C:\Users\xxx>diskpart
2. Execute list vol in a new window
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 E DVD-ROM 0 B No Media
Volume 1 System Rese NTFS Partition 862 MB Healthy System
Volume 2 C Windows NTFS Partition 293 GB Healthy Boot
Volume 3 D NTFS Partition 171 GB Healthy
3. Since the D drive is read-only, select volume 3
DISKPART> select vol 3
Volume 3 is the selected volume.
4. Clear read-only attribute
DISKPART> att vol clear readonly
Volume attributes cleared successfully.