Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dwt_util.py')
-rw-r--r--dwt_util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwt_util.py b/dwt_util.py
index 656f80b..9ff098e 100644
--- a/dwt_util.py
+++ b/dwt_util.py
@@ -105,7 +105,7 @@ def clear_diagtrack():
output = subprocess_handler(cmd)
- if output[0] in [0, 1060]:
+ if output[0] in [0, 1060, 1072]:
if output[0] == 0:
if len(service) > 1:
logger.info("DiagTrack: Successfully deleted service '{0}'".format(service[1]))
@@ -113,6 +113,8 @@ def clear_diagtrack():
logger.info("DiagTrack: Successfully erased tracking log.")
if output[0] == 1060:
logger.info("DiagTrack: {0} service doesn't exist. This is OK, you likely removed it already.".format(service[1]))
+ if output[0] == 1072:
+ logger.info("DiagTrack: {0} service marked for deletion. This is OK, make sure you reboot your machine!".format(service[1]))
logger.info("DiagTrack: Completed Part {0}/{1}".format(i, len(cmds)))
else: