0x80070004
Microsoft Windows Update
Severity: ModerateWhat Does This Error Mean?
Windows Update error 0x80070004 means Windows could not find a required folder path during the update process. This happens when a critical system folder that Windows Update expects to exist is missing, renamed, or pointing to the wrong location. The most common cause is a moved or redirected user profile folder — particularly when the Documents, Desktop, or other folders have been moved to a different drive.
Affected Models
- Windows 10
- Windows 11
- Windows 8.1
Common Causes
- A user profile folder (Documents, Desktop, Downloads, AppData) has been redirected to a different drive or path that no longer exists
- The Windows temporary folder path (TEMP or TMP environment variable) points to a location that does not exist
- The user profile directory itself has been moved, renamed, or corrupted
- A group policy or registry change redirected a folder path and the target path was later deleted
- Windows was migrated from one drive to another improperly, leaving broken path references
How to Fix It
-
Check the TEMP environment variable. Right-click the Start button and select System. Click Advanced system settings > Environment Variables. Under both User Variables and System Variables, look for TEMP and TMP. Both should point to a folder that actually exists — typically C:\Users\YourName\AppData\Local\Temp for user variables and C:\Windows\Temp for system variables.
If these paths point to a folder on a drive that no longer exists (like D: or a removed network drive), Windows Update cannot find its temporary storage and fails.
-
Check your user profile folder locations. Open File Explorer, right-click your Documents folder and select Properties. Go to the Location tab. The path shown should exist and be accessible. If it points to a missing drive or folder, click Restore Default to reset it to the standard location.
Repeat this check for Desktop, Downloads, Music, Pictures, and Videos folders. Any one of them pointing to an invalid path can cause this error.
-
Run the Windows Update Troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and run the Windows Update troubleshooter. It checks for path and environment variable issues.
The troubleshooter can automatically detect some path configuration problems.
-
Run DISM and SFC. In Administrator Command Prompt: DISM /Online /Cleanup-Image /RestoreHealth — then: sfc /scannow — restart.
Corrupted registry entries that hold folder paths can cause this error. DISM and SFC repair these registry values.
-
Create a new user account to test. Go to Settings > Accounts > Family and other users > Add someone else to this PC. Create a new local account, sign in with it, and try running Windows Update. If it works on the new account, the issue is specific to your original user profile.
If updates work on the new account, you can migrate your files to it or have a technician repair the original profile's folder settings.
When to Call a Professional
Folder redirection and profile path issues can be complex to diagnose in corporate environments. If you are on a work PC managed by IT, a group policy may be forcing folder redirection to a network location that is currently unreachable. Contact your IT department if you suspect this is the case.
Frequently Asked Questions
What does 'path not found' mean in Windows?
In Windows, a 'path' is the address of a file or folder — like C:\Users\John\Documents. When something tries to access a path that does not exist (because the folder was deleted, moved, or is on a disconnected drive), it gets a 'path not found' error. For Windows Update, this means it tried to use a folder it expected to exist but could not locate. This is almost always a configuration issue rather than a hardware failure.
I moved my Documents folder to another drive. Could that cause this?
Yes, absolutely. Moving user profile folders to a different drive is a common customization that people do to save space on their C: drive. If that drive is later removed, reformatted, or the drive letter changes, all the redirect paths become invalid. Windows Update accesses certain profile paths during installation. Restoring the affected folders to their default C: drive locations (or ensuring the alternate location actually exists and is accessible) will fix the error.
How do I find out which path Windows Update is trying to access?
You can check the Windows Update log for path details. Open PowerShell as Administrator and run: Get-WindowsUpdateLog — this creates a WindowsUpdate.log file on your Desktop. Open it and search for '0x80070004' to find the entries showing which path Windows Update could not locate. This pinpoints exactly which folder path needs to be fixed.