Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maestropanel2/8f3fe16b3df299d97009f65249fd7d30 to your computer and use it in GitHub Desktop.
Save maestropanel2/8f3fe16b3df299d97009f65249fd7d30 to your computer and use it in GitHub Desktop.
Microsoft April 11, 2017 Update Fix
@echo off
cd %windir%"\System32\inetsrv
appcmd.exe set config -section:system.webServer/handlers /-"[name='ExtensionlessUrlHandler-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='ExtensionlessUrlHandler-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='ExtensionlessUrlHandler-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='AXD-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='PageHandlerFactory-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='SimpleHandlerFactory-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='WebServiceHandlerFactory-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='svc-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='rules-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='xoml-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='xamlx-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='aspq-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='cshtm-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='cshtml-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='vbhtm-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='vbhtml-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='AXD-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='PageHandlerFactory-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='SimpleHandlerFactory-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='WebServiceHandlerFactory-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='svc-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='rules-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='xoml-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='xamlx-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='aspq-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='cshtm-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='cshtml-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='TraceHandler-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='WebAdminHandler-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='AssemblyResourceLoader-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='PageHandlerFactory-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='SimpleHandlerFactory-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='WebServiceHandlerFactory-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-rem-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-soap-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='svc-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='rules-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='xoml-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='xamlx-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='aspq-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='cshtm-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='cshtml-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='vbhtm-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='vbhtml-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='ScriptHandlerFactoryAppServices-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='ScriptResourceIntegrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='vbhtm-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='vbhtml-ISAPI-4.0_64bit']" /commit:apphost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment