How To Fix Windows Error 127
This error can appear during the installation of the program, at system startup, or even during the installation of the OS. Often accompanied by slow PC performance and freezing. Causes:
- incomplete software installation;
- an error in the registry due to the installation / removal of software;
- viruses.
In this article, we will take a step-by-step look at several ways to solve this problem.
System rollback
Before you start downloading utilities and cleaning up junk, we recommend running an OS restore to roll back recent changes. For this:
- In the search box, enter the word “Recovery” -> click “Recovery”.
- “Start System Restore” -> follow the instructions of the restore wizard.
Recovering registry entries
- Download CCleaner -> select the “Registry” item and start searching for problems.
- After the end of the scan, click “Fix Selected” (just in case, save the backups by clicking yes in the menu that appears).
- Correct the marked ones and start the search again.
Virus removal
Since error 127 can be caused by virus activity, download an antivirus (such as Avast or Dr. Web) and scan your system for infected files and malware.
Cleanmgr utility
With daily use of a PC or surfing the Internet, a lot of garbage accumulates in the system. If you do not clean it, the operating system performance is significantly reduced, and this leads to the annoying error 127. To get rid of the trash, we will use the built-in cleanmgr utility.
- In the search bar, type cmd (don’t press Enter).
- Hold CTRL + Shift and ENTER -> click “YES” -> a command line will appear.
- Enter cleanmgr -> ENTER.
Scanning starts.
- After completion, a window will open, tick all the items -> ok -> confirm the deletion, after which the cleaning will start.
Updating Drivers
If the above methods do not bring results, download DriverPack from the Internet, preferably on the official website. Further:
- Run the downloaded file.
- Click “Configure your computer automatically” – the scan will start and the necessary drivers will be installed.
- Restart your pc when finished.
Uninstalling the problematic program
If this error appears only during the launch of a certain program, try uninstalling and reinstalling it.
sfc / scannow – system file checker
sfc / scannow is another built-in OS tool to help recover corrupted files. To run it:
- In the Windows search bar, type cmd (don’t press Enter).
- Hold CTRL + Shift and ENTER -> click “YES” -> we see the command line.
- Enter sfc / scannow -> Enter, the check will start.
- Follow the instructions and wait for the end.
- Restart your pc.
Update Windows
Follow the simple instructions to update your OS:
- In the Windows search bar, enter “Update” -> check for updates.
- In the window that appears, click “Check for Updates”.
- We are waiting for the end and restart the computer.
“Clean” OS installation
This method is a last resort, in case none of the methods helped. Find a distribution kit with an operating system, upload all the files you need, photos, etc. to the USB flash drive. and proceed. Restart the pc -> call the BIOS (usually with the Delete button) -> go to the Boot section -> and on 1st Boot set your USB flash drive or disk with the OS -> click F10, confirm the settings are saved.
After rebooting, the message “Press any key” will appear.
- After the menu appears, click “next”.
- We choose “full installation”.
- We are looking for a disk with the old system -> formatting -> next.
We are waiting for the end of the installation and loading of Windows (during the installation process, the PC may reboot, do not touch anything!).
We hope our article helped in fixing the error!