How to fix Windows Error 1406?

Error 1406 occurs mostly when user is tries to install a new program that uses the Windows Installer runtime. Official Microsoft documentation gives almost nothing about this error. Microsoft says error 1406 may happen on extremely ancient Windows versions like Windows 95, 98 or ME because of registry values limit (16,386 on Windows 98, for example). Using Windows Installer runtime 2.0 and newer solves this issue, but not to the modern Windows versions, thus the user has to figure out how to solve Windows Error 1406 during program installation by itself.

How to Solve Windows Error 1406?

This error is related to the Windows registry and indicates that the system can’t write required values during the installation process because of insufficient access level. Usually, it says Error 1406. Could not write value to key or Error 1406. Setup cannot write the value to registry key. Here’s how to fix this.

First, run installation file as Administrator. Right-click file and press Run as Administrator. If your user has no Administrator privileges, you will have to type in Administrator password.

If the error occurred again, boot your PC in clean boot mode. This method works on all Windows versions from Windows XP up to Windows 10:

  1. Press Win + R and enter msconfig command;
  2. Select Selective startup on the General tab and uncheck Load startup items;
  3. Open Services tab and check Hide all Microsoft services. Next press Disable all;
  4. Restart your PC and try to run the installation with Administrator privileges again.

Don’t give up and don’t restart your PC again if the error refuses to go. Pay close attention to the error message. Usually, it shows a path to the key system can’t open or write. For example, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\… Copy this path.

READ ALSO:  How To View Files Locked By App Lock Without Unlocking?
  1. Now press Win + R and type regedit. This command opens the Registry Editor. Navigate to the key you need using left panel or address bar;
  2. Right-click on the key and select Permissions;
  3. Click SYSTEM and check if Full Control permission is allowed;
  4. Next, click Add, type your account email and click Check Names. Press OK;
  5. Check Full Control checkbox and then click Advanced;
  6. Select your user and check Replace all child object permission entries with inheritable permission entries from this object checkbox. Press OK and close all opened windows.

Try to install the program again.


  1. I tried all of these and it still would not install. I even tried Safe Mode. None of these worked for me. I was trying to install a SMTP.

    Method 4 : Use Fix it

    Fix it is the automatic troubleshooter application provided by Microsoft. It solves the issue automatically without any User involvement.

    Download the Fix it Application From here.
    After installing and running the application.
    Click on Run Now option in front of the Fix problems that programs cannot be installed or uninstalled.
    It will automatically fix the issue. Now enjoy running the installation.

  3. issue has not fixed for me yet .. tried all 4 methods.. tried to give permission to the registry key but it shows
    ‘Access denied ‘. Plz help me..

Leave a Reply

Your email address will not be published. Required fields are marked *