Created
November 28, 2011 19:35
-
-
Save musicm122/1401673 to your computer and use it in GitHub Desktop.
Turn Off IIS Debugging
This file contains 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
@echo off | |
:: //http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/ | |
:: APPCMD (command) (object-type) <identifier> < /parameter1:value1 ... >* | |
:: start /wait notepad.exe | |
echo "Turn IIS Debugging Off ..." | |
start "Turn IIS Debugging Off" /wait C:\Windows\System32\inetsrv\APPCMD SET Config /section:asp /appAllowDebugging:False | |
echo "Turned Off" | |
start "Restarting IIS" /wait IISRESET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment