HOW TO - Check & Repair Windows Installation
Authored by Caleb Scharf
February 1st, 2022
1623 views
0 likes
KB956131
Description
Ansys and other applications rely on Windows components to run properly. While not a common cause of Ansys errors, a corrupt or unhealthy Windows installation can cause problems with Ansys software such as applications not opening properly, windows crashing, blue screens, problems with windows updates not installing, application hangs or other hard to troubleshoot errors. The following procedure will check and resolve issues with a corrupt Windows Installation and/or Windows update mechanism.
Solution
Step #1 - Run Windows Updates
Windows updates contain OS fixes that can resolve issues you may be experiencing or if they fail, can tell us of a potentially deeper problem with OS system files.
- Windows Search > search and select Check for Updates > select Check for Updates
- Install all Windows Updates and restart if necessary.
- If you experience problems or errors while updating Windows, please see HOW TO - Troubleshoot Windows Update Errors
Step #2 - Run Windows Check Disk
-
Open a Administrator Command Prompt and run the following command (You can use this same command prompt windows to perform all the commands in this article):
chkdsk c:
-
- If this step detects errors run the following command to schedule a repair.
chkdsk c: /r
- Restart your computer and allow the repair process to occur.
- Insure this was successful by Re-Running "chkdsk c:" as you did the steps above and insure there are no errors.
Step #3 - Verify Windows Installation Health
- This process is comprised of several commands that are run sequentially.
-
DISM /Online /Cleanup-Image /ScanHealth
- Whether there are errors or not in the previous step, run the following command in an elevated command prompt. If there are errors in this step, please contact support.
DISM /Online /Cleanup-Image /RestoreHealth
- Finally, run the following command to complete this process. If this process finds and fixes errors, that is a good sign that this may have been the cause or contributing factor to the problems you were experiencing and your issue may be resolved. If no problems were fixed, you can be confident that your Windows installation is healthy and is not likely a contributing factor.
SFC /scannow