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

MajorGeeks.com - If your computer could ask you for it, it would.

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



IObit Black Friday Sale

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. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. Sergei Strelec's WinPE
6. Microsoft Visual C++ 2015-2022 Redistributable Package
7. Visual C++ Redistributable Runtimes AIO Repack
8. McAfee Removal Tool (MCPR)
9. K-Lite Mega Codec Pack
10. Tweaking.com - Windows Repair
More >>

top reads

Star All the New Features Landing in Windows 11 This December

Star Lossless vs Lossy: When FLAC, APE, and ALAC Beat MP3 and When They Don't

Star Google Search Tricks You'll Actually Use in 2025 and Beyond

Star Fresh PC Checklist: First 12 Things to Do On a New Windows 11 Machine

Star Running AI Models Locally: What They Are, Where to Find Them, and How to Get Started

Star Deciding Between Idle State, Sleep Mode, and Shutdown: What's Best for Your PC?

Star How to Fix VMware Workstation "The Update Server Could Not Be Resolved" Error Installing VMware Tools

Star How to Remove Google Gemini from Your Phone (and Your Life)

Star Windows Bloat Removal Guide: Debloat Safely and Keep What You Need

Star Windows 11 Repair Playbook: SFC, DISM, CHKDSK Without Breaking Stuff


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

⚡ Black Friday Blowout! IObit Pro Up to 90% Saving PLUS $5 off! ⚡
Once-a-year pricing on speed, privacy, and protection. Don’t miss the best deal IObit drops all year!

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