The Diskpart Tool is a ascendence occupation tool that tin hold out used to deal partitions inwards a Windows system. It offers all the functions of Disk ManagementTool as well as a more. However, inwards to a greater extent than or less cases, the Diskpart utility is unable to alter the attributes of the partitions as well as plough over the next message – Diskpart failed to clear disk attributes.
The in all probability causes of this final result are equally follows:
- Bad sectors inwards the difficult drive are associated alongside the partition.
- The segmentation mightiness hold out hidden.
- For external drives, a physical write-protection switch mightiness hold out enabled.
- The external drive mightiness hold out inwards RAW format.
- Write-protection could hold out enabled for sure as shooting internal drives from the Registry equally well.
Diskpart failed to clear disk attributes
You could attempt the next solutions to resolve the problem:
- Run the CHKDSK utility
- Check for a physical write-protection switch on external drives
- Change the format of the external drive from RAW to something else
- Remove Write protection via Registry.
1] Run the CHKDSK utility
The CHKDSK utility helps inwards checking for bad sectors inwards the hard-drive as well as repairing them. This should hold out the outset pace prior to final anything most the hardware.
2] Check for a physical write-protection switch on external drives
Some external drives convey a physical write-protection switch on them. When the switch is turned ON, y'all wouldn’t hold out able to modify the contents of the drive.
A personal proposition would hold out to exclude external drives piece using the Diskpart utility, simply if y'all convey to occupation it, delight plough OFF the toggle switch on the external drive.
3] Change the format of the external drive from RAW to something else
The RAW format gets created when sure as shooting files inwards an external drive are corrupt. It could also hold out caused past times a hardware issue, simply inwards that case, nosotros cannot resolve the job ourselves. In this situation, nosotros would convey to format the File System to either FAT or NTFS.
Press Win + R to opened upwards the Run window as well as type the ascendence diskpart.
In the elevated Command prompt window which follows, type the next commands as well as press Enter afterward each 1 of them to execute it.
list volume direct book x format fs=fat32 quick exit.
Where x is the drive alphabetic lineament of the external drive to hold out formatted.
Once done, y'all could expire on alongside whatever y'all intended to produce alongside the Diskpart ascendence initially.
4] Remove Write protection via Registry
The Registry Editor method could hold out used to resolve the issue. The physical care for to produce as well as then is equally follows:
Press Win + R to opened upwards the Run window. Type the ascendence regedit and press Enter to opened upwards the Registry Editor window.
Navigate to the next path inwards the Registry Editor:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
On the right-pane, double-click on WriteProtect to edit its properties.
Change the value of Value Data to 0.
Click on OK to salve the settings as well as restart the system.
If the above-mentioned solutions don’t work, the crusade could hold out a hardware problem. You could consult a back upwards technician.
Source: https://www.thewindowsclub.com/
comment 0 Comments
more_vert