Error 1402 during uninstallation (Could not open key)

Nov 1, 2014

Issue:

When you try to uninstall an AutoCAD based product, you will get the following error:
 

Error 1402.  Could not open key: 
UNKNOWN\Components\Hex#\Hex#.  Verify that you have sufficient access to that key, or contact your support personnel.

 

 

Solution:

The solution is to change the permissions of the following folder in the Registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components

  1. Right Click on Components select permissions.
  2. Click Advanced button.
  3. Select the Owner Tab
  4. Under Change owner to:  Select Administrators (Group) and Click Apply.
  5. Then Select Check box Replace owner on subcontainers and objects and Click Apply.
  6. Go to the Permissions tab, select the Check box:  Replace all child objects Permissions with inheritable permissions from this object and Click apply.  NOTE:  The wording maybe a bit different depending on your operating system.

 

Products:

AutoCAD;AutoCAD Architecture;AutoCAD Civil 3D;AutoCAD Electrical;AutoCAD LT;AutoCAD Map 3D;AutoCAD Mechanical;AutoCAD MEP;AutoCAD P ID;AutoCAD Plant 3D;AutoCAD Structural Detailing;AutoCAD Civil

Versions:

2010;2011

Discuss