{"id":26985455,"url":"https://github.com/lotusflowr/windows-debloat-automated","last_synced_at":"2026-05-03T06:33:36.688Z","repository":{"id":285852502,"uuid":"953842978","full_name":"lotusflowr/windows-debloat-automated","owner":"lotusflowr","description":"Automated modular PowerShell scripts to debloat, optimize, and harden Windows 10 \u0026 11 for personal, enterprise, VM or Autounattend-based installs.","archived":false,"fork":false,"pushed_at":"2025-07-02T19:47:15.000Z","size":263,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T20:38:00.024Z","etag":null,"topics":["autounattend","autounattend-xml","bloatware","bloatware-removal","debloat-script","gaming","modular","optimizer","powershell-scripts","silent","windows","windows-10","windows-11"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lotusflowr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-24T06:59:57.000Z","updated_at":"2025-07-02T19:47:19.000Z","dependencies_parsed_at":"2025-04-03T05:20:35.882Z","dependency_job_id":"383ab4b6-b156-4903-ac25-b83f1c6db0af","html_url":"https://github.com/lotusflowr/windows-debloat-automated","commit_stats":null,"previous_names":["lotusflowr/windows-debloat","lotusflowr/windows-debloat-automated"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lotusflowr/windows-debloat-automated","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusflowr%2Fwindows-debloat-automated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusflowr%2Fwindows-debloat-automated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusflowr%2Fwindows-debloat-automated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusflowr%2Fwindows-debloat-automated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lotusflowr","download_url":"https://codeload.github.com/lotusflowr/windows-debloat-automated/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lotusflowr%2Fwindows-debloat-automated/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autounattend","autounattend-xml","bloatware","bloatware-removal","debloat-script","gaming","modular","optimizer","powershell-scripts","silent","windows","windows-10","windows-11"],"created_at":"2025-04-03T18:23:44.120Z","updated_at":"2026-05-03T06:33:36.683Z","avatar_url":"https://github.com/lotusflowr.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧰 Windows Debloat \u0026 Optimization Suite\n\n![OS](https://img.shields.io/badge/Windows-10%20%7C%2011-blue)\n![Shell](https://img.shields.io/badge/Shell-PowerShell-008fc7)\n![Autounattend](https://img.shields.io/badge/Autounattend-Compatible-green)\n![License](https://img.shields.io/badge/License-GPL--3.0-green)\n\nA fully automated PowerShell toolkit to **debloat**, **optimize**, and **harden Windows** — from install to ready-to-use.\n\nThis suite is purpose-built for Autounattend.xml deployments and post-install automation.  \nAll scripts are compatible with tools like [schneegans.de](https://schneegans.de/windows/unattend-generator) for lightweight, one-time execution during OOBE or after first login.\n\n---\n\n## 📦 Script Breakdown\n\n| Script                   | Purpose | Key Features |\n|--------------------------|---------|--------------|\n| `SystemSetup.ps1`        | Core system tweaks | • Disables telemetry tasks and services\u003cbr\u003e• Activates Ultimate Performance power plan\u003cbr\u003e• Optimizes network and RAM settings\u003cbr\u003e• Configures gaming priorities\u003cbr\u003e• Disables error reporting and ads\u003cbr\u003e• Clears Start menu tiles\u003cbr\u003e• Enables ICMP for network diagnostics |\n| `UI_Tweaks.ps1`          | User interface optimization | • Removes Widgets and Meet Now\u003cbr\u003e• Configures File Explorer behavior\u003cbr\u003e• Disables News and Interests\u003cbr\u003e• Hardens privacy settings\u003cbr\u003e• Removes Edge desktop shortcut\u003cbr\u003e• Disables telemetry and feedback |\n| `SysPrep_Debloater.ps1`  | App and feature removal | • Removes provisioned apps (PUWs)\u003cbr\u003e• Uninstalls optional features\u003cbr\u003e• Progress tracking for removals\u003cbr\u003e• Error handling for failed removals\u003cbr\u003e• Safe for Sysprep/FirstLogon |\n| `Winget_Apps.ps1`        | Package management | • Auto-installs winget and dependencies\u003cbr\u003e• Installs curated app list\u003cbr\u003e• Handles shortcut cleanup\u003cbr\u003e• Validates installations\u003cbr\u003e• Progress tracking |\n| `UserSetup.ps1`          | User personalization | • Configures keyboard layout\u003cbr\u003e• Sets wallpaper preferences\u003cbr\u003e• Removes startup apps\u003cbr\u003e• Creates network shortcuts\u003cbr\u003e• Downloads system tools\u003cbr\u003e• Activates Windows via [TSForge](https://massgrave.dev/tsforge) |\n| `WindowsOptimizer.ps1`   | System optimization | • Downloads and runs [Optimizer](https://github.com/hellzerg/optimizer)\u003cbr\u003e• Applies dynamic config based on OS\u003cbr\u003e• Validates downloads\u003cbr\u003e• Implements execution timeout\u003cbr\u003e• Cleans up temporary files |\n| `WindowsSpyBlocker.ps1`  | Privacy protection | • Downloads [WindowsSpyBlocker](https://github.com/crazy-max/WindowsSpyBlocker)\u003cbr\u003e• Applies telemetry blocklists\u003cbr\u003e• Configures firewall rules\u003cbr\u003e• Cleans up installation files |\n| `CTT_Winutil.ps1`        | Additional tweaks | • Downloads patched [WinUtil](https://christitus.com/win)\u003cbr\u003e• Applies system tweaks only\u003cbr\u003e• Validates JSON config\u003cbr\u003e• Handles download errors\u003cbr\u003e• Cleans up after execution |\n\n---\n\n## ⚙️ Features\n\n- ✅ Silent execution — no popups\n- 🔁 Safe to re-run — idempotent logic\n- 🧠 Detects Windows 10 vs 11 automatically\n- 🧩 Modular — use only what you need\n- 🌐 Pulls community tools: [Optimizer](https://github.com/hellzerg/optimizer), [WinUtil](https://christitus.com/win), [WindowsSpyBlocker](https://github.com/crazy-max/WindowsSpyBlocker)\n- 💾 Winget bootstrap + install support\n- 🧱 Designed specifically for **Autounattend.xml automation**\n- 📝 Detailed logging with progress tracking\n- 🛡️ Error handling and validation throughout\n- 🔄 Progress tracking for long operations\n\n---\n\n## 🚀 Usage\n\nYou can run scripts manually, chain them in SetupComplete/FirstLogon, or automate via OOBE using:\n\n\u003e 💡 [schneegans.de](https://schneegans.de/windows/unattend-generator/)  \n\u003e Use it to schedule **one-time execution** of PowerShell scripts during the first user login — no registry or Task Scheduler changes required.  \n\u003e Perfect for `Autounattend.xml` deployments.\n\n**Suggested execution order**:\n```\nSystemSetup.ps1        → SYSTEM-level baseline tweaks\nUI_Tweaks.ps1          → UI, taskbar, privacy, and startup cleanup\nSysPrep_Debloater.ps1  → Remove built-in apps and features\nWinget_Apps.ps1        → Install app stack (auto-installs winget if needed)\nUserSetup.ps1          → Per-user personalization\nWindowsOptimizer.ps1   → Full Optimizer pass with embedded config\nWindowsSpyBlocker.ps1  → Apply telemetry blocklists\nCTT_Winutil.ps1        → Additional system tweaks\n```\n\n### 📦 Autounattend Integration\n\nThis project includes and supports a fully configured `Autounattend.xml` for hands-free deployment.\n\nYou can use [schneegans.de's Unattended Generator](https://schneegans.de/windows/unattend-generator/) to modify or inspect the unattended configuration.\n\nTo apply this to your install media, simply place the provided [`Autounattend.xml`](./autounattend.xml) at the root of a bootable Windows ISO or USB\n\nYou can find a copy of the example [`Autounattend.xml`](./autounattend.xml) in this repository.\n\nMore info in the [Wiki/Autounattend-Integration](https://github.com/lotusflowr/windows-debloat-automated/wiki/Autounattend-Integration).\n\n## 📌 Requirements\n\n- 💻 Windows 10 or 11 (22H2+ recommended)\n- 🌐 Internet required for Optimizer, WinUtil, SpyBlocker, and winget\n- 🛠 PowerShell 5.1+\n- 🔓 If running from a PowerShell window, use: `powershell.exe -ExecutionPolicy Bypass -File .\\ScriptName.ps1`\n\n---\n\n## 🤝 Credits\n\n- [Optimizer by hellzerg](https://github.com/hellzerg/optimizer)\n- [WinUtil by Chris Titus Tech](https://github.com/ChrisTitusTech/winutil)\n- [WindowsSpyBlocker by crazy-max](https://github.com/crazy-max/WindowsSpyBlocker)\n- [schneegans.de](https://schneegans.de/windows/unattend-generator)\n\n---\n\n## ⚠️ Disclaimers\n\n- Always test this suite in a virtual machine (VM) or disposable environment before deploying it to production or real hardware.\n- ⚠️ : UserSetup.ps1 includes Windows activation via [TSForge](https://massgrave.dev/tsforge) - review and remove if not suitable for your environment.\n- These scripts apply deep system-level changes and may behave differently depending on your Windows version, edition, or configuration. Make sure to create backups before attempting any changes.\n- Internet connectivity is required for several features. However, you can definitely adapt them to make them run offline.\n- Most inline comments in the scripts and this wiki were generated using ChatGPT and may be incomplete or slightly inaccurate.\n\n\u003e Feedback and forks welcome — this is an evolving deployment suite.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flotusflowr%2Fwindows-debloat-automated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flotusflowr%2Fwindows-debloat-automated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flotusflowr%2Fwindows-debloat-automated/lists"}