Oh Mom I think I’ve broken my PC!
by alefesta
From: Windowsboy
To: Mom
Sent: August 24 2011
Dear Mom, it’s been a while since last time I wrote you, the PC you gave me worked so well till this morning. I swear MOM I didnt’ use to visit those perv website, I am serious guy Mom I do not do such things and no, Mom I didnt’poured any liquid substance on the laptop (you pervs do not think immediatly at something weird). The fact is, Mom, that this morning I simply downloaded a fantastic software and decided to install it when, all of sudden on the screen popped out a warning that says:
setup cannot open the registry key named Unknown/Component/[Random Numbers].
As first reaction, Mom, I was surprised by the evil popup, but as you always rember me ” lillone, calm down, back to the basic , think darling use that micro brain the nature gave you…” (and honestly Mom I always suspected that in that sentence you want to tell me something about my brain…but really still don’t have a clue on what is it).
So Mom I did what you always told me and so tried other 1500 times than downloaded other 320 software and tried all of them but the evil popup continue to comeback, I am now desperate Mom, please help me!
WindowsBoy
From:Mom
To:Windows(Icant’beliveyou’remyson)boy
Sent: August 24 2011
Dear boy,
How many times I said you should pay more attention when Mom speaks? You make me desire to not reply at all at Your mail, even when You write me just because You fall in an issue. The, so-called, evil popup boy is related to the fact that the laptop I gave You it is not anymore in the perfect state it was, I’ll not go down in asking what You do when You’re connected to the Internet at office or why if I dig inside it I am sure to find more than 30 illegal software that were mysteriously installed by some(you)one, so here the explanation and the answer:
This error:
setup cannot open the registry key named Unknown/Component/[Random Numbers].
Is only shown when registry keys do not have the right permission basically missing the Administrator user in the ACL, the “Unknown” key is in fact the one in:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\
.obviously boy you are logged in as Administrator, right? As it happens some setup can mess up the registry permissions and your “fantastic” (do not want to know details please) installer is no exception.
As first help I would enter the following line in Command Prompt , it fix the problem for most people,
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
If it doesn’t work for you as well, follow the second method below.
Download SubInAcl, a command line tool from Microsoft that enables administrators to obtain security information about files, registry keys services, etc. It will install to Program Files folder, you may copy SUBINACL.EXE file to /Windows/System 32 folder or leave where it is. Boy please, remeber that if your laptop is x64bit so it will be installed in the “Program Files(x86)” directory so do not write me back whining that you’re not able to find the exe once installed.
Now create a new notepad and paste the following code in it:
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
Exit
Save the notepad file with the name you want, I personally suggest “loveUmom” as name and change the extension to cmd or bat, the complete name will become “loveUmom.bat” . Run this file as administrator, you’re on Windows aren’t you boy?
The process will now take several minutes, do NOT close the Window what may come. Once the process is complete, the command line window will automatically close and you can then install successfully your pervy software.
Mom