DameWare - Work around for SWRegInst Error

Issue:

In some situations, when installing DameWare you may get this installation error:

post_dameware_error.png

When you check the Windows Application event log, you will see this message:

post_dameware_eventlog.png

This seems to be caused by a GPO blocking access to the users’ temp folder and that causes the installation to fail.

Resolution:

Edit the Host file:

  • Open Notepad as an Administrator so you can edit and save the file
  • Browse to C:\Windows\System32\drivers\etc
  • Change the file type to ‘All Files’
  • Choose the ‘hosts’ file

post_dameware_hostfile.png

  • Add this line - 127.0.0.1 registereval.solarwinds.com

   post_dameware_hostfileedit.png

  • Save the file

Edit the Environment Variables:

  • Go to the Control Panel
  • Go to System
  • Click on the ‘Advanced system settings’
  • Go to the Advanced tab
  • Click on the Environment Variables button
  • In the Environment Variable window, change both the ‘TEMP’ and ‘TMP’ variables to C:\Windows\Temp

Note: I backed up the current values for each of these, because I would change them back after the installation is complete both of mine were currently set to ‘%USERPROFILE%\AppData\Local\Temp’

post_dameware_variables.png

  • Highlight TEMP and click Edit
    • Change the value to C:\Windows\Temp
  • Highlight TMP and click Edit
    • Change the value to C:\Windows\Temp

post_dameware_variabledetails.png

  • Click OK to close the Environment Variable window
  • Click OK to close the System Properties window
  • It may be necessary to restart the machine to make ensure the settings take effect

How to check the environment variables:

  • Open a command prompt
  • Type ‘set’
  • Look for the variable sections at the bottom of the output for TEMP and TMP

post_dameware_setcommand.png

After the machine reboot:

  • When you are logged back into the machine, right click on the DameWare installer and ‘Run as Administrator’

post_dameware_runas.png

Restore your Environment Variables:

Once DameWare is installed, you can restore the system variables to your previous settings

  • Go to the Control Panel
  • Go to System
  • Click on the ‘Advanced system settings’
  • Go to the Advanced tab
  • Click on the Environment Variables button
  • In the Environment Variable window, change both the ‘TEMP’ and ‘TMP’ variables to their previous values
  • Reboot the machine if necessary to restore the original settings
DameWare - Work around for SWRegInst Error.pdf