What does aspnet_regiis.exe do

Kiran Bheemarti picture Kiran Bheemarti · Aug 21, 2010 · Viewed 74.7k times · Source

What does aspnet_regiis.exe do exactly other than updating the document mappings to correct aspnet_isapi.dll version, is updating the ASP.NET version from inetmgr same as running aspnet_regiis, I could not find any blog post or article describing the steps this particular batch command does. Please give any links you know of detailing the steps of aspnet_regiis.exe

Answer

Adam Tuliper - MSFT picture Adam Tuliper - MSFT · Aug 23, 2011

My favorite feature of it, is the ability to encrypt settings in web.config something along the lines of:

aspnet_regiis -pe /myapprootvirtualdirector

and decrypt is -pd

encrypt only after deployment to the server - as encrypting on one machine won't be valid on the other unless you share machine keys.