/Windows-Debloating-Script

Ultimate Windows tweaking guide for best performance, privacy, & security!

Primary LanguageBatchfile

Caution

For your system safety, please inspect the source code before executing.

How to run:

  1. Download debloat.ps1 to your Downloads directory
  2. Open PowerShell as Administrator
  3. Enter the current directory where debloat.ps1 is located:
cd "$env:USERPROFILE\Downloads"
  1. Set the PowerShell Execution Policy:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  1. Execute the script:
.\debloat.ps1

Windows Tools

ISO Downloads:

Activation:

irm https://get.activated.win | iex

Windows System Configuration:

WIN + R - SystemPropertiesPerformance

☐  Animate controls and elements inside windows
☐  Animate widnows when minimzing and maximizing
☐  Animations in the taskbar
☐  Enable Peek
☐  Fade or slide menus into view
☐  Fade or slide ToolTips into view
☐  Fade out menu items after clicking
☐  Save taskbar thumbnail previews
☐  Show shadows under mouse pointer
☐  Show shadows under windows
☑  Show thumbnails instead of icons
☐  Show translucent selection rectangle
☐  Show window contents while dragging
☐  Slide open combo boxes
☑  Smooth edges of screen fonts
☐  Smooth-scroll list boxes
☐  Use drop shadows for icons labels on the desktop
WIN + R - ncpa.cpl - Select NIC, then select Properties.

☐  Client for Microsoft Networks
☐  File and Printer Sharing for Microsoft Networks
☑  Npcap Packet Driver (NPCAP)  <-- Wireshark
☐  QoS Packet Scheduler
☑  Internet Protocol Version 4 (TCP/IPv4)
☐  Microsoft Network Adapter Multiplexor Protocol
☐  Microsoft LLDP Protocol Driver
☑  Internet Protocol Version 6 (TCP/IPv6)
☐  Link-Layer Topology Discovery Responder
☐  Link-Layer Topology Discovery Mapper I/O Driver
WIN + R - mmsys.cpl

Playback | WIN + R - control mmsys.cpl,,0
☐ Show Disabled Devices
☐ Show Disconnected Devices

Recording Tabs | WIN + R - control mmsys.cpl,,1
☐ Show Disabled Devices
☐ Show Disconnected Devices

Sounds Tab | WIN + R - control mmsys.cpl,,2
Sound Scheme:
- No Sounds

Communications Tab | WIN + R - control mmsys.cpl,,3
☐ Do nothing

Windows Miscellaneous

Windows Search Broken Fix:

sfc /scannow
Repair-WindowsImage -Online -RestoreHealth

Convert BIOS Mode from Legacy to UEFI:

MBR2GPT.exe /convert /allowfullos

Bypass Microsoft Login:

oobe\bypassnro

UEFI/BIOS Keys by Manufacturer:

shutdown /r /fw /f /t 0
Manufacturer Key/Sequence
ASRock F2 or DEL
ASUS F2 for all PCs, F2 or DEL for Motherboards
Acer F2 or DEL
Dell F2 or F12
ECS DEL
Gigabyte / Aorus F2 or DEL
HP F10
Lenovo (Consumer Laptops) F2 or Fn + F2
Lenovo (Desktops) F1
Lenovo (ThinkPads) Enter then F1.
MSI DEL for motherboards and PCs
Microsoft Surface Tablets Press and hold volume up button.
Origin PC F2
Samsung F2
Toshiba F2
Zotac DEL

Personal Fresh Install Programs:

Software Links
LibreWolf Link
7-Zip Link
VLC Link
ImageGlass Link
Notepad++ Link
LibreOffice Link
System Informer Link
BCUninstaller Link
Wireshark Link
FreeTube Link
qBittorrent Link
KeePassXC Link
Everything Link
EverythingToolbar Link
Python Link
ShareX Link