Ansys Learning Forum Maintenance

NOTICE: We will be performing backend maintenance of our Learning Forum from April 5 to April 12, 2021. The result will be a new infrastructure but with little impact to user experience and design. Currently the forum is accessible in read-only mode as we complete our final migration. Thank you for your patience. For urgent issues please visit HERE.

"Critical Error" During Installation — Ansys Learning Forum

"Critical Error" During Installation

Hello there Ansys Team,

In efforts to install the Student version of Ansys, I have encountered an issue that I was not able to solve. I hope it could be resolved with your help.

Some background: I recently installed a new hard drive, an HDD, on which I hope to store all of my "heavy" applications. I initialized the drive and titled it the "D" drive. I have done so as the OME "C" drive (an SSD) has reached storage capacity; beyond the minimum required by the Ansys specs. It seems that the new drive is operating nominally.

When attempting to install Ansys using the install Wizard, I chose the desired directory by changing the default selection from "C" to the "D" drive, but I repeatedly receive the following error " Critical Error" (see attachment). I assume that the error is due to the choice of directory, but I may be wrong. I reached this conclusion as the Ansys requirement list states that "Local C Drive to be present".

Unfortunately, I am unable to test the install in the "C" drive as it full to the brim with needed software.

What are my options?

The download was attempted on 03/29/21 from the following link:

Thank you for your help,



  • Geo KarnosGeo Karnos Ansys Employee Posts: 112


    Can you open a dos Command prompt and type in: set

    Check what the TEMP and TMP variables are set to.

    If set to C:\.... You may need to set it to a directory on d:\


  • RivdaveRivdave Member Posts: 3

    Geo, thank you for the prompt response.

    Temp and TMP are currently set to C:\. How could I change it to D:\ ?

  • Geo KarnosGeo Karnos Ansys Employee Posts: 112

    To change the location of the System Temp folder, follow the steps given below.


    1. Right click on Computer and click on Properties. In the resulting window with the basic         
    2. information about your computer
    3. Click on Advanced system settings on the left panel resulting in a dialog box click on the advanced tab.
    4. Click on the button near the bottom labeled Environment Variables.
    5. You may see both TMP and TEMP listed in the section labeled User variables for (account). That's the common location; each different login account is assigned its own temporary location.
    6. In the Variable value Edit box you may specify the path to the directory that Windows and many other programs will use for temporary files.


    Be sure and repeat that process for both TMP and TEMP.

    You'll need to restart any running programs for the new value to take effect. In fact, you'll need to restart Windows for it to begin using the new value for its own temporary files.

  • RivdaveRivdave Member Posts: 3


    Per your suggestion, I change both the TEMP and TMP directories to the D drive, the drive where I wish to install Ansys. I made sure to do so in the Admin account and the User account. This time Ansys began to install but stalled at 89% of the install due to the same error- Critical Error. Attached is a picture of the progress log.

    What do you think is the cause of that?

    Many many thanks for your help

Sign In or Register to comment.