How to Remove write protection from USB Flash drive using cmd (Best and Easy to do)

Опубликовано: 01 Март 2026
на канале: Rahul Singh
12,395
35

fix it : "The disk is write protected, remove the write protection or use another disk"

Steps: (total 7 steps very easy to do)

1. Insert your flash drive, Go to Start and search for cmd right click on it and “run as administrator” or windows 8, 8.1,10 user press windows + X and select Command Prompt (Admin).

2. Once command prompt is open, type diskpart and hit Enter

3. Type list disk and hit Enter, it will show you all connected disk to your computer, like disk 0, disk 1 along with their storage capacity.

4. Recognise your flash drive by its storage capacity like mine is 8 GB

5. Type Select disk 1 (in my case) and hit Enter

6. Now you need to check if your flash drive is Write protected, just type attributes disk and hit enter, it will show you current status of disk protection.

7.Now, to disable write protection from flash drive type attributes disk clear readonly and hit enter

Thanks for watching. Have Fun and Do subscribe to my youtube channel.




Please Do Subscribe here

http://www.youtube.com/user/rahulkuul...

or you can visit my channel @

   / rahulkuulsingh  

Transcript of the video: **auto generated.

0.01 hey what is going on everyone welcome
0:02 back to another great tutorial today I
0:04 will show you how to remove the right
0:07 protection of a pendrive what do I mean
0:09 by that i mean when i click on my
0:12 pendrive let's just go ahead and click
0:14 on my pen drive them sorry this is my
0:16 pendrive tribe as you can see i have a
0:19 pen drive I want to copy files in this
0:21 pen drive so i'll just go testify I just
0:24 want to copy this file in my pendrive as
0:26 you can see one interrupted action the
0:29 disk is write protected I simply want to
0:32 copy my file from my desktop to my
0:35 pendrive but I can't so why because my
0:39 pendrive is write protected so let's
0:41 just remove the right protection of my
0:44 pendrive click cancel minimize this
0:48 press windows + x I am using Windows 10
0:52 if you are using Windows 8 8.1 or 10
0:56 this video is going to work for you
0:58 simply click on command prompt admin
1:01 select yes ok now type here disk pa rt
1:08 diskpart no spaces in between disk and
1:11 part press enter then list disk then
1:16 select the disk you want to remove the
1:20 right protection as select disk 1
1:26 now attributes disk 1 attributes disk ok
1:36 as you can see the current read-only
1:39 state is yes so I just want to remove
1:43 that how will i do that attribute disc
1:50 disc here clear read-only and then press
1:59 Enter this cat was cleared successfully
2:02 now if I show you I can copy my files I
2:07 can copy my files to my pendrive let's
2:11 just go in the pen drive this is
2:13 and right now this is the test file I
2:15 want to copy in my pendrive so let's
2:17 just do it oh yeah it worked test file
2:21 could simply copied my file from my desk
2:24 up to my pendrive there is no pen there
2:27 is no right protection right now so
2:31 thank you for watching guys have fun and
2:33 do subscribe to my youtube channel