Right Click, select New, Create a Text File (us ethe menu at the top to turn OFF word wrap)
and paste this into it
sc config DiagTrack start= disabled
sc stop DiagTrack
reg delete HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener /f
reg delete HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\Diagtrack-Listener /f
reg delete HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\SQMLogger /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack /f
reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /f
takeown /f %ProgramData%\Microsoft\Diagnosis /A /r /d y
icacls %ProgramData%\Microsoft\Diagnosis /grant:r *S-1-5-32-544:F /T /C
del /f /q %ProgramData%\Microsoft\Diagnosis\*.rbs
del /f /q /s %ProgramData%\Microsoft\Diagnosis\ETLLogs\*
exit
Save it, then rename it to either .BAT or .CMD
right click and run as admin.
No comments:
Post a Comment
Please keep comments clean... and on topic