Fix Office 2010 install error 1402 ‘Setup cannot open the registry key: UNKNOWN\Components\…’

I wanted to install the Office 2010 beta. I had Office 2007 installed. I installed the Office 2010 Technical Preview earlier this year. When trying to remove Office 2010 Technical Preview, it asked me for the original CD. Didn’t have it anymore.

I tried to ‘manually’ remove Office 2010. I failed… miserably. Now Office 2007 wasn’t working either. The Office 2007 uninstall failed, too. Aaarrgghh. I ended up not being able to use any Microsoft Office application. After following many ‘removal guides’ like this one and that one, I ended up with the 1402 error while almost having finished the Office 2010 install:


Error 1402. Setup cannot open the registry key: UNKNOWN\Components\<very long CLASS ID ending in>0F01FEC. Verify that you have sufficient permissions to access the registry or contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:\Users\XXX\AppData\Local\Temp\Setup00000e60\PSS10R.Chm.


It is suggested on many websites that running the command ‘secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose‘ will fix this. For me, it didn’t. Maybe it has to do with running Windows, or Office 2007 and the Office 2010 Technical Preview, I don’t know. Probably a combination of those and my ‘hacks’ trying to get them of my system. I finally found a forum post by Bill Castner, a Microsoft MVP, who, in turn, got his info from an MSDN blog post by Aaron Stebner. It explained the use of yet another excellent utility by Microsoft named SubInAcl. This utility does the following:

SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain. For example, if a user has moved from one domain (DomainA) to another (DomainB), the administrator can replace DomainA\User with DomainB\User in the security information for the user’s files. This gives the user access to the same files from the new domain. SubInACL enables administrators to do the following:

  • Display security information associated with files, registry keys, or services. This information includes owner, group, permission access control list (ACL), discretionary ACL (DACL), and system ACL (SACL).
  • Change the owner of an object.
  • Replace the security information for one identifier (account, group, well-known security identifier (SID)) with that of another identifier.
  • Migrate security information about objects. This is useful if you have reorganized a network’s domains and need to migrate the security information for files from one domain to another.

Subsequently, running the following commands fixed my registry error (after copying SubInAcl.exe to my PATH) and I am now running Office 2010 without any problems.

subinacl /subkeyreg HKEY_LOCAL_MACHINE /setowner=administrators
subinacl /subkeyreg HKEY_CURRENT_USER /setowner=administrators
subinacl /subkeyreg HKEY_CLASSES_ROOT /setowner=administrators
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

About Yuri de Jager
Technology Addict

59 Responses to Fix Office 2010 install error 1402 ‘Setup cannot open the registry key: UNKNOWN\Components\…’

  1. Alex says:

    Didn’t help 😦

  2. Alex says:

    BTW this worked great
    “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”

  3. Matt says:

    Alex, Thanks that worked for me also!!

  4. Tamas says:

    Alex, thanks! That worked for me also.

  5. Pingback: Office 2010 Install Error 1402 Setup Cannot Open Registry Key

  6. xcode says:

    C:\Windows\System32>subinacl /subkeyreg HKEY_LOCAL_MACHINE /setowner=administrat
    LookupAccountName : setowner HKEY_LOCAL_MACHINE : administrators : 1337 Идентифи
    катор безопасности имеет неверную структуру.

    Current object HKEY_LOCAL_MACHINE will not be processed

    Elapsed Time: 00 00:00:00
    Done: 0, Modified 0, Failed 0, Syntax errors 1
    Last Syntax Error:WARNING : /setowner=administrators : Error when checking argum

    whats i did wrong ? 🙂

    • Max says:

      you did not enter the name of the administrators group in the language of your installed OS
      the name administrators applies only to english os installations
      in german it is administratoren in russian maybe accordingly different

  7. Nadav says:

    Ive been struggling with this problem for a long time now and im about to explode. After the first subinacl commad it said ”failed 2”. Is there anything to do?

  8. patje says:

    even works over here : “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”

  9. dnk.nitro says:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    solved! Thanks!

  10. Dan says:

    Works for error 1402 in VMWare Server 2.0 Install too!

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    Nice work — thanks!

  11. Noah says:

    “secedit/…” cmd worked when everything else had failed! Thanks!

  12. y2s says:

    works, lets hope everything works after install

  13. Luke says:

    Tried it all, didn’t work… Also removed all earlier installs with Install Clean Up. No succes yet..

  14. Ritesh says:

    Does Not work. please suggest another option.
    both ways didnt work.
    please help

    • Treker says:

      The secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose was unsucessful and afild at 61% and 68/113. Afther that i play a lot with registrykey permissons, but not work.
      Today i make a custom install: word acces excel power point, and i not install what i don’t use. infoparht onenote outlook, etc. After that the installer said me it’s must be install one of what i’m don’t want, i click ok. and afther tjat the instllation is succesful. Crack with MS toolkit 2.5 /office professional plus.

  15. Dan says:

    Didnt work for me neither. How do u exactly apply SubInAcl tool?

  16. Dan says:

    Never mind. I finished the install. Been busy for 2 hrs now:P
    For everyone who still needs a solution, for me did the trick.

    When u get the error message, look it up in regedit, and manually change the permissions.

    During install of office2010, I got 2 different GUIDs.. so in total i had to install three times. Anyway good luck.

  17. Well my problem is solved too.
    I was not able to change the permissions manually.

    you can refer this blog post for the solution . – .

  18. Sérgio Santos says:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose‘

    Solved it! Thanks!!!

  19. Galeano says:

    Thanks a lot for

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    it works

  20. Helena says:

    Worked like a charm on my 2007 reinstallation as well. “secedit/……/verbose” Thank you so much, thought I would go mad!

  21. Cesar says:

    This worked great for me too, open Command Prompt and paste the whole line without the quotation marks. You may have to find the its executive file cmd.exe and select Run as Administrator which is what I did for it to work…
    “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”

  22. arnas says:

    do i need to restart my computer after i do that command prompt line? (secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose)

  23. arnas says:

    No need to answer question above me :] I got fixed my problem to. Thanks all!

  24. Tom Smith says:

    I had some issue with Office 2007 in Windows 7, and did the Windows Uninstall Cleanup on all Office files.

    That may have been a mistake, as I then tried to uninstall Office from Add/Remove Programs, and was told that it couldn’t be uninstalled, components were missing.

    So I tried to reinstall Office, and got the 1402 Registry error ending in /Unknown/Components/…07EC
    or something.

    Went to Accessories,
    tried Run as Administrator Command Prompt:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    and it worked like a charm.

    You will have to cut and paste that command as there are a lot of spaces.

    Thank You.

  25. Pingback: Error 1402 Description Troubleshooting and Solution | Fix | Error Codes

  26. Boris says:

    Alex, you are the man! that “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose” command ran with 73% completion and then finished with an error. BUT that was enough to resolve the problem!

    Thanks a MIL!

  27. SERG says:

    Thanx a lot! Finaly it works!

  28. Pingback: 2010 in review | Yuri's Technology Blog

  29. Larry Allen says:

    were would i get defltbase.sdb file?

  30. Sam says:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose solvied it for me.

  31. Raymundo says:

    This solutions is for Win 7 32 bits, I have Win 7 64 bits. I need help! thx!

  32. I am continuously looking for very good info on this subject. It can be hard to locate occasionally. Thanks!. I will check back in your internet site from time to time for much more information.

  33. bkeating51 says:

    Nothing worked for me. Not SECEDIT nor SUBINACL nor downloading “Guided Help” or anything. Never were fortunes less deserved than those of Bill Gates and associates who managed to peddle his primitive, ramshackle DOS operating system to IBM for use in its first personal computer. How many years has this error been out there affecting thousands and it was never fixed?

    Finally I used REGEDIT to access the very key that could not be accessed by the installation program. I changed all the associated permissions to recognize me, the administrator, as the only user and gave myself full privileges. Don’t know if it will work for others, but it finally worked for me after many wasted, tedious hours.

  34. Matthieu Fecteau says:

    Another way to reset security on all registry keys would be with SetACL.exe
    I created this batch file and it fixed the problem explained in this article. The beauty of this solution is that it applies to any registry problem. We don’t need to search which registry key is faulty. I gives full control access everywhere in HKLM and HKCR to the administrators group and SYSTEM user and makes the administrators group owner of everything. It gives read access everywhere in HKLM and HKCR to the local USERS group. I didn’t try SECEDIT, maybe it would have fixed it too.

    setacl.exe -on “HKCR” -ot reg -rec yes -actn setowner -ownr “n:S-1-5-32-544;s:y”
    setacl.exe -on “HKCR” -ot reg -rec yes -actn ace -ace “n:S-1-5-32-544;p:full;s:y” -ace “n:S-1-5-18;p:full;s:y” -ace “n:S-1-5-32-545;p:read;s:y”
    setacl.exe -on “HKLM” -ot reg -rec yes -actn setowner -ownr “n:S-1-5-32-544;s:y”
    setacl.exe -on “HKLM” -ot reg -rec yes -actn ace -ace “n:S-1-5-32-544;p:full;s:y” -ace “n:S-1-5-18;p:full;s:y” -ace “n:S-1-5-32-545;p:read;s:y”

  35. Matthieu Fecteau says:

    Another reason to use setACL.exe instead of subinacl is that subinacl doesn’t work on Windows7/Windows2008R2 as far as I know. Correct me if I’m wrong.

  36. Matthieu Fecteau says:

    Beware that the double quotes need to be replace by real ones … This blog replaces automaticly double quotes by ” so the script I published would not work if you don’t make that correction.

  37. You rock dude! This worked! Thanks!!!!

  38. Adam Wright says:

    Unfortunately none of the above worked for me.

    OS Windows 7 Home Premium
    Office 2007 Enterprise Edition

    Registry error with setup error 1402 on attempting to install

    I firstly attempted a repair after failure for any office product to open
    I then ran windows installer cleanup utility and removed all info on office 2007
    After this step and each consequent step I attempted to install office 2007 again.
    I then ran the blog suggested methods to no effect
    I then ran the comment suggested method secedit to no effect
    I searched the registry using regedit for the first 8 characters of the registry key error and found 1 with a secondary key virtually matching the rest of the code in the error and then granted full admin, user, system, creator and any other permissions listed to the keys affected. This had no effect.
    My final change was to go to the top level of the registry key: Components within the specified user key and set full access to every permission for that key.

    It worked.

  39. Pingback: Office 2010 Install Error 1402 Setup Cannot Open Registry Key | betaSir - We love software

  40. Alex The Mentalist says:

    Thank you Alex
    This Command “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose” worked perfectly for me ! 🙂

  41. Carlos O Henrique says:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

    In simple terms, that worked out as soon as I opened prompt as an administrator, paste it and enter it. Before doing this, I had spent more than 5 hours following exhausting procedures.

    Thanks you very much indeed!

  42. Rohit Zanzari says:

    Thanks a Lot for “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
    It Works…
    Thank You Sooo Much..

  43. srinivas matta says:

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose‘

    This command has solved Office 2010 Installation problem.

  44. praneeth says:

    “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
    Thanku guys

  45. Jérémy says:

    Thanks works perfectly also for me !

  46. Pingback: How To Fix Error 1402 I Ii Errors - Windows Vista, Windows 7 & 8

  47. Kumar Kattaiyan says:

    “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”

    This command worked well. Thanks Alex.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: