Skip to content

N0tHorizon/WindowsTelemetryBlocker

Repository files navigation

🛡️ Windows Telemetry Blocker

License: MIT PowerShell Windows Issues Pull Requests Last Commit Code Size

A lightweight, open-source toolkit to disable Windows telemetry and improve privacy on Windows 10 and 11 using PowerShell scripts. Inspired by tools like ShutUp10++, but fully transparent and scriptable.

✨ Features

  • 🔒 Disable Windows Telemetry
  • 🚫 Block Feedback & Advertising
  • 🛑 Stop Unnecessary Services
  • 🗑️ Remove Bloatware (Optional)
  • 🎯 Interactive Module Selection
  • 🔄 Easy to Use & Maintain
  • 🧩 Modular privacy and telemetry blocking
  • 📝 Dry-run mode, advanced logging, and error reporting
  • 🧠 Dependency-aware module execution
  • ⏪ Rollback support for most modules
  • 💾 System restore point creation
  • 🖥️ Interactive and batch modes
  • 📊 Audit logging to Windows Event Log
  • 🔄 Script update checker
  • 🛡️ Integrity checking for modules (file size and modification time)

🚀 Quick Start

  1. Download the latest release
  2. Run run.bat as administrator
  3. Choose your preferred mode:
    • Default Mode: Run all modules
    • Custom Mode: Select specific modules

📋 Usage

Interactive Mode (Recommended)

.\run.bat

🧩 Modules

Module Description
telemetry.ps1 Disables Windows Telemetry, feedback prompts, advertising ID, and Cortana
services.ps1 Disables DiagTrack, dmwappushsvc, RetailDemo, and Xbox Game Monitoring
apps.ps1 Disables background apps, removes bloatware (optional), and disables Widgets/News/OneDrive
misc.ps1 Disables Wi-Fi Sense, Timeline/Activity History, and cloud clipboard

⏪ Rollback

If a module fails and -rollbackOnFailure is set, rollback scripts in modules/ will attempt to revert changes.

📝 Logging

  • telemetry-blocker.log: Main log
  • telemetry-blocker-errors.log: Errors
  • telemetry-blocker-stats.log: Execution stats

⚙️ Customization

  • Add or edit modules in modules/
  • Add rollback logic in modules/rollback/ as needed
  • Common functions in modules/common.ps1

Warning

This script requires administrative privileges to modify system settings. Always run as administrator.

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Inspired by ShutUp10++
  • Thanks to all contributors and the open-source community

Test on a VM before use in production!

About

A PowerShell based tool to block Windows 10/11 telemetry collection, and disable invasive services

Topics

Resources

License

Stars

Watchers

Forks