Created
March 7, 2025 16:02
-
-
Save langheran/54b50be87b92bb4a21b3495d21310030 to your computer and use it in GitHub Desktop.
C:\Users\NisimHurst\NDS\scripts\stop_windows_error_reporting.bat
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
@echo off | |
echo Disabling Windows Error Reporting Service ... | |
sc query "WerSvc"| find "RUNNING" >nul 2>&1 && net stop "WerSvc" && sc config "WerSvc" start= disabled | |
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f >nul 2>&1 | |
echo | |
echo Windows Error Reporting Service has been disabled. | |
echo | |
echo Windows Explorer needs to be restarted. | |
pause | |
start /wait TASKKILL /F /IM explorer.exe | |
start explorer.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment