I know where the MachineKeys folder in XP. Anybody can tell me where it is in Windows 7?

  • what framework version are you referring to? – Kris Ivanov Feb 1 '11 at 16:52

In clean installation of Windows you can find it under C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

In newer versions of Windows, try: %SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys


C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys

And make sure the folders are not invisible.


I found it in the same location.. its protected but, I got there with some effort: C:\Documents and Settings\All Users\Microsoft\Crypto\RSA\MachineKeys\

  • C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys is probably the 'correct' location, while the documents and settings path is probably for application compatibility. – lowlevel Feb 1 '11 at 16:55
  • 1
    Actually C:\Users\All Users is a junction to C:\ProgramData too – Rup Feb 1 '11 at 17:21

I am assuming you are referring to the machine keys in the machine.config file, in that case it depends on what version of the .NET framework you want, it should be in the default location, for example .NET 4.0:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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