๐ฅ๏ธ Windows 11 Optimization & Customization¶

๐ Introduction¶
This guide provides practical steps to reduce RAM usage, extend battery life, and remove unnecessary Windows 11 services and AI components. By applying these tweaks, you can streamline your system, improve performance, and customize Windows 11 to better suit your needs.
โก Hardware Optimization¶
โ๏ธ Power & Performance Optimization Settings
Setting Maximum processor state to 99% on battery disables Turbo Boost, so the CPU runs only at its base clock speed. This reduces power consumption and heat, extending battery life, with only minor performance loss for most everyday tasks.
Control Panel > Hardware and Sound > Power Options > Edit Plan Settings
Change advanced power settings
PCI Express
Link State Power Management
On battery: "Maximum power savings"
Plugged in: Off
Processor power management
Minimum processor state
On battery: 2%
Plugged in: 5%
Maximum processor state
On battery: 99%
Plugged in: 100%
๐ Extend Surface Pro Battery life
Your battery will charge to 80%. This mode extend battery health and lifespan.
Open Surface application.

Battery & charging: Limit to 80%
๐งน Windows Cleanup Scripts¶
๐ฆ Win11Debloat
Win11Debloat is a simple, easy to use and lightweight PowerShell script that helps streamline Windows 11 by removing bloatware, disabling telemetry, and improving privacy and performance:
- Open PowerShell or Terminal, as an administrator.
-
Copy and paste the command below into PowerShell:
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults -
Wait for the script to automatically download Win11Debloat.
- Carefully read through and follow the on-screen instructions.
๐ค Remove Windows Ai
This script disables Windows 11 AI features, removes related packages, and cleans up system data.
- Open PowerShell or Terminal, as an administrator.
-
Copy and paste the command below into PowerShell:
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -
Wait for the script to automatically download Win11Debloat.
- Carefully read through and follow the on-screen instructions.
๐๏ธ Disk Cleanup
Disk Cleanup is a built-in Windows utility that helps free up disk space by removing unnecessary files.
- Press Win + R:
cleanmgr. - Select Clean up system files.
-
Check:
- Windows Update Cleanup
- Microsoft Defender Antivirus
- Downloaded Program Files
- Temporary Internet Files
- Direct X Shader Cache
- Delivery Optimization Files
- Device driver packages
- Language Resource Files
- Recycle Bin
- Temporary files
-
Click OK โ Delete Files.
๐ ๏ธ DISM System Cleanup
DISM (Deployment Imaging Service and Management Tool) is a built-in Windows utility for advanced system maintenance.
It can clean up the WinSxS folder by removing outdated Windows Update files. Using the /ResetBase option, DISM also deletes older component versions permanently, freeing additional disk space but preventing the uninstall of old updates.
- Open PowerShell or Terminal, as an administrator.
-
Copy and paste the command below into PowerShell:
dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
๐ ๏ธ Windows Customization¶
๐ผ๏ธ Remove Shortcut's arrow
Remove the shortcut arrow overlay from desktop icons by editing the Registry:
-
Open Registry Editor
Press Win + R, typeregedit, and press Enter. -
Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons -
Create String Value
- New โ String Value
- Name: 29
- Value:
%windir%\System32\imageres.dll,197
-
Restart to apply changes.