Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to delete a registry key from HKEY_LOCAL_MACHINE on a Windows 7 PC when a standard user is logged on, what would be the best way of doing this?

The command below works when logged on as administrator.


Thanks Sean

share|improve this question
up vote 4 down vote accepted

Non-privileged users cannot normally do that, unless you have edited the permissions on the registry key to allow for this.

share|improve this answer

If you have Admin credentials, go to c:\windows\ and right-click regedit.exe and choose Run As Administrator. then you should be able to do what you want. If not, see previous two answers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.