TL;DR: Open Windows PowerShell (Admin) (use PowerShell 5.1, not PowerShell 7), then run:

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

Use the script’s UI toggles to disable/remove AI features (Copilot, Recall, AI Actions, etc.). If you want an easy rollback later, run it with Backup Mode first, then use Revert Mode to undo changes.

Advertisement

What RemoveWindowsAI can do

According to the project documentation and Tom’s Hardware, RemoveWindowsAI can target a wide range of Windows 11 AI features, including Copilot, Recall, AI Actions, and various AI-related packages/registry items.

Before you run it (important)

1) Create a restore point or backup. The script makes deep system changes.

2) Use Windows PowerShell 5.1. The README warns PowerShell 7 can cause issues.

3) Expect antivirus alerts. Some third-party AV tools may flag it (possible false positives).

4) Want a clean rollback? Enable Backup Mode before applying options to fully revert later.

Option A (recommended): Run it with the UI

Step 1: Open Windows PowerShell as Administrator.

Step 2: Paste and run this command:

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

This launches the UI where you can toggle what you want to remove/disable.

Short link version (listed by the author):

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

Option B: Run it non-interactive (automation)

Run everything

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

Run only specific actions

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

Options listed in the README

DisableRegKeys
PreventAIPackageReinstall
DisableCopilotPolicies
RemoveAppxPackages
RemoveRecallFeature
RemoveCBSPackages
RemoveAIFiles
HideAIComponents
DisableRewrite
RemoveRecallTasks

Backup Mode + Revert Mode (recommended if you’re cautious)

Apply changes with Backup Mode enabled

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

Revert changes later

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

Quick checks after running

Copilot: Confirm Copilot is gone/disabled (the script targets it).

Recall: Confirm Recall is removed/disabled (and related tasks if you used that option).

Notepad Rewrite: If you used DisableRewrite, open Notepad and check that AI rewrite is no longer available.

Final notes

The author notes the script targets the newest stable Windows build, and Insider-only features may not be included until they reach stable releases. If you’re unsure, testing in a VM first is a smart move.

LEAVE A REPLY

Please enter your comment!
Please enter your name here