Solved

Cannot delete key in Registry

Posted on 2002-03-13
6
166 Views
Last Modified: 2010-04-13
I use Windows 2000 Pro. Going to the Registry with regedit, I cannot delete certain keys of a corrupted program that I need to reinstall. Clicking on the keys, I get "Cannot delete key. Error while deleting key". This occurs ONLY with this precise program. I can delete other keys without problem.
Can you help?
Thank you,
dbessis
0
Comment
Question by:dbessis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6862218
Have you tried booting into savemode and then trying to delete it. I am assuming you have uninstalled the program through Control Panel > Add/Remove Programs. Have you checked for virus's? You may need log on using the builtin administrator account to do the delete.


The Crazy One
0
 
LVL 11

Expert Comment

by:geoffryn
ID: 6862379
Also, you should check the permissions on the key.  You may need to take ownership of the offending key.
0
 

Author Comment

by:dbessis
ID: 6862604
I tried in Safe mode to no avail. I have no virus problem.
How do I check permission on a key? The program corresponding to the keys I want to delete has been completely uninstalled. I cannot reinstall it because it needs to delete the keys and cannot. I tried to delete the keys manually and cannot.
How do I take ownership on a key????
Thank you for your help,
dbessis
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 11

Accepted Solution

by:
geoffryn earned 100 total points
ID: 6862751
Use Regedt32.exe.  It will allow you to edit the permissions on registry key or take ownership
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6863125
I think geoff has what you need to do. Although I can't figure out why the builtin admin account can't delete the key. Did you login using builtin admin account. I am not talking about an assinged admin but the one that was there when Win2000 was installed. Also see if opening a command prompt and using the REG command helps you to delete these keys.

Registry Console Tool For Windows 2000 - version 2.0
Copyright (C) Microsoft Corp. 1981-1999.  All rights reserved

REG Operation [Parameter List]

  Operation  [ QUERY   | ADD    | DELETE  | COPY    |
               SAVE    | LOAD   | UNLOAD  | RESTORE |
               COMPARE | EXPORT | IMPORT ]

Return Code: (Except of REG COMPARE)

  0 - Succussful
  1 - Failed

For help on a specific operation type:

  REG Operation /?

Examples:

  REG QUERY /?
  REG ADD /?
  REG DELETE /?
  REG COPY /?
  REG SAVE /?
  REG RESTORE /?
  REG LOAD /?
  REG UNLOAD /?
  REG COMPARE /?
  REG EXPORT /?
  REG IMPORT /?
0
 

Author Comment

by:dbessis
ID: 6863179
I used geoffryn suggestion, changed the permissions and could delete the keys.
Thanks,
dbessis
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

705 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