How to Fix “Diskpart failed to clear disk attributes” Error in Windows 10
If you encounter the “Diskpart failed to clear disk attributes” error when you try to change the read-only state of a storage device using the Diskpart application and the request is denied, worry not for this post will give you a couple of fixes to resolve the problem. As you know, Diskpart is used for resolving read-only storage devices by changing their attribute via the command line. So if it is not able to change the attribute of the storage device, then you will most likely encounter an error such as this one. This kind of error is not uncommon and as long as there are no damaged physical attributes, you can resolve it right away.
There are tons of reasons why you’re getting this error while using Diskpart, it could be that the storage device has a physical write-protected switch or the disk is hidden or has bad sectors. It could also be because the storage drive might be in RAW format or that you are running the Diskpart application without admin privileges. Whatever the cause may be, here are some options you can try to fix the problem but before you proceed, make sure that you log on to your PC as an administrator.
Option 1 – Check if there is a physical switch on the storage device
There are some USB devices and SD card readers that have a write-protected physical switch that disables all the writable options on the storage device and so if it is turned on, Diskpart won’t be able to change the disk attribute to writable. To check, simply look for the physical switch on both sides of the device and once you found it, make sure that it is toggled off and then plug the storage device back in then try running Diskpart once again.
Option 2 – Modify the WriteProtected key in the Registry Editor
Before you proceed, you have to create a System Restore Point first.
- Tap the Win + R keys to open Run and type “Regedit” in the field and hit Enter to open the Registry Editor.
- Next, navigate to the following path:
- After that, look for the “WriteProtect” registry entry which is located on the left side of the window, and then double click on it.
- Change its value to “0” and click OK to save the changes made and exit the Registry Editor.
Option 3 – Run CHKDSK to check the drive for errors
When it comes to some issues concerning the hard drive or removable devices, there is a utility in Windows that might help which is called “chkdsk”. This error check utility can help with several issues in the system including the “Diskpart failed to clear disk attributes” error.
- Tap the Win + S keys to open the Search box.
- Then type “command prompt” in the field and from the search results that appear, right-click on Command Prompt and select “Run as administrator”.
- After opening an elevated command prompt, copy and paste the following command and hit Enter:
CHKDSK [volume [[path] filename]] [/F] [/V] [/R] [/X] [/C] [: size]]
Note: In the command given above, “[/F]” will try to fix the system errors while “[/R]” will be the one to fix the bad sectors.
- Now if you are prompted to run CHKDSK after your reboot your PC, just tap Y and reboot your PC.
- If CHKDSK is not able to find any errors, tap the Win + E keys and navigate the access window. From there, right-click on the concerned drive and click on Properties.
- After opening Properties, click on the tab Tools and then click on the “Check” button under the Error-checking section.
- Wait until the process is completed and then restart your computer.
Option 4 – Clear the attributes on RAW
- Tap the Win + S keys then type “diskpart” in the field.
- Click the Diskpart application and if a User Account Control dialog box pops up, click Yes to proceed.
- After opening an elevated Command Prompt, type in the commands listed below and make sure to tap Enter right after you key in one command after the other.
- list volume
- select volume ‘n’ (In this command, you have to replace ‘n’ with the volume number of the drive)
- format fs=fat32 quick (In this command you also have the flexibility to change the format to ‘ntfs’ or ‘exfat’)
- After executing the commands given, unplug the removable storage device and wait for a couple of seconds and then plug it back in.
- Now try any normal write operations and see if the error no longer appears.
Option 5 – Try checking the hardware components
On the other hand, it is also possible that the issue has something to do with a hardware problem and so you need to check the hardware components on your computer to determine that.
Congratulations, you have just fixed the win32kfull.sys error in Windows 10 all by yourself. If you would like to read more helpful articles and tips about various software and hardware visit errortools.com daily.
Now that’s how you fix the win32kfull.sys error in Windows 10 on a computer. On the other hand, if your computer is going through some system-related issues that have to get fixed, there is a one-click solution known as Restoro you could check out to resolve them. This program is a useful tool that could repair corrupted registries and optimize your PC’s overall performance. Aside from that, it also cleans out your computer for any junk or corrupted files that help you eliminate any unwanted files from your system. This is basically a solution that’s within your grasp with just a click. It’s easy to use as it is user-friendly. For a complete set of instructions in downloading and using it, refer to the steps below
Perform a full system scan using Restoro. To do so, follow the instructions below.