Fix Office 2010 install error 1402 ‘Setup cannot open the registry key: UNKNOWN\Components\…’
Mon-2009-11-30 59 Comments
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.
Didn’t help 😦
BTW this worked great
“secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
Alex. That command worked for me as well. I had been fighting this issue for 10 hours and while I am not the smartest techie I am an IT Tech.. I was about ready to throw the ole windows 7 disc in and format…lol.
This worked for me as well 🙂 Thanks!
Thank you very much this command is worked for me 🙂
Prashant C Upadhye
Worked.
Alex, Thanks that worked for me also!!
Alex, thanks! That worked for me also.
Pingback: Office 2010 Install Error 1402 Setup Cannot Open Registry Key
C:\Windows\System32>subinacl /subkeyreg HKEY_LOCAL_MACHINE /setowner=administrat
ors
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
ents – HKEY_LOCAL_MACHINE
whats i did wrong ? 🙂
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
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?
even works over here : “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
solved! Thanks!
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!
An extended error has occurred.
The task has completed with an error.
See log %windir%\security\logs\scesrv.log for detail info.
I just had the same problem,…..What shoul i do?
“secedit/…” cmd worked when everything else had failed! Thanks!
works, lets hope everything works after install
Tried it all, didn’t work… Also removed all earlier installs with Install Clean Up. No succes yet..
Does Not work. please suggest another option.
both ways didnt work.
please help
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.
Didnt work for me neither. How do u exactly apply SubInAcl tool?
Never mind. I finished the install. Been busy for 2 hrs now:P
For everyone who still needs a solution, for me http://www.okino.com/conv/changing_windows_registry_permissions.htm 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.
I hope this will resolve my problem! Thanks!
Well my problem is solved too.
I was not able to change the permissions manually.
you can refer this blog post for the solution . – http://techspiritz.blogspot.com/2010/04/trouble-installing-office-2010-betartm.html .
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose‘
Solved it! Thanks!!!
Thanks a lot for
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
it works
Worked like a charm on my 2007 reinstallation as well. “secedit/……/verbose” Thank you so much, thought I would go mad!
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”
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)
No need to answer question above me :] I got fixed my problem to. Thanks all!
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.
Pingback: Error 1402 Description Troubleshooting and Solution | Fix | Error Codes
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!
Thanx a lot! Finaly it works!
Pingback: 2010 in review | Yuri's Technology Blog
were would i get defltbase.sdb file?
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose solvied it for me.
This solutions is for Win 7 32 bits, I have Win 7 64 bits. I need help! thx!
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.
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.
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”
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.
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.
You rock dude! This worked! Thanks!!!!
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.
Pingback: Office 2010 Install Error 1402 Setup Cannot Open Registry Key | betaSir - We love software
Thank you Alex
This Command “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose” worked perfectly for me ! 🙂
thank’sa lot i wasfrustated untili found that script
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!
Thanks a Lot for “secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
It Works…
Thank You Sooo Much..
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose‘
This command has solved Office 2010 Installation problem.
“secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
Thanku guys
i was frustrate untill i found that
thank’s a lot
Thanks works perfectly also for me !
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
solved…thanks
Pingback: How To Fix Error 1402 I Ii Errors - Windows Vista, Windows 7 & 8
“secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose”
This command worked well. Thanks Alex.