You are on page 1of 2

Remove Write Protection from USB Drives

Step 1) Start Menu > Run > cmd.exe


Step 2) diskpart
Step 3) list disk
Step 4) select disk 1
code for clear write protect:
Step 5) Attributes disk clear readonly
code for write protect:
Step 6) Attributes disk set readonly
-------------------------->>
If your computer is slow?
then clean up the ram..
>Open notepad
>type FREEMEM=SPACE(64000000)
>Save it as ram.vbs
now run the script.
------------------------>>
pendrive format using cmd:
Open the DOS prompt (Start >> Run >> cmd)
Type:
FORMAT X: /FS:FAT32 /Q /V:PenDrive
This will reformat the Pen drive, using the FAT32 file system, and label the dri
ve PenDrive. Replace X: with the actual drive letter of your Pen Drive. For more
help on this command, type:
FORMAT /?
at the command prompt.

1) (skip the format, just unhide them)


Open a dos prompt (Start >> Run >> cmd) and type:
attrib -r -h -s ./s x:\*.*
This will change the attributes of all of the files on the pen drive. Readonly,
hidden, and system attributes will be removed. Replace the X: with your pen driv
e's drive letter. Now you will be able to see them in Explorer, and delete them,
without formatting anything.
2) (format with DOS commands)
Open the DOS prompt (Start >> Run >> cmd)
Type:
FORMAT X: /FS:FAT32 /Q /V:PenDrive
This will reformat the Pen drive, using the FAT32 file system, and label the dri
ve PenDrive. Replace X: with the actual drive letter of your Pen Drive. For more
help on this command, type:
FORMAT /?

at the command prompt.


How to format USB Drive?
First goto command prompt like,
Start ->Run -> Cmd .Hit enter button.
Then command prompt will appears on the screen.By using format command you can f
ormat your PenDrive.
Then type format j: /FS:FAT32 Here j is a drive letter.

folder hidden:
attrib +s +h D:\
unhide:
attrib -s -h D:\

ATTRIB +H "C:\Users\UserName\Desktop\Folder" /S /D
ATTRIB -H "C:\Users\UserName\Desktop\Folder" /S /D
ATTRIB +H "C:\Users\UserName\Desktop\Folder\*" /S /D
ATTRIB -H "Full Path of Folder\*" /S /D

You might also like