Visual C++ 2005 error: Error creating process Reason: C:\windows\system32\advpack.dll (NETIQKB71748)

  • 7771748
  • 24-Aug-2009
  • 29-Dec-2009

Environment

Installing prerequisites for Security Manager 6.5
Visual C++ 2005 Redistributable SP1
x64 (64-bit)

Situation

I'm installing the prerequisites for Security manager 6.5 on my 64bit server and it's erroring on the Visual C redist program.

Visual C++ 2005 error: Error creating process VCREDI~2.EXE Reason: C:\windows\system32\advpack.dll

x64

Installing prerequisites for Security Manager 6.5

Visual C++ 2005 Redistributable SP1

Resolution

To correct this issue, set your environment variable for TMP and TEMP to a shorter path such as c:\temp.

To set your environment variable:

  1. Right-click on My Computer.
  2. Select Properties.
  3. Click Advanced.
  4. Click the Environment Variables button at the bottom.
  5. Highlight TEMP and click Edit.
  6. Make changes.
  7. Repeat for TMP
  8. Click OK until you are completely out of it.

Now you can retry the installation.  Once you have finished, you can either set the variables back or leave them as they are.

 

Cause

This error can happen on 64bit machines when installing the prerequisites through the installer for Security Manager 6.5.

This also happens when running the executable for the Visual C++ Redistributable by itself.

The installer is having trouble writing the your TEMP folder.

Additional Information

Formerly known as NETIQKB71748