How to fix Update Error Code 0x80070005 in Windows 10

Are you seeing a pop-up message saying “An error has occurred in the program during initialization. Error code: 0x80070005“? There are many presumable reasons that can generate this error code on your computer. Follow these easy fixes on your computer to fix the issue in no time at all.


ADVERTISEMENT

Fix-1 Disable Windows Security-

1. Press Windows key+I to open Settings.

2. In the Settings window, click on “Update & Security“.

 

Update And Security

 

3. In the Settings window, on the left-hand side, click on “Windows Security“.

4. On the right-hand side, click on “Firewall & network protection“.

 

Firewall And Network Protection

 

Windows Security window will be opened.

5. In the Firewall & network protection window, click on the network type beside which you will notice “(active)

(Like this computer is connected to a Private network. So ‘Private network’ is shown as ‘active‘. )

 

Private Network

 

6. Now, scroll down until you see Microsoft Defender Firewall.

7. Then, switch Microsoft Defender Firewall to ‘Off‘.

 

Defender Off

 

8. Now, click on the ‘Home‘ icon (🏠) on the right-hand side to go back to the Windows Security window.

 

Home Windows Security

 

9. Now, in the Windows Security window, click on “Virus & threat protection“.

 

Virus And Threat Protection

 

10. On the right-hand side, scroll down to Virus & threat protection settings section, click on “Manage settings

 

Manage Settings

 

11. In Virus & Threat protection settings, in the “Real-time protection” option, toggle it to “Off“.

 

Off

 

Reboot your computer. After rebooting, try copy-pasting the file/folder again.

IMPORTANT:

Windows Defender Firewall and Real-time protection constantly shield your computer from potential threats and dangers. Turning these off will make your device vulnerable to those threats. So, we strictly suggest you turn both the settings  “On” immediately after attempting the solution on your computer.


ADVERTISEMENT

 

Fix-2 Restart VSC service-

Volume Shadow Copy (VSC) service organizes several processes to create a shadow copy of your important data.

1. Press Windows key+R to open Run Window.

2. In the Run window, type “services.msc” and then hit Enter.

 

Services

 

3. In the Services window, scroll down till you see the “Volume Shadow Copy” service.

4. Now, right-click on “Volume Shadow Copy” click on “Start“.

 

Start Vsc

 

5. Now, right-click on the same service and then click on “Restart” to restart the service.

 

Restart Vsc

 

Close the Services window.

Check if the error message is still appearing or not.

 

Fix-3 Manage Access permission-

This problem also can occur due to the lack of proper access permission.

NOTE

You will need to create a restore point on your computer before proceeding to the main solution. If you don’t know how to do it, follow our step-by-step guide on how to create a restore point. In case if anything goes wrong, you can easily restore your system back to normal again.

 

Step-1 Create SubInACL folder in the C: drive

1. Press Windows key+E to open the File Explorer window.

2. In the File Explorer window, double click on “Local Disk C:“.


ADVERTISEMENT


 

Local Disk C Double Click

 

3. Right-click on the space and then click on “New>” and then choose “Folder“.

4. Name the new folder as “SubInACL“.

 

New Folder

 

Close File Explorer window.

 

Step-2 Download and Install SubInACL package-

1. Visit this link.

2. Click on “Download” to download the SubInACL installer.

 

Download

 

3. Now, choose a suitable download location on your computer and click on “Save“.

 

Save

 

Close the browser window.

4.  Go to the location where you have downloaded the installer.

5. Double click on the “subinacl.msi” to start the installation process.

 

Sub Dc

 

6. Click on “Next“.

 

Next

 

7. Then, click on “Browse“.

 

Browse

 

8. Now, navigate to the location of the “SubInACL” folder you have created earlier.

9. Next, click on “OK“.

 

Navigate To Acl

 

10. Now, click on “Install Now“.

 

Install Now

 

11. Once the installation is done, click on “Finish” to finish the installation process.

 

Finish Now

 

Step-3 Create and Run a script-

Now, you have to create and run a simple batch file on your computer.

1. Click on the Search box beside the Windows Icon, type “Notepad“.

2. Now, click on “Notepad” in the elevated search result.

 

Notepad Search

 

3. Copy these lines from here and paste those in the blank Notepad page.

@echo off 
Set OSBIT=32 
IF exist "%ProgramFiles(x86)%" 
set OSBIT=64 
set RUNNINGDIR=%ProgramFiles% 
IF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)% 
C:\subinacl\subinacl.exe /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f 
@Echo Gotovo. 
@pause

 

4. After that, click on “File” from the menu-bar and then click on “Save as“.

 

Save As

 

5. Now, set the “File name:” as “Script1.bat” and click on “Save as type:” and set it as “All files“.

6. Next, click on “Save” to save the batch file.

 

Save Final

 

Close the Notepad window.

7. Go to the location where you just saved the batch file.

8. Now, right-click on “Script1.bat“, and then, click on “Run as administrator“.

 

Script Run As Admin

 

Wait till the process is complete.

Reboot your computer.

Check if this helps.

 

Step-4 Create and Run another script-

You have to run another script on your computer.

1. Open Notepad on your computer.

2. Copy and paste these lines in the blank Notepad page.

@echo off 
C:\subinacl\subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f 
C:\subinacl\subinacl.exe /subdirectories %SystemDrive% /grant=administrators=f 
C:\subinacl\subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f 
C:\subinacl\subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=system=f 
C:\subinacl\subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=system=f 
C:\subinacl\subinacl.exe /subdirectories %SystemDrive% /grant=system=f 
@Echo Gotovo. 
@pause

 

3. Click on “File” and then, click on “Save as“.

 

Save As 2

 

4. Then, set the “File name:” as “Script2.bat” and for “Save as type:“,  set it as “All files“.

5. Now, click on “Save” to save the batch file.

 

Script2 Save

 

Close the Notepad window.

6. Go to the location where you just saved the batch file.

7. Now, right-click on “Script2.bat“, and then, click on “Run as administrator“.

 

Script Run As Admin

 

Once the batch file has finished executing the commands, reboot your computer.


ADVERTISEMENT

After rebooting your computer you won’t see the error message again.

 

Fix-4 Change read-only attribute of System Volume Information-

Changing the read-only status of System Volume Information may solve this issue.

1. Press Windows key+E to open the File Explorer window.

2. In the File Explorer window, double click on “Local Disk C:“.

 

Local Disk C Double Click

 

3. Now you need to click on “View” on the menu bar.

4. Now, click on “Options“.

 

View Option

 

5. When the Folder Options window appears, click on the “View” tab.

6. Then, check the option “Show hidden files, folders, and drives“.

 

Show Hidden Files

 

7. Now, scroll down and uncheck the option “Hide protected operating system files (Recommended)“.

 

Uncheck Hide

 

8. If there is a confirmation message, click on “Yes“.

 

Yes

 

9. Next, click on “Apply” and then click on “OK“.

 

Apply Ok

 

10. Now, you will see the ‘System Volume Information‘ folder in C: drive.

11. Right-click on the “System Volume Information” folder and then click on “Properties“.

 

System Vol Props

 

11. In Properties window, make sure to leave a  ‘Box‘ checkmark in the “Read-only” option.

12. Finally, click on “Apply” and then click on “OK“.

 

Read Only Check

 

Close the File Explorer window.

ADVERTISEMENT

1 thought on “How to fix Update Error Code 0x80070005 in Windows 10”

Comments are closed.