Solved

How to delete corrupt registry key in XP?

Posted on 2009-04-07
13
534 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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
 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

785 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