Skip to content

Commit

Permalink
Version 1.2.2
Browse files Browse the repository at this point in the history
* Added instructions for automation using Task Scheduler
* Mentioned Windows 11 support in README.md
  • Loading branch information
DavisNT committed Nov 10, 2024
1 parent bb53719 commit 555a317
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

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

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Telemetry Kill Script
===============
A tool for disabling Windows Telemetry (at least part of it) on Windows
7, 8, 8.1 and 10.
7, 8, 8.1, 10 and 11.

Version 1.2.1
Version 1.2.2

Copyright (c) 2017-2020 Davis Mosenkovs
Copyright (c) 2017-2024 Davis Mosenkovs

## Introduction

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

### Automation using Task Scheduler

To automatically run Telemetry Kill Script daily and on every system start (after reading and accepting `LICENSE`):
1. Copy the file `Telemetry-Kill-Script.cmd` to the Program Files folder (usually `C:\Program Files`).
2. Run Windows PowerShell as Administrator.
3. In the PowerShell window execute the command-line to remove Mark of the Web from `Telemetry-Kill-Script.cmd`:
```
Remove-Item -Stream "Zone.Identifier" -Path "$env:ProgramFiles\Telemetry-Kill-Script.cmd"
```
4. In the PowerShell window execute the command-line to create a scheduled task for Telemetry Kill Script:
```
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))
```

To stop running Telemetry Kill Script automatically:
1. Delete the file `Telemetry-Kill-Script.cmd` from the Program Files folder (usually `C:\Program Files`).
2. Open Task Scheduler and delete the `Telemetry Kill Script` scheduled task.

## Notices

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

0 comments on commit 555a317

Please sign in to comment.