Last active
November 26, 2015 16:02
-
-
Save shammelburg/cb6ffbe2435069af65a2 to your computer and use it in GitHub Desktop.
Encrypt / Decrypt web.config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On the server locate folder | |
a. C:\Windows\Microsoft.NET\Framework64\v4.0.30319 | |
b. Check "aspnet_regiis.exe" exists | |
Run cmd | |
a. cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 | |
To Encrypt: | |
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis –pef "connectionStrings" "path" | |
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis –pef "appSettings" "path" | |
To Decrypt: | |
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis –pdf "connectionStrings" "path" | |
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis –pdf "appSettings" "path" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment