Notice: WinSwift is an enterprise-grade, rebranded fork of the open-source project Raphire/Win11Debloat. All original credits and core architecture concepts belong to the Raphire team. We have implemented our own unified build system and UI adjustments to suit strict organizational needs.
WinSwift is a lightweight, easy-to-use PowerShell script that allows you to quickly declutter and customize your Windows experienceโno installation required! Remove pre-installed apps, disable telemetry, strip out intrusive interface elements, and reclaim your operating system.
WinSwift uses a robust PowerShell execution engine with strict error handling and UAC elevation to apply modifications safely.
graph TD
subgraph Execution["Initialization"]
A[User Runs Command] --> B{Admin Rights?}
B -- No --> C[Request UAC Elevation]
C --> D
B -- Yes --> D[Load WinSwift Engine]
end
subgraph CoreEngine["WinSwift Core Engine"]
D --> E[Parse Parameters]
E --> F[Backup Registry State]
F --> G[Load Modular Tweaks]
end
subgraph Operations["Targeted Operations"]
G --> H[Telemetry & Privacy]
G --> I[Appx Package Removal]
G --> J[UI/UX Modifications]
G --> K[AI/Copilot Purge]
end
H --> L[Done]
I --> L
J --> L
K --> L
autounattend.xmlGenerator - Offline OOBE bypass generator for new installations.- Software Installer - Automated Winget deployment of essential apps.
- Preset Profiles - Shareable JSON configurations for 1-click setups.
- Dry-Run Mode - Preview all changes safely before applying.
- v2.2.0: Competitive Gaming Mode, Settings App Ad Killer, Widgets Deep Disable, Auto-Update Check
- v2.1.0: Gaming Mode, Performance Tweaks, Security Hardening, Extended AI Purge, Kill Windows Ads
Warning
Great care went into making sure this script does not unintentionally break any OS functionality, but use at your own risk! If you run into any issues, please report them on our Issue Tracker.
Run the script directly from our raw GitHub repository using PowerShell.
- Open PowerShell or Terminal.
- Copy and paste the command below into PowerShell:
$f = New-TemporaryFile | Rename-Item -NewName { $_.Name + '.ps1' } -PassThru
irm https://raw.githubusercontent.com/BiosSystem/WinSwift/master/WinSwift.ps1 -OutFile $f
& $f
Remove-Item $f -Force(Alternatively, you can download the script and run it manually)
- Wait for the script to automatically download and launch WinSwift.
- Carefully read through and follow the on-screen instructions.
This method supports command-line parameters to customize the behaviour of the script. Please refer to our Wiki for advanced parameters.
Click here for manual download instructions
- Download the latest version and extract the
.ZIPfile to your desired location. - Navigate to the WinSwift folder.
- Double click the
Run.batfile to start the script. - Accept the Windows UAC prompt to run the script as administrator.
- Carefully read through and follow the on-screen instructions.
Click here for advanced PowerShell execution
- Download the latest version and extract the
.ZIPfile. - Open PowerShell as an administrator.
- Temporarily enable PowerShell execution by entering the following command:
Set-ExecutionPolicy Unrestricted -Scope Process -Force- Navigate to the directory where the files were extracted:
cd C:\WinSwift - Run the script:
.\WinSwift.ps1Tip
All changes made by WinSwift can easily be reverted, and almost all removed apps can be reinstalled through the Microsoft Store. Visit our Wiki for reversion instructions.
- Remove a wide variety of preinstalled bloatware apps (TikTok, Candy Crush, Solitaire).
- Disable OS telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
- Disable tips, tricks, suggestions & ads across Windows, the lock screen, and Microsoft Edge.
- Disable Windows location services, app location access, and Find My Device location tracking.
- Disable & remove Microsoft Copilot, Windows Recall, and Click to Do.
- Prevent the AI service (
WSAIFabricSvc) from starting automatically. - Disable baked-in AI Features in Edge, Paint, and Notepad.
- Restore the classic Windows 10 style context menu.
- Disable transparency, animations, and visual effects for max performance.
- Disable BitLocker automatic device encryption.
- Disable network connectivity during Modern Standby to reduce battery drain.
- Enable the 'End Task' option in the taskbar right-click menu to quickly force-close unresponsive apps.
- Disable Bing web search & Copilot integration in the Start Menu.
- Hide the Home, Gallery, or OneDrive section from the File Explorer navigation pane.
- Show hidden files, folders, drives, and file extensions by default.
- Enable Windows Sandbox, a lightweight desktop environment for safely running applications in isolation.
- Enable Windows Subsystem for Linux (WSL).
- Switch to High Performance power plan automatically.
- Disable Nagle's Algorithm for lower network latency in multiplayer games.
- Disable Mouse Acceleration for true raw input.
- Disable Sticky Keys (no more accidental Shift interruptions).
- Disable Xbox Game Bar and DVR capture overhead.
- Enable Hardware Accelerated GPU Scheduling (HAGS).
- Disable automatic maintenance tasks during gaming hours.
- Remove Windows startup delay.
- Disable Superfetch (SysMain) - unnecessary background RAM prefetching on SSD systems.
- Disable Windows Search indexing - reduces disk I/O.
- Disable Hibernate and free the
hiberfil.sysfile (often 8-32 GB). - Disable Windows Error Reporting dialog popups.
- Disable Print Spooler on non-printer systems.
- Disable Aero Shake (shake-to-minimize).
- Set NumLock ON at every startup.
- Show seconds in the system clock.
- Disable SMBv1 (EternalBlue/WannaCry ransomware vector).
- Disable Remote Desktop (RDP) inbound access.
- Disable AutoRun on all drive types (USB malware prevention).
- Disable legacy TLS 1.0 and 1.1 protocols.
- Block common attack ports: 135, 139, 445 inbound.
- Disable Windows Script Host (.vbs/.js malware protection).
- Fully disable Windows Recall snapshots and AI indexing.
- Deep-disable Phone Link via registry.
- Disable Windows Ink Workspace AI suggestions.
- Kill Sluggishness Telemetry scheduled tasks (CloudExperienceHost).
- Suppress OneDrive silent sign-in from Microsoft account.
- Disable cross-device Cloud Clipboard sync.
- Disable Start menu promoted and suggested apps.
- Disable Lock screen Spotlight ads.
- Remove File Explorer promotional banners.
- Disable Advertising ID for app targeting.
- Disable tailored experiences and device-usage personalization.
For esports and competitive players who need every millisecond.
- Enable hidden Ultimate Performance power plan (unlocks more CPU/GPU headroom than High Performance).
- Force high-precision system timer resolution via
GlobalTimerResolutionRequests(0.5ms vs Windows default 15.6ms). - BCD boot tweaks:
useplatformtick=yes,disabledynamictick=yesfor consistent kernel timing. - MMCSS tuning:
NetworkThrottlingIndex=0xFFFFFFFF(removes artificial network latency cap),SystemResponsiveness=0. - MMCSS Games task:
GPU Priority=8,Priority=6,Scheduling Category=High,SFIO Priority=High. - Disable CPU core parking (prevents latency spikes from parked cores waking mid-game).
- Add
-DisableMemoryIntegrityto also disable VBS/HVCI for a 5-10% FPS boost (opt-in, shows security warning).
For Windows 11 25H2 - targets new ad vectors Microsoft injected into the Settings app itself.
- Suppress all Settings app suggestions and personalized tips (17 ContentDeliveryManager keys).
- Disable post-OOBE "Get more out of Windows" nag screen.
- Block silent Microsoft app installs (
SilentInstalledAppsEnabled=0). - Disable Windows Backup nudge introduced in 25H2.
- Kill Microsoft Teams reinstall suggestions.
- Master kill switch:
ContentDeliveryAllowed=0.
The 25H2 update stopped Widgets opening on hover - but data collection continued in the background.
- Remove
MicrosoftWindows.Client.WebExperienceand runtime packages entirely. - Set Group Policy lock (
AllowNewsAndInterests=0) that survives Windows Update package reinstalls. - Kill all related background processes before removal.
- Disable Widgets button in taskbar.
Fully automated installation of essential utilities using Winget.
- Curated List: 7-Zip, Brave Browser, VLC, Notepad++, PowerToys, Git, Visual Studio Code.
- Provide a custom list via
-SoftwareList "7zip.7zip", "VideoLAN.VLC". - Silently accepts all EULAs and package agreements.
Create and share JSON configurations to quickly deploy standard setups.
- Example Usage:
.\WinSwift.ps1 -Preset .\Config\Presets\gaming-rig.json - Supports all WinSwift switches mapped in the
SwitchesJSON array.
Instantly generate an autounattend.xml file for a fresh offline Windows 11 install.
- Bypasses the mandatory Microsoft Account requirement (adds
BypassNROregistry tweak). - Suppresses online account screens, EULA, and Wi-Fi setup prompts.
- Outputs directly to
C:\autounattend.xml(or custom-UnattendOutPath).
Safely simulate all registry modifications and service changes without applying them.
- Leverages PowerShell's native
$WhatIfPreference. - Provides a detailed CLI preview of exactly what actions WinSwift would take.
We welcome contributions of all kinds! Please see our Contributing Guidelines for detailed instructions on how to get started.
We welcome contributions of all kinds! Please see our Contributing Guidelines for detailed instructions on how to get started.
WinSwift is licensed under the MIT license. See the LICENSE file for more information.



