Error 0x80071128 is a Windows Update error that typically occurs when trying to install updates, features, or apps from the Microsoft Store. It may also appear during system file operations like DISM image servicing or Windows Feature activation.
As a Windows system and update expert, I will guide you through:
- ✅ Root causes of error 0x80071128
- ⚠️ Step-by-step troubleshooting with technical insights
- 💡 Advanced diagnostics using command-line tools, Event Viewer, and Registry Editor
- 🧩 Best practices for managing system health and update integrity
Let’s begin.
🔍 Overview
What is Error 0x80071128?
This error translates to:
“The operation could not be completed because the media is write protected.”
It indicates that Windows cannot perform a write operation on a file or volume—usually due to disk protection, corrupted storage drivers, or incorrect permissions.
This error commonly appears in the following scenarios:
Scenario | Description |
---|---|
Windows Update fails | During installation of cumulative updates |
Microsoft Store app install fails | When downloading or updating apps |
DISM / SFC scan fails | While repairing system files |
Feature-on-Demand (FOD) installation fails | Installing .NET Framework, Media Feature Pack, etc. |
AppX package deployment fails | Using PowerShell or Deployment Imaging Service and Management Tool (dism.exe ) |
🔧 Step-by-Step Troubleshooting Guide
✅ Step 1: Check for Write Protection on System Drive
Steps:
- Open Command Prompt as Administrator
- Run:
diskpart
- In DiskPart, type:
list disk
- Identify your system drive (usually
Disk 0
) - Select it:
select disk 0
- Check its attributes:
attributes disk
Look for:
Read-only: Yes
If read-only is enabled:
attributes disk clear readonly
⚠️ Warning: Do not attempt this on removable drives without confirming they are internal system disks
💡 Tip: This often resolves issues caused by accidental firmware-level write protection
✅ Step 2: Run DISM and SFC to Repair System Files
Corrupted system files can cause Windows to treat volumes incorrectly.
Steps:
- Open Command Prompt as Administrator
- Run the following commands in order:
sfc /scannow
If SFC reports corruption but cannot fix it:
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
For advanced users (or if the above fails):
DISM /Online /Cleanup-Image /StartComponentCleanup
⚠️ Note: Ensure you have a stable internet connection—DISM pulls healthy files from Microsoft servers
💡 Tip: If DISM fails, try booting into Windows Recovery Environment (WinRE) and run DISM from there
✅ Step 3: Check Storage Drivers and Controller Status
Outdated or corrupt storage drivers can cause Windows to misinterpret disk access rights.
Steps:
- Press
Windows + X
> Device Manager - Expand Storage controllers
- Right-click each controller (e.g., Intel RST, AMD RAID, NVMe) > Update driver
- Choose:
- Search automatically for updated driver software
If no updates found:
- Visit manufacturer’s website (Intel, AMD, NVIDIA, Dell, HP, etc.)
- Download latest chipset and storage drivers
⚠️ Note: Avoid generic PnP drivers—always use manufacturer-specific versions
💡 Tip: Disable any third-party disk encryption tools temporarily (BitLocker, VeraCrypt)
✅ Step 4: Check Volume Shadow Copy and File System Health
Volume Shadow Copy Service (VSS) and file system errors can interfere with update processes.
Steps:
- Run Command Prompt as Administrator
- Check file system integrity:
chkdsk C: /f /r
Replace C:
with your system drive letter if different
- Schedule check at next reboot:
- Type
Y
when prompted to schedule the check - Reboot the PC
- Reset VSS:
net stop vss
net stop cdrom
vssadmin delete shadows /All /Quiet
net start vss
⚠️ Warning:
chkdsk
may take time depending on disk size and health💡 Tip: Use
vssadmin list writers
to verify all system writers are stable
✅ Step 5: Modify Registry Settings (Advanced)
In some cases, incorrect registry entries related to disk access or update services can trigger this error.
Steps:
- Press
Windows + R
, typeregedit
, press Enter - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\volsnap
- Ensure:
- Start DWORD value is set to
2
(Auto) - If missing, create it
- Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
- Ensure no restrictive policies are enforced
⚠️ Warning: Always back up the registry before making changes
💡 Tip: Use Process Monitor (ProcMon) to trace file/disk access denied events
✅ Step 6: Reset Windows Update Components
Corrupted update components can misreport disk status.
Steps:
- Open Command Prompt as Administrator
- Stop services:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
- Rename SoftwareDistribution folder:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
- Restart services:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
⚠️ Note: These folders will be recreated automatically
💡 Tip: Delete only if no active updates are currently installing
✅ Step 7: Use Windows Recovery Environment (WinRE)
If the issue persists and you suspect deeper system corruption, boot into WinRE and repair from there.
Steps:
- Hold
Shift
while selecting Restart from Start menu - Go to:
Troubleshoot > Advanced options > Command Prompt
- Run:
DISM /Image:C:\ /Cleanup-Image /RestoreHealth
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
⚠️ Note: Must know correct drive letters—use
diskpart
to verify partition assignments💡 Tip: Use
bcdboot C:\Windows /s C:
to rebuild boot configuration if needed
📋 Summary Table: Methods to Fix Error 0x80071128
Method | Pros | Cons |
---|---|---|
DiskPart Clear Readonly | Quick fix for write protection | Risky if used on wrong disk |
DISM/SFC Scan | Repairs core OS files | Time-consuming |
Driver Updates | Fixes hardware compatibility | Requires internet access |
CHKDSK/VSS Reset | Validates disk health | May require restart |
Registry Edits | Deep system tuning | Risk of system instability |
Reset WU Components | Clears corrupted update cache | Temporarily disables update service |
WinRE Repair | Most powerful method | Requires reboot and advanced skills |
🧪 Expert Use Case Scenarios
Scenario | Recommended Action |
---|---|
Fresh Windows install with update failure | Run DISM from WinRE |
Corporate environment | Deploy approved drivers via SCCM |
Encrypted disk (BitLocker) | Suspend BitLocker before running disk checks |
Dual-boot or VM testing | Ensure disk passthrough is allowed |
Persistent Store app failure | Reinstall AppX packages manually |
📌 Final Expert Recommendations
✅ Do:
- Always verify disk health and driver status before applying major updates
- Keep system partitions clean and defragmented (for HDDs)
- Regularly audit update logs (
C:\Windows\Logs\WindowsUpdate
) - Maintain a recovery drive or ISO for WinRE access
❌ Don’t:
- Ignore early signs of disk corruption
- Force update installations repeatedly without diagnosis
- Modify system files or registry without understanding impact
📚 Conclusion
Error 0x80071128 can be misleading—it often has nothing to do with physical media write protection but rather how Windows interprets or interacts with the file system and storage subsystem.
By following this expert-approved guide, you now have the knowledge to:
- ✅ Diagnose and resolve root causes behind the error
- ⚠️ Understand when to apply low-level disk tools vs. high-level system repair
- 💡 Apply advanced techniques like WinRE, DISM, and registry modifications
Remember:
- Start with basic checks like disk read-only status
- Escalate to system file repairs and driver updates
- Only modify the registry or use WinRE if necessary
With the right approach, you’re not just fixing an update error—you’re reinforcing your system’s stability and long-term update readiness, like a true Windows system and update expert.
No responses yet