How to Enable and Disable Write Protection on USB Flash Drive Using Command Prompt

Welcome back Computerlearningz viewer Today I am going to share How to Enable and Disable Write Protection on USB Flash Drive Using Command Prompt

Step 1:  First insert the USB Flash Drive and open the Command Prompt in Admin mode. Don’t know how to do that, then you need to visit this here. Open an Elevated Command Prompt or Open cmd as Admin

Step 2: Now type 
DISKPART 
press enter.

Step 3: Type 
LIST DISK 
and see the name of your USB Drive. Now Type 
SELECT DISK 1 (name of the drive.)

Step 4: Now type 
ATTRIBUTES DISK 
to see the current state and permissions of the drive.

Step 5:  Now to enable write protection on USB Flash Drive, just type  
ATTRIBUTES DISK SET READONLY 
and press enter. Now try adding some files to the USB drive and you can see that a message pops out saying that the disk is write protected and read-only.


Step 6:  If you want to remove or disable the write protection on USB Flash Drive, just type
ATTRIBUTES DISK CLEAR READONLY 
and press enter. Now again try adding some files and you can see everything is normal as before.

Comments

Popular posts from this blog

How to Play IPL Live Stream (.m3u8) File in Windows Google Chrome or MX Player