This error is encountered when users try to update their Windows Operating System. This is a system error that is caused due to a corrupt system file. This can lead to other problems such as Windows not being able to update or other System applications that might not update. It can also cause third-party Software Applications installed on your system to stop working.
It is important to keep the Windows updated because if you miss the security updates then you leave your system vulnerable to cyber attacks, viruses, and malware. Even if the update does not remove the security vulnerability, it still enhances the overall stability of the computer system and it also installs the latest features offered by the Windows Operating System and also patches the already installed software.
Method 1: Manually Update the Windows
In this method, we will try to update the Windows Operating System through the Command Prompt also known as the Power Shell. Windows Power Shell offers more control over the operating system and allows the user to perform tasks that are otherwise not possible to perform in the native Graphical Environment.
- Open Windows Power Shell by going to Windows Start > Windows Powershell, run this program as administrator.
- In the PowerShell type in the following commands in the sequence.
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old Ren C:\Windows\System32\catroot2 Catroot2.old net start wuauserv net start cryptSvc net start bits net start msiserver
- Now to go to Windows Search Box and type the following command and press Enter.
- You will see the file with the name CBS.Log, rename it to something else.
- If you are unable to rename the file then again go to the Search box and type in Services.
- Find the Windows Module installer Service and double click on it to open the properties
- Change the startup type to Manual and then restart the computer.
- Now try to Rename the CBS.log file as instructed in step and then again restart the computer.
- Once restarted change the Windows Module Installer Startup Type to Automatic.
- Now go to the Microsoft Oficial website and by clicking on this link and click on the Update Now button.
Method 2: Perform a Repair Install of Windows 10
In this method, we will perform a repair install of Windows 10. This method allows an in-place upgrade without losing anything other than all installed Windows Updates. You will keep all the previously installed applications and programs since an in-place upgrade works the same as a normal upgrade. You do not need to go into boot or Safe Mode to perform this upgrade, it can be done directly from the Windows Environment. You will need to make sure that you have the following available:
- At least 9GB of free space on the drive where Windows is installed
- An installation media (CD or Bootable USB) which has the same .ISO image file that is already installed on your computer including the exact same edition and build
- The installation media should be in the same language as the system default language of your currently installed Windows.
- The .ISO image should be the same as your current Windows architecture, i.e. if you have 32-bit Windows installed the .ISO should be 32-bit as well and if you have the 64-bit version installed then .ISO image should also be the 64-bit version.
- You should be logged in as an Administrator account to perform this upgrade
- Download the Windows .ISO file and mount it by
- If you do not see the Mount option then click the Open with option and select Windows Explorer. This will mount the .ISO file.
- Once the Image File has been mounted you will be able to see it in the My Computer
- Open the Drive which has the mounted .ISO file and run setup.exe to start Windows Setup.
- If a dialog box appears that prompts you to allow the program to make changes click Yes.
- You will see a message box that says Windows is preparing the setup.
- Once the preparation is done click on Change how Windows Setup downloads updates.
- Select the option not right now and click Next.
- You will see the setup Getting things ready.
- Accept the License Agreement and then the Windows Setup will begin to search for and install any updates
- When updates are ready, click on the Install button but keep in mind once you click the install button you will not be able to cancel the process until updates have been installed.
- You will be prompted to choose whether you want to keep your files and apps or not, choose the appropriate option and click Next.
- Windows Setup will start the process of in place upgrade to repair the Windows.
- Once the process is finished you will then be taken to the Sign-in screen.
- Make sure you unmount the Image file and set up the Time and Date according to your Time zone.
- Now go to Command Prompt and Run as Administrator.
- Enter the command sfc /scannow to repair the missing or corrupted files
- Now Turn off the Fast Startup Option if you have it enabled, open the Control Panel in Icons view and click on Power Options
- Click the option Choose what the power buttons do.
- Click on the link that says change settings that are currently unavailable
- Under the Shutdown settings, uncheck the Turn on Fast Startup box and then click the Save Changes button to apply changes