Skip to content

NX1X/Windows-Privacy-Toolkit

Repository files navigation

🛡️ Windows Privacy Toolkit

Take control of your data. Disable telemetry. Protect your privacy.

A lightweight PowerShell toolkit to audit and harden Windows 10/11 privacy settings. No bloat. Just scripts that work.

License: MIT Windows 10/11 Visitors

📚 Documentation | 📝 Blog & Technical Guides | 💻 GitHub Repository


📌 TL;DR

One command. Full privacy.

iwr "https://raw.githubusercontent.com/NX1X/Windows-Privacy-Toolkit/main/Quick-Install.ps1" | iex

Or download manually and run:

.\Install.ps1

Note: Run in PowerShell. The script will automatically request admin privileges and download all necessary files.

Disables Windows telemetry, Recall AI, Copilot, Office tracking, and more. Tested on Windows 11. Should work on Windows 10 (not tested).


🎯 Why Privacy Matters

Every click, every app, every file you open—Windows is watching. By default, Microsoft collects:

  • Telemetry data (your usage patterns)
  • Diagnostic information (crashes, performance)
  • Advertising IDs (for targeted ads)
  • Activity history (timeline of everything you do)
  • Location data (even on desktop)
  • Recall AI snapshots (screenshots of everything you do - Win11 only)
  • Copilot interactions (AI assistant data collection)
  • Office telemetry & logs (document usage, features accessed)

This toolkit disables all of that.


⚡ Quick Start

🚀 One-Click Installation (Easiest - Recommended)

Install.ps1 is the main script that automatically runs everything for you:

  • ✅ Creates system restore point
  • ✅ Runs audit (before)
  • ✅ Executes all 3 hardening scripts
  • ✅ Runs audit (after)
  • ✅ Generates detailed report
  • ✅ Offers to restart

How to use:

  1. Download the latest release
  2. Extract ZIP file
  3. Open PowerShell and navigate to extracted folder
  4. Run: .\Install.ps1
  5. Script will automatically request admin privileges (UAC prompt)

📊 Manual Installation (Step-by-Step)

If you prefer to run scripts individually:

1️⃣ Audit Your Current Privacy Settings

.\Privacy-Audit.ps1

See exactly what's enabled and what's leaking data.

2️⃣ Harden Everything at Once

.\Disable-WindowsTelemetry.ps1
.\Disable-OfficeTelemetry.ps1
.\Disable-PowerShellTelemetry.ps1

3️⃣ Re-audit to Verify

.\Privacy-Audit.ps1

All green checkmarks? You're protected. ✅


📦 What's Included

Script Purpose Win 10 Win 11
Privacy-Audit.ps1 Comprehensive privacy audit
Disable-WindowsTelemetry.ps1 Disable OS-level telemetry & tracking
Disable-OfficeTelemetry.ps1 Disable Microsoft Office telemetry
Disable-PowerShellTelemetry.ps1 Disable PowerShell telemetry

🔒 What Gets Disabled

  • Windows Telemetry (set to Security/Off level)
  • Recall (AI snapshot feature - Win11 only)
  • Copilot (AI assistant)
  • Activity History & Timeline
  • Advertising ID
  • Location Tracking
  • DiagTrack Service
  • Windows Spotlight (lock screen ads)
  • Suggestions & Tips
  • Microsoft Office Telemetry
  • Office Diagnostic Logs
  • Office Connected Services
  • PowerShell Telemetry

🚀 Installation

Method 1: Download Latest Release (Recommended)

  1. Go to Releases
  2. Download Windows-Privacy-Toolkit-vX.X.X.zip
  3. Extract and follow How to Run below

Method 2: Clone the Repository

git clone https://github.com/NX1X/Windows-Privacy-Toolkit.git
cd Windows-Privacy-Toolkit

Method 3: Quick Install (One-liner)

# Download and extract in one command
Invoke-WebRequest -Uri "https://github.com/NX1X/Windows-Privacy-Toolkit/archive/refs/heads/main.zip" -OutFile "toolkit.zip"; Expand-Archive -Path "toolkit.zip" -DestinationPath "."; cd Windows-Privacy-Toolkit-main

⚙️ Requirements

  • Windows 10 or Windows 11
  • PowerShell 5.1+ (built into Windows)
  • Administrator privileges (for system-level changes)

Testing Status:

  • Tested on Windows 11 (25H2)
  • ⚠️ Should work on Windows 10 (not tested, but compatible)

📖 How to Run

Prerequisites

  • Windows 10 or Windows 11
  • PowerShell 5.1+ (pre-installed on Windows)
  • Administrator privileges required for hardening scripts

Step 1: Download the Toolkit

Option A: Clone with Git

git clone https://github.com/NX1X/Windows-Privacy-Toolkit.git
cd Windows-Privacy-Toolkit

Option B: Download ZIP

  1. Click CodeDownload ZIP
  2. Extract to a folder (e.g., C:\Privacy-Toolkit)
  3. Open that folder

Step 2: Open PowerShell

  1. Press Win + X
  2. Select Windows PowerShell or Terminal
  3. Navigate to the toolkit folder:
    cd C:\Path\To\Windows-Privacy-Toolkit
  4. Scripts will automatically request admin privileges when needed (UAC prompt)

Step 3: Fix Execution Policy (If Needed)

If you get "cannot be loaded because running scripts is disabled":

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Type Y and press Enter.


Step 4: Run the Scripts

First, audit your current privacy settings:

.\Privacy-Audit.ps1

Then, apply hardening:

.\Disable-WindowsTelemetry.ps1
.\Disable-OfficeTelemetry.ps1
.\Disable-PowerShellTelemetry.ps1

Finally, verify changes:

.\Privacy-Audit.ps1

✅ All green checkmarks? You're protected!


Step 5: Restart (Recommended)

Some changes require a restart to take full effect:

Restart-Computer

🛠️ Advanced Usage

Automate on Fresh Windows Installs

Add to your setup script:

# Download and run
iwr -Uri "https://raw.githubusercontent.com/NX1X/Windows-Privacy-Toolkit/main/Disable-WindowsTelemetry.ps1" | iex

Schedule Regular Audits

# Check privacy weekly
Register-ScheduledTask -TaskName "Privacy Audit" -Trigger (New-ScheduledTaskTrigger -Weekly -At 9am) -Action (New-ScheduledTaskAction -Execute "PowerShell.exe" -Argument "-File C:\Path\To\Privacy-Audit.ps1")

📜 License

MIT License - Free for personal and commercial use.

If you modify this code, please give credit to the original author.

See LICENSE file for details.


👤 Author

NX1X


⚠️ Disclaimer

USE AT YOUR OWN RISK.

These scripts modify Windows registry settings and system configurations.

Testing & Compatibility:

  • ✅ Thoroughly tested on Windows 11 (24H2)
  • ⚠️ Should work on Windows 10 but NOT tested
  • Most settings are compatible across both versions
  • Recall feature is Windows 11 only (script handles this gracefully)

Before running:

  • Create a system restore point (Install.ps1 does this automatically)
  • Review the scripts before execution
  • Backup important data
  • Understand the changes being made

The author is not responsible for any issues arising from the use of these scripts. If you encounter problems, use System Restore to revert changes.

Privacy is a right, not a privilege. Take it back. 🛡️

About

A lightweight PowerShell toolkit to audit and harden Windows 10/11 privacy settings. No bloat. Just scripts that work.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors