Skip to content

Instantly share code, notes, and snippets.

@fcingolani
Last active March 11, 2016 16:56
Show Gist options
  • Save fcingolani/eea9e045b3c90721f935 to your computer and use it in GitHub Desktop.
Save fcingolani/eea9e045b3c90721f935 to your computer and use it in GitHub Desktop.
set dt=%date:~6,4%%date:~3,2%%date:~0,2%-%time:~0,2%%time:~3,2%%time:~6,2%
cd %UserProfile%\Documents\IISExpress\config\
taskkill /IM iisexpress.exe /F
copy applicationhost.config "applicationhost.%dt%.xml"
powershell -Command "(gc applicationhost.config) -replace ':localhost', ':*' | sc applicationhost.config"
ECHO Reset Volume Mixer Settings...
NET STOP Audiosrv
NET STOP AudioEndpointBuilder
REG DELETE "HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore" /F
REG ADD "HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore"
NET START Audiosrv
Taskkill /PID iisexpress.exe /F
net stop McShield
net stop McTaskManager
taskkill /F /IM Scan64.exe
  • Reset Audio Mixer.
  • Stop IISExpress.
  • Stop McAffee Scan.
  • Expose IIS Express.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment