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.
📚 Documentation | 📝 Blog & Technical Guides | 💻 GitHub Repository
One command. Full privacy.
iwr "https://raw.githubusercontent.com/NX1X/Windows-Privacy-Toolkit/main/Quick-Install.ps1" | iexOr download manually and run:
.\Install.ps1Note: 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).
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.
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:
- Download the latest release
- Extract ZIP file
- Open PowerShell and navigate to extracted folder
- Run:
.\Install.ps1 - Script will automatically request admin privileges (UAC prompt)
If you prefer to run scripts individually:
.\Privacy-Audit.ps1See exactly what's enabled and what's leaking data.
.\Disable-WindowsTelemetry.ps1
.\Disable-OfficeTelemetry.ps1
.\Disable-PowerShellTelemetry.ps1.\Privacy-Audit.ps1All green checkmarks? You're protected. ✅
| Script | Purpose | Win 10 | Win 11 |
|---|---|---|---|
Privacy-Audit.ps1 |
Comprehensive privacy audit (24 checks) | ✅ | ✅ |
Disable-WindowsTelemetry.ps1 |
Disable OS-level telemetry & tracking (25 steps) | ✅ | ✅ |
Disable-OfficeTelemetry.ps1 |
Disable Microsoft Office telemetry (9 steps) | ✅ | ✅ |
Disable-PowerShellTelemetry.ps1 |
Disable PowerShell & developer tools telemetry (4 steps) | ✅ | ✅ |
Disable-AdvancedTelemetry.ps1 |
OPTIONAL Advanced hardening (tasks/hosts/firewall) | ✅ | ✅ |
Remove-OfficeBloatware.ps1 |
OPTIONAL Remove Microsoft 365 bloatware (OneDrive, Teams) | ✅ | ✅ |
Restore-PrivacySettings.ps1 |
RESTORE Undo all changes & restore Windows defaults | ✅ | ✅ |
- ✅ Windows Telemetry (set to Security/Off level)
- ✅ Recall (AI snapshot feature - Win11 only - completely removed with payload)
- ✅ Copilot (AI assistant)
- ✅ Activity History & Timeline
- ✅ Advertising ID
- ✅ Location Tracking
- ✅ DiagTrack Service & Tracking Services
- ✅ Windows Spotlight (lock screen ads)
- ✅ Suggestions & Tips
- ✅ Feedback Notifications
- ✅ WiFi Sense (password sharing with contacts)
- ✅ Web Search in Start Menu (Bing integration)
- ✅ Cloud Sync for Start Menu
- ✅ Windows Update P2P (set to LAN-only, no internet upload)
- ✅ Cortana (voice assistant)
- ✅ Search History & Bing Integration
- ✅ Microsoft Edge Telemetry & Copilot (security features preserved)
- ✅ Tracking Services (dmwappushservice, RetailDemo, Xbox Live, etc.)
- ✅ App Diagnostics Access
- ✅ Customer Experience Improvement Program (CEIP)
- ✅ Windows Store Suggestions
- ✅ Speech, Inking & Typing Personalization
- ✅ Steps Recorder & Remote Registry
- ✅ Microsoft Account Sync Settings
- ✅ Microsoft Office Telemetry
- ✅ Office Diagnostic Logs
- ✅ Office Connected Services
- ✅ Office Cloud Fonts
- ✅ Office Roaming Settings
- ✅ Office LinkedIn Integration
- ✅ Office Insights Services
- ✅ Office Research Pane
- ✅ PowerShell Telemetry
- ✅ VS Code Telemetry
- ✅ .NET Core Telemetry
- ✅ Windows Terminal Telemetry
- ✅ Telemetry Scheduled Tasks (15+ tasks disabled)
- ✅ Hosts File Blocking (35+ telemetry domains)
- ✅ Firewall Rules (outbound blocking)
- ✅ SmartScreen (malware/phishing protection) - KEPT ENABLED
- ✅ Windows Defender (cloud protection) - KEPT ENABLED
- ✅ Windows Update (no delays) - WORKING NORMALLY
- Go to Releases
- Download
Windows-Privacy-Toolkit-vX.X.X.zip - Extract and follow How to Run below
git clone https://github.com/NX1X/Windows-Privacy-Toolkit.git
cd Windows-Privacy-Toolkit# 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- 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)
- Windows 10 or Windows 11
- PowerShell 5.1+ (pre-installed on Windows)
- Administrator privileges required for hardening scripts
Option A: Clone with Git
git clone https://github.com/NX1X/Windows-Privacy-Toolkit.git
cd Windows-Privacy-ToolkitOption B: Download ZIP
- Click Code → Download ZIP
- Extract to a folder (e.g.,
C:\Privacy-Toolkit) - Open that folder
- Press
Win + X - Select Windows PowerShell or Terminal
- Navigate to the toolkit folder:
cd C:\Path\To\Windows-Privacy-Toolkit
- Scripts will automatically request admin privileges when needed (UAC prompt)
If you get "cannot be loaded because running scripts is disabled":
Option 1 - Temporary (Recommended):
Set-ExecutionPolicy Bypass -Scope Process -ForceThis allows scripts ONLY in the current PowerShell window.
Option 2 - Permanent:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUserType Y and press Enter. This persists across PowerShell sessions.
First, audit your current privacy settings:
.\Privacy-Audit.ps1Then, apply hardening:
.\Disable-WindowsTelemetry.ps1
.\Disable-OfficeTelemetry.ps1
.\Disable-PowerShellTelemetry.ps1Optional - Advanced Hardening:
.\Disable-AdvancedTelemetry.ps1Optional - Remove Microsoft 365 Bloatware:
.\Remove-OfficeBloatware.ps1Finally, verify changes:
.\Privacy-Audit.ps1✅ All green checkmarks? You're protected!
Some changes require a restart to take full effect:
Restart-ComputerAdd to your setup script:
# Download and run
iwr -Uri "https://raw.githubusercontent.com/NX1X/Windows-Privacy-Toolkit/main/Disable-WindowsTelemetry.ps1" | iex# 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")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.
NX1X
- 🌐 Website: www.nx1xlab.dev
- 🔧 Part of: NXTools
- 📚 Documentation: docs.nx1xlab.dev
- 📝 Blog & Technical Guides: blog.nx1xlab.dev
- 💻 GitHub: github.com/NX1X/Windows-Privacy-Toolkit
If you need to undo all privacy hardening and restore Windows to default settings:
.\Restore-PrivacySettings.ps1What this script does:
- ✅ Restores telemetry to Windows default (Full level)
- ✅ Re-enables all tracking services
- ✅ Restores Cortana, Activity History, Advertising ID
- ✅ Re-enables Office telemetry
- ✅ Restores developer tools telemetry
- ✅ Re-enables scheduled tasks
- ✅ Cleans hosts file (removes blocking entries)
- ✅ Removes firewall rules
Safety Features:
- Requires typing 'YES' to confirm
- Backs up hosts file before modification
- Can be run multiple times safely
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. 🛡️