Skip to content

Instantly share code, notes, and snippets.

@x33st0rm
Created October 23, 2016 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save x33st0rm/e50a0412abdff01777ab2b7160abba95 to your computer and use it in GitHub Desktop.
Save x33st0rm/e50a0412abdff01777ab2b7160abba95 to your computer and use it in GitHub Desktop.
Removes the Windows AutoLogger
@echo off
sc delete dmwappushsvc
sc delete diagtrack
cd C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger
echo “” > AutoLogger-Diagtrack-Listener.etl
cacls AutoLogger-Diagtrack-Listener.etl /d SYSTEM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment