The following command decrypts a configuration file located in a folder named MyWebApp: aspnet_regiis -pdf connectionStrings c:\Websites\MyWebApp