Super User is a question and answer site for computer enthusiasts and power users. 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 am using Windows 7 with one of the Administrators accounts. I cannot open and delete a file in theProgramData\Micrsoft\Crypto\RSA\MachineKey folder. But I can add a new file into it. I tried to open a console window by "Run as Administrator" and navigate there. But it still did not allow me to do open and delete.

Is there a way to open an existing key file or delete an existing key file there?


I mean by hand not from a running program.

share|improve this question

migrated from Feb 4 '11 at 11:37

This question came from our site for professional and enthusiast programmers.

You could boot from an Ubuntu CD, delete it that way. – Moab Feb 4 '11 at 15:46
  1. Go to Control Panel, Folder options, View and uncheck "Display simple folder view..."
  2. In Explorer go to ProgramData\Micrsoft\Crypto\RSA folder, press right mouse button on MachineKey folder and choose "Properties", then "Security"
  3. In window "Group or user names" choose your user name, in "Permission for..." check "Full Control", press "Apply", then press "Advanced"
  4. In "Permission" section uncheck "Inherit from parent..." and check "Replace permission...", press "Apply"
  5. In "Auditing" section add (if does not exist) your user name, check "Full Control", then uncheck "Inherit from parent..." and check "Replace permission...", press "Apply"
  6. In "Owner" section add your user name, check "Replace owner...", then press "Apply", press "Ok"
  7. Press "Ok"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .