Contact Us

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

  • Ansys Training
  • Consulting
  • About
  • Contact Support
  • Home
  • Installation

  • Troubleshooting

  • Errors & Solutions

  • How To's

  • Info

  • Remote Solve Manager

  • Employee Login

Can't find what you're looking for?

Contact Support

Installation & Licensing Center

Contact Us

If you are an active or future SimuTech customer and have questions or simply prefer to get help directly from an engineer, we'd be happy to help!

  • Home
  • Installation
  • Troubleshooting
  • Errors & Solutions
  • How To's
  • Info
  • Remote Solve Manager
+ More

HOW TO - Check & Repair Windows Installation

Authored by Caleb Scharf January 5th, 2023 3128 views 0 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.

Delete

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 you're IT Department to troubleshoot further.


Solution

Screen Shot Any Errors

Screen shot any errors you receive while running the steps below.


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.
Delete

Step #2 - Run Windows Check Disk

  1. 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:
    •  
  2. If this step detects errors run the following command to schedule a repair.
    1. chkdsk c: /r
    2. 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

Delete

Info

The following process is 


  1. Open a Administrator Command Prompt‍ and run the following commands sequentially.
  2. DISM /Online /Cleanup-Image /ScanHealth
    • 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.

      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




  3. DISM /Online /Cleanup-Image /RestoreHealth
    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. 
    2. 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
    3. If you encounter errors, run the following command and then repeat the /RestoreHealth command above.
      dism.exe /online /Cleanup-Image /StartComponentCleanup
    4. 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). 
    5. dism /online /cleanup-image /restorehealth /source:WIM:d:\sources\install.wim:2 /limitaccess
       
    6. 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.

  4. sfc /scannow
    • 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.
    • Success Examples Error Examples

      This example indicates 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 - possibliy because the previous steps did not complete successfully.


Did you like this article?

Yes
No

0 out of 0 liked this article

Related Articles

HOW TO - Troubleshoot Windows Update Errors

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Download & Installation Guide (Start Here!)

Ansys Troubleshooting Guide

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

Accessing the Ansys Customer Portal

Did you like this article?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • ERROR - HTTP Error When Gathering Diagnostics
  • HOW TO - Verify Licenses Can be Checked Out
  • INFO - Understanding Ansys License Files (ansyslmd.lic)
  • ERROR - Black screen in CFX-Pre and CFD-Post
  • INFO - Ansys Version & Release Date History
  • HOW TO - Change Discovery Licensing Mode
  • ERROR - Failover feature 'Discovery - level 1' is not available
  • HOW TO - Add Elastic Licensing in Client Licensing Settings
  • ERROR - spawn lmutil ENOENT

General Inquiries & Sales:

(800) 566-9190

Info@SimuTechGroup.com

Contact Support

  • Software
  • Services
  • Case Studies
  • Ansys Training
  • Consulting
  • Technical Support
  • About SimuTech
  • Careers
  • Privacy

© 2021 SimuTech Group

Definition by Author

0
0
Expand

Thanks for your feedback!

How can we improve this article?

We're glad you liked the article!

What specifically did you like, so we can do that more!

Thanks for your time!

What feedback do you have for us?