Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Skills Center
  • Consulting
  • About
  • Contact Support
  • Home

  • Installation

      • Troubleshooting

          • Errors & Solutions

              • License Management

                  • Info

                      • Remote Solve Manager

                          • Employee Login

                          Can't find what you're looking for?

                          Contact Support

                          Installation & Licensing Center

                          • Home
                          • Installation
                            Installation Guides Installation Tasks Requirements & Info Optional Configurations Uninstallation
                          • Troubleshooting
                            Troubleshooting Guides License Manager Connectivity Issues License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Diagnostic Resources & Logs Other Tasks
                          • Errors & Solutions
                            Behavior Based Issues & Solutions Error Messages & Solutions
                          • License Management
                            FlexNet Licensing Shared Web Licensing Elastic Licensing Licensing Portal Administration License Borrowing Reporting & Usage Stats Other
                          • Info
                          • Remote Solve Manager
                          + More

                          HOW TO - Check & Repair Windows Installation

                          Authored by Caleb Scharf September 18th, 2024 11308 views 4 likes KB956131

                          Description

                          Ansys and other applications rely on Windows OS files and components and a healthy Windows OS is a pre-requisite to running Ansys successfully.  A corrupt/unhealthy Windows installation can cause problems with Ansys software such as applications not opening properly, applications crashing/hanging, blue screens, problems with Windows updates not installing or other errors that are hard to pin down. The following procedure will check and resolve issues with a corrupt Windows Installation and/or Windows update mechanism.

                          Warning

                          The steps in this article (based on this Microsoft article) provide a good starting point for identifying and fixing corrupt Windows system files. However, each problem is different, and the troubleshooting process may diverge from the steps below and require help and expertise from your IT Department to troubleshoot further.

                           

                           

                          Solution

                          Important

                          Screen shot any errors you receive while running the steps below so they can be researched later.

                           

                           

                          Step #1 - Run Windows Updates

                          Windows updates contain OS fixes that can resolve issues you may be experiencing.  Additionally, if they fail to run or install, this tells us there is a deeper problem with OS system files.

                          1. Windows Search > search and select Check for Updates > select Check for Updates
                          2. Install all Windows Updates and restart if necessary.
                          3. If you experience problems or errors while updating Windows, please see HOW TO - Troubleshoot Windows Update Errors.  If you are performed these steps, please continue to the next step.
                           
                           

                          Step #2 - Run Windows Check Disk

                          1. Open an Administrator Command Prompt‍ and run the following command:
                            Note: You can use this same command prompt windows to perform all the commands in this article.

                            chkdsk c:

                             
                          2. If this step detects errors run the following command to schedule a repair.

                            chkdsk c: /r

                            Machine generated alternative text:
Administrator. Command Prompt - Chkdsk c: /r 
C: Chkdsk c: /r 
he type of the file sys em IS 
Cannot lock current drive. 
s. 
Chkdsk cannot run because the volume is in use by another 
process. Would you like to schedule this volume to be 
checked the next time the system restarts? (Y/N) Y 
Type "Y" and then 
press Enter
                          3. Restart your computer and allow the repair process to occur.
                          4. Ensure this was successful by Re-Running "chkdsk c:" as you did the steps above and insure there are no errors.
                          5. Lastly, if errors were found in your initial check, we recommend running Crystol Disk Info, which can check the health of your hard drive and ensure a failing hard drive is not the root cause of the disk errors.  
                            • Disk errors can also be caused by improper shutdowns or other software/hardware errors.
                           
                           

                          Step #3 - Verify Windows Installation Health

                          1. Open a Administrator Command Prompt‍ and run the following commands sequentially.
                            • This ScanHealth command performs an advanced scan to determine if there are any corruptions inside the local Windows 10 image. Proceed to next step no matter the result.

                               DISM /Online /Cleanup-Image /ScanHealth
                          Success Example Error Example 
                          Administrator: Command Prompt : \Windows\system32 DISM /Online /C1eanup -Image /ScanHea1th Deployment Image Servicing and Management tool ersion: 10.0.19041.844 Image version: 10.0.19042.928 1------------------------==100. he operation completed successfully. No component store corruption detected.

                          This indicates there is a problem with the Windows OS health

                           

                           

                           

                          1. Whether there are errors or not in the previous step, run the following command.  
                            • If there are problems with the system image, this command will automatically scan and repair common issues. 

                              DISM /Online /Cleanup-Image /RestoreHealth
                          Success Example Error Example 

                          Administrator: Command Prompt : DISM /On1ine /C1eanup-Image / RestoreHea1th eployment Image Servicing and Management tool ersion: 10.0.19ø41.844 Image version: 10.0.19042.928 The restore operation completed successfully. he operation completed successfully. Windows
                          This indicates there is a problem with the Windows OS health

                          1. If you encounter errors, run the following command and then repeat the /RestoreHealth command above.

                            dism.exe /online /Cleanup-Image /StartComponentCleanup

                          1. If the RestoreHealth command continues to produce errors, this means that the local files cannot be used to perform the cleanup and you will need to create and attach an OS installation disk/ISO and run the following command (modifying the source path as necessary). 

                            dism /online /cleanup-image /restorehealth /source:WIM:d:\sources\install.wim:2 /limitaccess



                            Note:  If there are errors in this step, you will need to contact your IT support team to troubleshoot further or perform a fresh reinstall of the Windows OS.
                          2. Run the repair command
                            • This command will attempt to perform the repairs to your OS.  If this step does not complete successfully, you will need to troubleshoot further with your IT department or reinstall your OS.

                              sfc /scannow
                          Success Examples Error Examples

                          This example indicates, with a reasonable degree of confidence, that there isn't nor was problems with the Windows OS health:

                          Administrator: Command Prompt : \Windows\system3 sfc / scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. erification 100% complete. indows Resource Protection did not find any integrity violations.

                           

                          This example indicates there was problems with your OS, but it should be fixed now:

                          *To be thorough, we recommend running sfc /scannow again, to verify everything was repaired successfully.

                          This indicates there is a problem with the Windows OS health and it was not repaired - possibly because the previous steps did not complete successfully.
                           
                           

                           

                           

                          Was this helpful?

                          Yes
                          No

                          4 out of 6 found it helpful

                          Related Articles

                          HOW TO - Troubleshoot Windows Update Errors

                          Popular Articles

                          Ansys Download & Installation Guide (Start Here!)

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          HOW TO - Uninstall Ansys Software

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

                          ERROR - Hostid in the license file is not a valid hostid

                          Was this helpful?

                          Yes
                          No
                          Give feedback about this article

                          Can't find what you're looking for?

                          Contact Support

                          Recently Updated

                          • HOW TO - Reset Your Ansys Profile Folder
                          • ERROR - Mechanical failed to open the database
                          • HOW TO - Troubleshoot a Windows Bluescreen (BSOD)
                          • HOW TO - Clear Shared Web Licensing Credential Cache
                          • HOW TO - Generate a Personal Access Token for an Unattended Workflow
                          • HOW TO - Borrow & Return an Ansys License
                          • ERROR - Ribbon/Toolbar Missing From Fluent
                          • HOW TO - Manage Users & Groups for Shared Web Licensing
                          • ERROR - Tomcat Vulnerability CVE-2025-24813 detected in Ansys License Manager
                          • General Inquiries & Sales:
                          • (800) 566-9190
                          • Info@SimuTechGroup.com
                          • Contact Support
                          • Software
                          • Services
                          • Case Studies
                          • Ansys Training
                          • Consulting
                          • Technical Support
                          • About SimuTech
                          • Careers
                          • Privacy

                          © 2025 SimuTech Group


                          Knowledge Base Software powered by Helpjuice

                          Definition by Author

                          0
                          0
                          Expand NEW TAB

                          Hi there! 👋

                          How are you liking the Installation Center?

                          Terrible

                          Bad

                          OK

                          Good

                          Excellent

                          Feedback Successfully submitted