Skip to main content

Command Palette

Search for a command to run...

Check DiskPart Attributes in Desktop

Published
2 min read
R

I'm very enthusiast in things that gives me new material to learn.

If you are curious how to check the properties and attributes of the Disk you can go with this step:

First type cmd and run as administrator:

In Search bar type

or you can use windows + R in keyboard to show the Run GUI:

this is automatically as administrator:

In cmd, you can type diskpart, if you NO the confirmation, it show the Access is denied. Otherwise it show a confirmation of user account control. Choose Yes.

Once you click Yes, it will go here to another command prompt:

You can use a “ list disk “ to check all disk are in the system/desktop.

Once you use this it show the list of disk:

Then you can choose what disk you are want to check its attributes:

so far i have 0 so i use select disk 0.

Now it will prompt the you selected the disk please see the image below:

to Check attributes of the selected disk: you can run this command: attribute disk then it show this,

If you want to set the read-only set to Yes, you can do this command: attributes disk set readonly

If you want to back as No/Default of Read Only, you can go it this command: attributes disk clear readonly.

Additional Information:

If the Disk has a firmware-level, mostly use in a servers because firmware-level white protection is a permanent, cant even expert can write or format the ssd with this case.

Thank you.