Open-source project
zoicware/RemoveWindowsAI avatar
zoicware/RemoveWindowsAI

RemoveWindowsAI: what the PowerShell script cannot switch off

Force Remove Copilot, Recall and More in Windows 11

13,613 stars477 forksPowerShellMIT

At a glance

What is it?
A PowerShell script that strips Copilot, Recall and other AI components out of Windows 11 through thirteen named options, leaving behind manual work, a revert path that depends on a restore point, and no version you can pin.
Who is it for?
Adopt it if you run a stable Windows 11 build, want the AI appx packages gone rather than merely hidden, and can work inside a virtual machine or add an anti-virus exclusion. Skip it on Insider channels, where Microsoft ships the features first, and skip it if you cannot enable -backupMode before you start.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 9 days ago.
What is it written in?
Mainly PowerShell, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 7, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • zoicware/RemoveWindowsAI13,613 ★ · +597
Star history
Repository2026-09-112026-11-07
zoicware/RemoveWindowsAI13k13.6k

597 Stars in the last 57 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

No installer: irm pulls main branch straight into your console

RemoveWindowsAI has no installer, no package manager entry and no release archive. What ships in the repository is RemoveWindowsAi.ps1, a Documentation.md, an OtherAIFeatures.md, a ClassicApps directory and a second script for the post-update pass. The documented way in is to fetch the script text from GitHub and execute it in memory, from an elevated console:

PowerShell
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))

irm downloads the file and scriptblock turns the returned string into executable code, which then opens a UI where you tick what to remove. Nothing lands on disk that you can inspect before running, and the content that executes is whatever main holds at the moment you press enter. A compact variant points at a kutt.to link instead of the raw URL:

PowerShell
& ([scriptblock]::Create((irm 'https://kutt.to/RWAI')))

That form resolves through a third-party link shortener, so the address you audit is not the address you fetch. The repository has no GitHub releases either, so there is no tagged build to compare against.

Eleven options, and -AllOptions leaves a task running behind you

Work is split into thirteen switches rather than one flag, so a targeted run is possible:

PowerShell
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -Options DisableRegKeys,RemoveAppxPackages,DisableCopilotPolicies

The full set is DisableRegKeys, PreventAIPackageReinstall, DisableCopilotPolicies, RemoveAppxPackages, RemoveRecallFeature, RemoveCBSPackages, RemoveAIFiles, HideAIComponents, DisableRewrite, RemoveWindowsAITasks, UpdateCleanupCheck, DisableDefenderAI and DisableNPUDevice. Adding -ExcludeOptions inverts the same call, so the options listed are the ones left out.

-AllOptions turns on UpdateCleanupCheck, which installs a scheduled task that checks for a Windows update and removes AI features it finds afterwards. The script exits, the task does not. Your machine keeps changing without anyone asking it to, and that is the part most readers underestimate when they read thirteen options as thirteen toggles.

-revertMode is only meaningful if -backupMode ran first

Backup mode has to be enabled before the job can be fully reverted, and enabling it creates a restore point for you. Without that step, the revert call runs against a machine state the script has no record of:

PowerShell
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -backupMode -AllOptions
PowerShell
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -revertMode -AllOptions

On anything you cannot afford to rebuild, run the backup variant.

The reinstall block is a custom Windows Update package, not a deletion

Deleting an AI appx package is simple; the harder problem is Windows putting it back on the next cumulative update. PreventAIPackageReinstall answers that by installing a custom Windows Update package so AI packages stay out of the CBS (Component-Based Servicing) store, while RemoveCBSPackages deletes hidden and locked AI entries already sitting in that store. The scheduled task script lives at the repository root as RemoveAI-UpdateCleanup.ps1 and is what performs the post-update sweep.

The cost is that a machine which ran this now carries a custom update package and a scheduled task that were not there before. Both outlive the app packages they were meant to protect. Delete the AI features and you inherit infrastructure to keep them deleted.

PowerShell 7 is unsupported and will break the run

The project states plainly that running the script with PowerShell 7 is no longer supported and that it will cause issues, and it instructs you to use Windows PowerShell 5.1. That is the one hard shell constraint given.

Practically, the familiar cross-platform default is the wrong one here. If your profile or automation already resolves pwsh, a machine-wide shell change or an explicit path to powershell.exe is needed first. Both the full URL form and the kutt.to form assume the same console, so there is no cross-platform path through either entry point.

What it cannot remove lives in a second file you have to find yourself

The gap is admitted rather than hidden: not all features and settings can be disabled via a script, and the remainder is handed to OtherAIFeatures.md as manual steps. A clean run of RemoveWindowsAI is therefore not the same thing as an AI-free Windows install.

The coverage question becomes concrete at the edges. Copilot in Edge and Copilot in Office are handled as registry policies, Recall as an optional feature plus packages, typing data through Input Insights. Anything the author has not yet added as a switch stays running and stays quiet. The stated route for a gap is filing an issue with as much information as possible, which makes coverage track issue volume instead of a published feature matrix. Read OtherAIFeatures.md against your own list before you assume one run finished the job.

Anti-virus flags it, and the suggested fix is to stop scanning

Third-party anti-virus products flag this script as malicious. The project calls that a false positive and answers it with two instructions: disable the anti-virus, or add the script as an exclusion. It restates the point more broadly, warning that debloat tools get flagged because they make advanced changes to the system, and advises trying software in a virtual machine first.

The exclusion route deserves a second look. A machine-level exclusion stops other software on the host from being scanned for whatever you excluded, and UpdateCleanupCheck leaves a task that keeps firing after you close the window. Running inside a throwaway virtual machine, as suggested, keeps the exclusion off your daily machine and keeps the restore point decision reversible.

Insider builds get the features first and this script arrives late

The stated policy is to track the newest stable Windows 11 build, and to hold off on any feature that appears in an Insider build until it reaches the latest stable release. That restraint is sensible for a script that edits appx packages and the CBS store, where Insider builds change shape often. It also means anyone on an Insider or Dev channel receives the AI additions from Microsoft first and the removal script second, with no release where the two lines up.

There is no version history behind the project to lean on either, since the repository has no GitHub releases and the only maintenance signal is the commit feed. The last push landed on 2026-10-29. Combined with a runtime fetch from main, the practical consequence is that the state you can revert to is whatever the current main branch reconstructs, not a revision you can name and pin.

Editorial conclusion

Adopt it if you run a stable Windows 11 build, want the AI appx packages gone rather than merely hidden, and can work inside a virtual machine or add an anti-virus exclusion. Skip it on Insider channels, where Microsoft ships the features first, and skip it if you cannot enable -backupMode before you start. Verify first that your machine is on the latest stable build and that OtherAIFeatures.md covers the entries you care about, because not all features and settings can be disabled via a script.

Frequently asked questions

How do I install RemoveWindowsAI?

There is no installer. Run it from an elevated Windows PowerShell 5.1 console, where it fetches RemoveWindowsAi.ps1 from GitHub and executes it in memory, opening a UI for choosing options.

How do I use RemoveWindowsAI?

Run it as administrator and pick options in the UI, or pass -nonInteractive with -AllOptions, -Options, -ExcludeOptions or -InstallClassicApps. Add -backupMode before any change you intend to undo with -revertMode.

What tool can I use to remove AI from Windows 11?

RemoveWindowsAI is a PowerShell script with thirteen named options that disable registry keys, remove AI appx and CBS packages, block reinstall through a custom Windows Update package, and delete remaining AI files. OtherAIFeatures.md covers the rest because not everything can be handled by script.

RemoveWindowsAI vs Win11Debloat?

RemoveWindowsAI is scoped to AI features in Windows 11 and adds a CBS reinstall block plus a scheduled task that re-removes AI features after a Windows update.

How do I disable Copilot?

DisableRegKeys turns off Copilot, Copilot in Edge, Gaming Copilot and Copilot in all Office apps, and DisableCopilotPolicies disables the Copilot and Recall policies in IntegratedServicesRegionPolicySet.json.

Official sources

  1. Issues
  2. License: MIT
  3. README
  4. zoicware/RemoveWindowsAI on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/zoicware-removewindowsai.svg)](https://hysenlabs.com/projects/zoicware-removewindowsai)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/zoicware-removewindowsai.svg)](https://hysenlabs.com/projects/zoicware-removewindowsai)

Was this useful?