summaryrefslogtreecommitdiff
path: root/devtools/DisableSrcdsAppVerifier.bat
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/DisableSrcdsAppVerifier.bat')
-rw-r--r--devtools/DisableSrcdsAppVerifier.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/devtools/DisableSrcdsAppVerifier.bat b/devtools/DisableSrcdsAppVerifier.bat
new file mode 100644
index 0000000..55c754d
--- /dev/null
+++ b/devtools/DisableSrcdsAppVerifier.bat
@@ -0,0 +1,7 @@
+@echo Created per the instructions at https://intranet.valvesoftware.com/wiki/index.php/AppVerifier_for_finding_memory_bugs_and_other_problems
+@echo Disabling AppVerifier for srcds
+@echo This must be run with administrator privileges
+
+reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\srcds.exe" /f
+@rem Delete from the Wow64 node as well, just to be sure.
+reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\srcds.exe" /f