Forum Discussion
Windows Error 0x80070005: Unlock Xbox Downloads
If you are trying to install or update software on PC and the process immediately freezes with code 0x80070005, it is because the underlying Windows security system has locked its own file folders. When an OS update shifts folder ownership settings behind the scenes, the system basically strands your desktop interface and rejects new file creation. You can clear this storage block and restore access natively using either of the two independent methods below.
Restore Access Permissions to the Local AppData Folder
You can force Windows to restore full write privileges by updating folder ownership permissions:
- Open the Run dialog by pressing Windows Key + R, type %localappdata%, and press Enter.
- Navigate up one folder level in File Explorer, right-click the Local folder, and choose Properties.
- Click into the Security tab, click Edit, select your user account, check Full Control, and click Apply and OK before restarting your PC.
- For secondary drives like a D: or E: partition, go straight to the root directory, delete the application data folders, recreate them manually, and restart the environment.
Reset System Security via Command Prompt
Running a system configuration script can clear locked registry keys and permission conflicts:
- Open Command Prompt as an administrator and run this command string to reset your security configurations: secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
- Let the script run completely and restart your computer once the terminal finishes.
- If issues persist, go to Settings, click through Apps and Installed Apps, locate the target package icon, and select Advanced Options to run the built-in Repair and Reset tools.
Manually resetting those folder privileges or running that terminal script usually untangles the loop right away. Hopefully, forcing the OS to respect the standard access path gets the desktop environment running normally again without any more freezing.