Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #66 from zy26/patch-1
Browse files Browse the repository at this point in the history
AllowTelemetry should be REG_DWORD
  • Loading branch information
10se1ucgo committed Sep 3, 2015
2 parents 1134169 + 18ca26c commit 862c38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ def modifytelemetryregs(telemetryval):
# Telemetry regkey paths
telemetrydict = {'32bit Telemetry Key': [_winreg.HKEY_LOCAL_MACHINE,
r'SOFTWARE\Policies\Microsoft\Windows\DataCollection',
"AllowTelemetry", _winreg.REG_SZ, telemetryval],
"AllowTelemetry", _winreg.REG_DWORD, telemetryval],

'64bit Telemetry Key': [_winreg.HKEY_LOCAL_MACHINE,
r'SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\DataCollection',
"AllowTelemetry", _winreg.REG_SZ, telemetryval]}
"AllowTelemetry", _winreg.REG_DWORD, telemetryval]}

modifyregistry(regdict=telemetrydict, bit=32)

Expand Down

2 comments on commit 862c38f

@DeeJayhX
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this was, in fact, a DWORD by default?

@10se1ucgo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ruined1 It looks like it, when I went into gpedit and set AllowTelemetry manually it changed the string into a DWORD. Weird.

Please sign in to comment.