Click on Yes in the pop up confirming dialogue. 2. In Diskpart, type following commands in sequence and each of them comes with an Enter. list volume select volume n (where n is the write-protected drive, here is 6) attributes disk clear readonly exit