Windows 11 Optimizer

How to Use?

  1. Press the Windows key on your keyboard.
  2. Search for PowerShell.
  3. Click "Run as Administrator" on the right pane to open it.
  4. Copy your desired code from below, paste it into PowerShell, and press Enter.

1. Safe Actions (Registry Tweaks)

These commands disable AI features using policies and registry keys, which is completely safe for your system.

1.1 Fully Disable Copilot and Recall
# Disable Copilot
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1 /f
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d 1 /f

# Disable Recall & Snapshots
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "DisableAIDataAnalysis" /t REG_DWORD /d 1 /f
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "DisableAIDataAnalysis" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "TurnOffSavingSnapshots" /t REG_DWORD /d 1 /f
1.2 Disable Typing Data Collection (Input Insights)
reg add "HKCU\Software\Microsoft\InputPersonalization" /v "RestrictImplicitInkCollection" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\InputPersonalization" /v "RestrictImplicitTextCollection" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Input\Settings" /v "InsightsEnabled" /t REG_DWORD /d 0 /f
1.3 Disable AI in Paint and Notepad
# Disable Paint AI (Cocreator, Gen Fill)
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint" /v "DisableImageCreator" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Paint" /v "DisableCocreator" /t REG_DWORD /d 1 /f

# Disable Notepad AI
reg add "HKLM\SOFTWARE\Policies\WindowsNotepad" /v "DisableAIFeatures" /t REG_DWORD /d 1 /f

2. Moderate Risk (App & Feature Removal)

These commands safely uninstall specific AI apps. There is no risk of system crashes.

2.1 Remove Copilot App and AI Appx Packages
Get-AppxPackage *Microsoft.Copilot* -AllUsers | Remove-AppxPackage -AllUsers
Get-AppxPackage *MicrosoftWindows.Client.AIX* -AllUsers | Remove-AppxPackage -AllUsers
Get-AppxPackage *Microsoft.Windows.Ai.Copilot.Provider* -AllUsers | Remove-AppxPackage -AllUsers
Get-AppxPackage *Microsoft.Office.ActionsServer* -AllUsers | Remove-AppxPackage -AllUsers
2.2 Remove Recall (Optional Feature) and Disable Voice Access
# Remove Recall
Disable-WindowsOptionalFeature -Online -FeatureName "Recall" -Remove -NoRestart

# Disable Voice Access
reg add "HKCU\Software\Microsoft\VoiceAccess" /v "RunningState" /t REG_DWORD /d 0 /f

3. Complete Bloatware Remover Script

Permanently removes unnecessary apps (Xbox, Solitaire, Bing News, etc.) for current and future users.

3.1 Full Bloatware Removal Script
# List of bloatware apps to remove
$bloatware = @(
    "Microsoft.BingNews",
    "Microsoft.BingWeather",
    "Microsoft.Getstarted",
    "Microsoft.WindowsAlarms",
    "Microsoft.WindowsMaps",
    "Microsoft.YourPhone",
    "Microsoft.WindowsFeedbackHub",
    "Microsoft.XboxGamingOverlay",
    "Microsoft.GamingApp",
    "Microsoft.Xbox.TCUI",
    "Microsoft.XboxIdentityProvider",
    "Microsoft.XboxSpeechToTextOverlay",
    "Microsoft.Edge.GameAssist",
    "Microsoft.MicrosoftSolitaireCollection"
)

Write-Host "Starting Bloatware Removal Process..." -ForegroundColor Yellow

foreach ($app in $bloatware) {
    Write-Host "Removing $app..." -ForegroundColor Cyan
    
    # Remove for all current users
    Get-AppxPackage -Name "*$app*" -AllUsers | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue
    
    # Remove from provisioned packages (prevents reinstall for new users)
    Get-AppxProvisionedPackage -Online | Where-Object { $_.PackageName -match $app } | Remove-AppxProvisionedPackage -Online -AllUsers -ErrorAction SilentlyContinue
}

Write-Host "Bloatware successfully removed!" -ForegroundColor Green

Once all commands have been executed successfully, please Restart your computer.