Error 1401, 1402, 1406 Setup cannot create Registry Key

Home » Microsoft Office Issues » Error 1401, 1402, 1406 Setup cannot create Registry Key
Microsoft Office Issues No Comments

Error 1401, 1402, 1406 Setup cannot create Registry Key

Error 1401, 1402, 1406 Setup cannot create Registry Key when installing or opening an Office program. You may receive the following error when you try to install or open Office program.

  • Error 1401: Setup cannot create Registry Key.
  • Error 1402: Setup cannot open Registry Key.
  • Error 1406: Setup cannot write the value to the registry key.

Scenario:

Error 1401, 1402, 1406 issue may occur if one of the following scenarios is true:

  • May be setup is damaged or corrupted.
  • May be registry is corrupted or missing due to virus.
  • There is a third-party application on the system that is denying the required access to the registry subkey. In most cases, this behavior is caused by Web Root Spy sweeper or other security software.
  • Computer may not have sufficient permission to install the software. Or insufficient permissions may set registry keys by security software.
  • You may log in to non-administrative user accounts on the computer.

Symptoms:

When you install a Microsoft Office program, you may receive one of the following error messages during or at the end of the installation process:

  • Error 1401: Setup cannot create Registry Key.
  • Error 1402: Setup cannot open Registry Key.
  • Error 1406: Setup cannot write the value to the registry key.
  • “Error 1402. Could not open key: UNKNOWN\Components\C9AE13788D0B61F80AF18C3B9B1A1EE8

Resolution steps:

Follow the below troubleshooting steps to set permissions for the registry key to allow full control.

  1. From the START menu, execute “Run..” and then type “regedit
  2. Navigate to the following parent container: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components. The ‘S-1-5-18’ key may be different on your computer.
  3. Right click on the parent container registry key, which is the “C9AE13788D0B61F80AF18C3B9B1A1EE8” for this example. Choose “Permissions…

4. On the “Permissions for…” dialog box which appears next, press the “Add..” button and add in the “Administrator”, “Administrators” and “SYSTEM” accounts. For ourselves, we also made sure to add in our own local account which had administrator privileges.

5. Back on the first “Permissions for…” dialog box, click on each account in the top-list and make sure each has the “Full Control = Allow” and “Read = Allow” permissions.

6. Click the “Advanced” button so that the “Advanced Security Settings” dialog box appears:

a. On the “Permissions tab” enable the checkmark box named “Replace all child object permissions with inheritable permissions from this object“, and then press the “Apply” button.

b. On the “Owner” tab, highlight the “Administrators” name in the lower list box, enable the checkmark box called “Replace owner on sub containers and objects” and press the “Apply Button”.

7. Repeat the previous 2 steps once more. This time around you shouldn’t get any errors about not being able to update the permissions on the child keys.

8. Exit these dialog boxes by pressing the “Ok” button, so that you are back to the main registry editor.

9. Go and re-run your Microsoft installer or un-installer. It is recommended that you right-click on its icon and execute “Run as administrator” if available.

10. If you continue to get this “Could not open key” message, on the exact same keys, recommended to run the Subncl or Tweaking tool to reset the registry default permission.

11. If you still continue to get “Could not open key” message after reset registry key using Subncl or Tweaking tool. Go go the Windows reinstallation.

LEAVE A COMMENT