[KB8700] ESET Secure Authentication fails to install or upgrade

Issue

  • ESET Secure Authentication fails to install or upgrade
  • The following error appears in ESET Secure Authentication install or upgrade logs:

    System.IO.FileNotFoundException: Could not find file 'C:\Windows\SystemTemp'

Solution

Use one of the following methods (locally or remotely) to resolve the error: 


Apply the system variable using the Windows Settings app

  1. Press the Windows key + R, type sysdm.cpl, and click OK.

    Figure 1-1
  2. Click the Advanced tab and click Environment Variables.

    Figure 1-2
  3. In the System variables section, click New to add a new system variable.

    Figure 1-3
  4. In the Variable name field, type COMPlus_Disable_GetTempPath2 and in the Variable value field, type true. Click OK.

    Figure 1-4
  5. Click OKOK to save the changes and try to install or upgrade ESET Secure Authentication again.

  6. When the ESET Secure Authentication installs or upgrades successfully, you can delete the system variable you created in step 4.
 

Apply the system variable using PowerShell (before installation)

  1. To apply the system variable to machines remotely and then run the ESA installation:

    Set-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Control\Session Manager\Environment" -Name "COMPlus_Disable_GetTempPath2" -Value "true"

    You can also run the PowerShell command, by proxy, from the CMD:

    powershell.exe Set-ItemProperty "-Path 'HKLM:SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -Name 'COMPlus_Disable_GetTempPath2' -Value 'true'"

Chat with ESET AI Advisor for support