Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 use aspnet_regiis to encrypt sections of my web.config in production environment. As per my understanding one need .NET command prompt to run the command to encrypt.

How can we achieve this if we have only .NET framework installed in production and not Visual Studio?

share|improve this question

Having the .NET framework installed should be sufficient. The aspnet_regiis can be found under the folder for the .NET version that your application is using. For .NET 2.0 you will find it under:


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.