Solved

Cannot delete key in Registry

Posted on 2002-03-13
6
159 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
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Server 2000 NIC on a 2008 R2 Hyper-V won't start 4 1,111
Retrieve process time in memory in VB 6 125
Install Window 2012 Domain on 9 129
Referencing a mapped drive 6 136
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…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

832 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