Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - The Anti-Social Social Site since 2002

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews




spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Smart Defrag
3. Macrium Reflect FREE Edition
4. Sergei Strelec's WinPE
5. MusicBee
6. Visual C++ Redistributable Runtimes AIO Repack
7. FlyOobe / Flyby11
8. Format Factory
9. Mozilla Firefox
10. ImgBurn
More >>

top reads

Star 8 Windows Shortcuts That’ll Make You More Productive and Save You Time

Star Windows 10 Not Dead Yet - You Can Still Get Updates For Free

Star What is a '400 Bad Request - Request Header or Cookie Too Large' Error and How to Fix It

Star How to Fix Windows Install Error 0xC1900101

Star How to Force Enable Windows 10 Extended Security Updates If The Option Is Not Showing

Star Windows 11 25H2 is Out: What’s New and How to Get It Now.

Star Star Trek Fleet Command Promo Codes: Redeem Codes for Free Shards, Blueprints And Resources

Star Boost Your PC Speed with ReadyBoost: How a Thumb Drive Can Enhance Your System's Performance

Star 5 Hidden Windows Tools You’ve Had All Along But Never Use

Star Use the Windows 10 Media Creation Tool Before Support Ends For Windows 10 in 2025


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Fix Diskpart Failed to Clear Disk Attributes Error

How to Fix Diskpart Failed to Clear Disk Attributes Error

By Timothy Tibbetts

on 06/15/2023

🎃🧟‍♂️👻 IObit’s Spooktacular Halloween Sale! IObit Halloween Sale: 90% OFF + Mystery Treat 🍬
Experience faster surfing, smarter security, and total privacy with IObit Pro!

The Diskpart tool is a command-line tool to manage partitions in Windows 10. A known error can appear when making changes to your partitions that states "Diskpart failed to clear disk attributes." In this guide, we look into possible reasons and solutions for this error.

1: Run Microsoft System File Checker

Microsoft System File Checker is a useful, built-in utility that can scan for, and restore, corrupted files in Windows. It is often used and recommended by techs and advanced users, however, it's relatively simple to use. Here's all you need to know to use System File Checker or Sfc /Scannow in text and video format.



1: Getting Started

Windows 10, Windows 8.1 or Windows 8 users will need to first run the Deployment Image Servicing and Management (DISM) tool before running the System File Checker. DISM will use Windows Update to provide any files that are needed to fix corruptions. If you skip this step, System File Checker might not work. Windows 7 and Vista users can skip this step.

You will need to first open the Command Prompt or PowerShell as administrator.



Type in DISM.exe /Online /Cleanup-image /Restorehealth and press enter. This may take a few minutes.

All you need to do is type in sfc /scannow followed by Enter.



System File Checker will now scan for and replace files from the Windows cache, typically located at C:WindowsSystem32dllcache.

2: Check Write Protection in the Registry

Press the Windows Key + R, enter regedit and press the Enter kry. Now copy and paste HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies in the search bar. In the right pane, double-click on WriteProtect. The Value Data should be 0, if not, change it.

Windows 10 will most likely not have this key at all, and we couldn't find it anywhere leading us to assume that it's been removed. You could try and create this key, but we don't know if it will work. Right-click, select New >Dword (32-Bit Value) and name the key WriteProtect. Double-click and confirm the value is 0.

Editing the registry requires a reboot for the changes to apply.

3: Check for a Physical Write-Protection Switch on External Drives

Some external drives have a physical switch to keep the drive from being modified, similar to how old floppy disks used to work. If your issue is an external drive, be sure the switch is off.

4: Change RAW Format to FAT or NTFS on External Drives

We saved the last two suggestions for last because they both affect external drives and or could cause problems if you modify your operating system drive. For this fix, you will wipe the contents of your drive.

Press the Windows Key + R and type in diskpart. Type the following lines, one at a time, in order.

list volume
select volume x (replace x with the drive you want to format)
format fs=fat32 quick (your drive and all data will be deleted)
exit



Did we mention, this will delete everything on the drive? Good.

comments powered by Disqus





© 2000-2025 MajorGeeks.com
Powered by Contentteller® Business Edition