DisableWinTracking icon indicating copy to clipboard operation
DisableWinTracking copied to clipboard

DWT Errors in taking ownership of DiagTrack log and modifying Windows Defender Spynet Key

Open burtondev opened this issue 9 years ago • 0 comments

INFORMATION:

  • Windows Edition (Home/Pro/Enterprise):
  • Architecture (32bit/64bit):
  • Options used:

LOG:

12:07:38 ERROR: DiagTrack: Failed to clear DiagTrack log -- could not take ownership of file
Traceback (most recent call last):
  File "dwt_util.py", line 92, in clear_diagtrack
  File "dwt_util.py", line 263, in subprocess_handler
CalledProcessError: Command '['takeown', '/f', 'C:/ProgramData/Microsoft/Diagnosis/ETLLogs/AutoLogger/AutoLogger-Diagtrack-Listener.etl', '&&', 'icacls', 'C:/ProgramData/Microsoft/Diagnosis/ETLLogs/AutoLogger/AutoLogger-Diagtrack-Listener.etl', '/grant', 'administrators:F']' returned non-zero exit status 1
12:07:38 CRITICAL: DiagTrack: Error output:

12:07:38 ERROR: Registry: Unable to mody Windows Defender Sample Submission key.
Traceback (most recent call last):
  File "dwt_util.py", line 205, in set_registry
WindowsError: [Error 5] Access is denied
12:07:38 ERROR: Registry: Unable to mody Windows Defender Spynet key.
Traceback (most recent call last):
  File "dwt_util.py", line 205, in set_registry
WindowsError: [Error 5] Access is denied

burtondev avatar Mar 21 '17 16:03 burtondev