This directory contains scripts to debloat a Windows ARM64 VM intended for Claude Code extension development.
- WSL - Windows Subsystem for Linux
- SSHD - OpenSSH Server (currently running)
- Git - Version control
- Bash - Shell
- PowerShell - Windows shell
- Edge - Browser
- Node.js - Runtime
- QEMU/Spice services - VM integration
| Script | Description | Risk Level |
|---|---|---|
phase1-remove-apps.ps1 |
Remove bloatware Store apps | Low |
phase2-disable-services.ps1 |
Disable unnecessary services | Medium |
phase3-disable-features.ps1 |
Disable Windows optional features | Medium (requires restart) |
phase4-disable-tasks.ps1 |
Disable telemetry scheduled tasks | Low |
phase5-registry-tweaks.ps1 |
Apply privacy/performance registry tweaks | Medium |
phase6-cleanup.ps1 |
Clean temp files and caches | Low |
run-all.ps1 |
Master script to run all phases | - |
- Create a restore point first (done automatically by run-all.ps1)
- Run scripts in order (phase1 through phase6)
- Restart the system
- Test SSH and WSL functionality
Run each script individually from an elevated PowerShell:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
.\phase1-remove-apps.ps1
.\phase2-disable-services.ps1
# ... etcOr run all at once:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
.\run-all.ps1If something breaks:
- Use System Restore to revert to the restore point created before debloating
- Or manually re-enable services/features as needed
- Clipchamp, Bing News/Weather/Search
- Microsoft Copilot, Teams, Outlook
- Xbox apps (Gaming Overlay, Auth, Game Save)
- Office Hub, Solitaire, Sticky Notes
- Your Phone, Groove Music, Alarms
- Camera, Sound Recorder, Feedback Hub
- Quick Assist, Family Safety, Game Assist
- Edge (browser)
- Windows Terminal
- Notepad
- Calculator
- Snipping Tool
- Photos
- Windows Store
- All runtime libraries (VCLibs, .NET, XAML, AppRuntime)
- DiagTrack (Telemetry)
- Xbox services
- Maps, Media Player Network Sharing
- Parental Controls, Retail Demo
- Windows Insider Service
- Work Folders Client
- Windows Media Player
- Internet Printing Client
- Customer Experience Improvement Program
- Compatibility Appraiser
- Various telemetry tasks
- All scripts include error handling and logging
- Services are set to Disabled or Manual (not deleted)
- Apps are removed for current user only (system apps remain available)
- Registry tweaks are non-destructive and can be reverted