Solved

How to delete corrupt registry key in XP?

Posted on 2009-04-07
13
529 Views
Last Modified: 2012-08-14
Hi,

I'm trying to install a program on my FD's laptop but it keeps getting stuck and throwing 1402 error message about a particular registry key. From looking around it appears that i need to delete this corrupt key and then the install will go through ok. The only problem is that I've been unable to do this. It wont let me take ownership of the key even when logged in as Administrator in safe mode (throws an error). I've also tried running ccleaner without any joy. Can some kind person tell me how to get rid of a corrupt registry key when all else fails?

-Lenny
0
Comment
Question by:Mad_Lenny
  • 7
  • 6
13 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 24093140
Mad_Lenny--You did not identity the "particular registry key" or the program and file involved.  The following may help or if not give us more detail about the key and program/file in your case.
http://www.computing.net/answers/windows-xp/update-error-1402-corrupt-registr/92419.html
http://74.125.95.132/search?q=cache:WPSO-yEnZjUJ:digital.ni.com/public.nsf/allkb/7A99E891BDCBE3A88625715700516EE6+1402+error+corrupt+registry+key&cd=6&hl=en&ct=clnk&gl=us
0
 

Author Comment

by:Mad_Lenny
ID: 24094924
Thanks jcimarron,

My user isnt in until later on so i cant tell you the registry key at the moment. I've tried most of the steps in the links except for the chkdsk /f command. Will provide info and let you know what happens once i get hold of the laptop later on.

-Lenny
0
 

Author Comment

by:Mad_Lenny
ID: 24096320
...chkdsk /f did not work either.

the exact message is:

"Error 1402. Could not open key:
UNKNOWN\CLSID\{CD761E49-7F1E-44BA-B669-B56998E3C9E9}\ProgID.
 Verify that you have sufficient access to that key, or contact your support personnel."

when i try and take ownership of this key i get:

"Unable to save permission chnages on ProgID.
Access is denied"

-Lenny
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24098509
Mad_Lenny--Hmm...I cannot identify that CLSID with a program.  Using Registry Editor (regedit.exe) Edit|Find, can you?
Can you modify that Registry key to disable it?  (do a back up first)  Perhaps then you will be able to delete, but maybe the modified key will not cause the error message.
Do you have Windows Installer "Started" in Services?
0
 

Author Comment

by:Mad_Lenny
ID: 24098939
Hi RC,

(the program is an Epicor component), i am able to find the correct key in the Registry Editor but I'm unable to delete it or take ownership of it even though i'm logged in as admin (same in safe mode).

I've also tried running the XP repair process booting from the cd, but had no joy. I've had to give the user his laptop back now to do some work....will have another look tomorrow. I'm really hoping i dont have to do a rebuild to fix this (Epicor's helpful suggestion!).

-Lenny
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24100728
Mad_Lenny--So you are saying the client wants to keep the Epicor software involved?  Did you try to modify/disable that key?  If you back it up first, you could easily restore after trying to install the other program
Have you looked in here
http://support.epicor.com/  ?
P.S.  If the client does not want to keep the Epicor software you could try to uninstall it entirely, either from Add/Remove or by using RevoUninstaller.  The latter is very good about removing involved Registry keys.
http://www.revouninstaller.com/  
And if the client has the installation program, the program could be reinstalled.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:Mad_Lenny
ID: 24105331
Hi JC (even!)

the client has epicor loaded on his machine, in order to use one of the web components he browses via IE to one of the reports (on the epicorserver) which he wants to run. He clicks on it and then at this point he is prompted to ok the installation of the required component. So far, so good, but about 90% of the way through the install it throws up the error above; i am able to find the correct key in the Registry Editor but I'm unable to delete, disable, modify or take ownership of it even when logged in as admin (same in safe mode).

the solution is apparently to delete the corrupt key and rerun the install, at which point I'm told the installation will go through, no questions asked....so it all boils down to how can i get rid of this corrupt key (now known by the code name: "mugabe") without having to go nuclear and rebuild the entire laptop? (which admittedly i could have done by now, but its the principle!!!!)

suggestions welcome,

-Lenny  
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24111271
Mad_Lenny--One way to delete the problem key would be to delete the program with which it is associated.  Then hopefully a reinstall of the program would not result in a corrupt key.
But have you tried to disable/modify that key to see if that allows the desired installation to proceed?
0
 

Author Comment

by:Mad_Lenny
ID: 24183064
that's the problem - I am unable to delete/disable/modify or take control of the offending registry key
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24199720
0
 

Author Comment

by:Mad_Lenny
ID: 24202356
Yes,

when i try and take ownership of this key i get:

"Unable to save permission chnages on ProgID.
Access is denied"

-Lenny
0
 

Accepted Solution

by:
Mad_Lenny earned 0 total points
ID: 24699100
Well, gave up banging my head against this particular brick wall - I resolved the problem by installing Windows 7rc....it's like I've given the users' old laptop the elixir of youth, think I'll be upgrading to Win7 as fast as I used to downgrade to xp.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24703330
Mad_Lenny--If you pleased the customer, that is what counts.  :)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now