Skip to content

Commit 555a317

Browse files
committed
Version 1.2.2
* Added instructions for automation using Task Scheduler * Mentioned Windows 11 support in README.md
1 parent bb53719 commit 555a317

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017-2020 Dāvis Mošenkovs
3+
Copyright (c) 2017-2024 Dāvis Mošenkovs
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Telemetry Kill Script
22
===============
33
A tool for disabling Windows Telemetry (at least part of it) on Windows
4-
7, 8, 8.1 and 10.
4+
7, 8, 8.1, 10 and 11.
55

6-
Version 1.2.1
6+
Version 1.2.2
77

8-
Copyright (c) 2017-2020 Davis Mosenkovs
8+
Copyright (c) 2017-2024 Davis Mosenkovs
99

1010
## Introduction
1111

@@ -28,6 +28,24 @@ _Run as Administrator_).
2828
Most likely this script will have to be used again each time when Windows Update
2929
updates Telemetry related files and/or service.
3030

31+
### Automation using Task Scheduler
32+
33+
To automatically run Telemetry Kill Script daily and on every system start (after reading and accepting `LICENSE`):
34+
1. Copy the file `Telemetry-Kill-Script.cmd` to the Program Files folder (usually `C:\Program Files`).
35+
2. Run Windows PowerShell as Administrator.
36+
3. In the PowerShell window execute the command-line to remove Mark of the Web from `Telemetry-Kill-Script.cmd`:
37+
```
38+
Remove-Item -Stream "Zone.Identifier" -Path "$env:ProgramFiles\Telemetry-Kill-Script.cmd"
39+
```
40+
4. In the PowerShell window execute the command-line to create a scheduled task for Telemetry Kill Script:
41+
```
42+
Register-ScheduledTask -TaskName "Telemetry Kill Script" -User "NT AUTHORITY\SYSTEM" -RunLevel Highest -Action $(New-ScheduledTaskAction -Execute """$env:ProgramFiles\Telemetry-Kill-Script.cmd""" -Argument "/auto") -Trigger @($(New-ScheduledTaskTrigger -AtStartup), $(New-ScheduledTaskTrigger -Daily -At 19:55)) -Settings $(New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -StartWhenAvailable -ExecutionTimeLimit $(New-TimeSpan -Hours 1))
43+
```
44+
45+
To stop running Telemetry Kill Script automatically:
46+
1. Delete the file `Telemetry-Kill-Script.cmd` from the Program Files folder (usually `C:\Program Files`).
47+
2. Open Task Scheduler and delete the `Telemetry Kill Script` scheduled task.
48+
3149
## Notices
3250

3351
Permission is hereby granted, free of charge, to any person obtaining a copy

Telemetry-Kill-Script.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
@echo off
22
rem Display info and license
33
color f0
4-
echo Telemetry Kill Script 1.2.1
4+
echo Telemetry Kill Script 1.2.2
55
echo A tool for disabling Windows Telemetry (at least part of it).
66
echo https://github.com/DavisNT/Telemetry-Kill-Script
77
echo.
8-
echo Copyright (c) 2017-2020 Davis Mosenkovs
8+
echo Copyright (c) 2017-2024 Davis Mosenkovs
99
echo.
1010
echo Permission is hereby granted, free of charge, to any person obtaining a copy
1111
echo of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)