A list of tasks, scripts and settings to debloat a Windows machine. Some parts of this gist are tailored specifaclly for my needs so you might wanna adjust them for yourself.
- Backup all data
- Clean reset the PC
- Install lastest updates
- Download Windows 11 Installation Assistant: https://www.microsoft.com/en-us/software-download/windows11
- Install Windows 11
- Install lastest updates
- From elevated Powershell terminal:
- Run:
Set-ExecutionPolicy Unrestricted iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JJ8R4'))
- Then:
- Click Essential Tweaks and Disable delete OneDrive
- Finally:
iex ((New-Object System.Net.WebClient).DownloadString("https://git.io/JStij")) Set-ExecutionPolicy Default
- Run:
- Disable automatic updates in Microsoft Store
- Uninstall all pre-installed bloatware
- Install Firefox:
- Import backed up profile or create new in
about:profiles
- Put all files from
https://github.com/NeqsTech/user.js
into the profile folder - Install Dark Reader:
https://addons.mozilla.org/en-US/firefox/addon/darkreader/
- Install Decentraleyes:
https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/
- Install uBlock Origin:
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
- Install Return Youtube Dislike:
https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/
- Import backed up profile or create new in
- Drivers:
- Download DDU: https://www.guru3d.com/files-details/display-driver-uninstaller-download.html
- Download GPU drivers
- In SAFE MODE remove pre-installed by Windows drivers
- Install the downloaded ones
- Port the settings
- Firmware:
- Check if BIOS is up to date
- CPU chipset drivers
- Personalization:
- Background picture: desktop_wallpaper.jpg
- Colors:
- Mode: dark
- Accent color: #13cac9
- Show accent color on title bars and windows borders: ON
- Lock screen picture: lock_screen_wallpaper.jpg
- Taskbar > Taskbar items: all OFF
- Control panel:
- Sound settings
- Mouse:
- Enchance pointer precision: OFF
- Hide pointer when typing: OFF
- Power Options > Set to Balanced
- System > Rename this PC
- Utilities:
- Windows Terminal Preview from Windows Store
- Power Toys: https://github.com/microsoft/PowerToys/releases/
- Mouse Without Borders: https://www.microsoft.com/en-us/download/details.aspx?id=35460
- Mega Desktop App: https://mega.io/desktop
- KeePass 2: https://keepass.info/download.html
- HWiNFO: https://www.hwinfo.com/download/
- Configure Windows Terminal:
- Overwrite settings.json with: https://gist.github.com/NeqsTech/a2cb848a5b46cd44b3a827e671c58847
- Set default terminal application to: Widows Terminal Preview
- Install Caskaydia Code NF: https://www.nerdfonts.com/font-downloads
- WSL Setup:
- Installation:
- In Powershell:
wsl --install setx.exe WSLENV "USERPROFILE/p"
- From Microsoft Store install Ubuntu
- In Powershell:
- Configuration:
- Update the system:
sudo apt update && sudo apt upgrade && sudo apt autoremove
- Update the system:
- Zsh Configuration:
- Run the script:
wget https://git.io/JSiCz -O - | bash
- Chnage default shell to zsh:
chsh $USER #and type /bin/zsh
- Run the script:
- List Dir replacement:
- Download exa:
https://github.com/ogham/exa/releases/
- Extract the files.
- Copy
bin/exa
to/usr/local/bin/
:sudo cp bin/exa /usr/local/bin
- Copy
completions/exa.zsh
to/usr/local/share/zsh/site-functions/_exa
:sudo cp completions/exa.zsh /usr/local/share/zsh/site-functions/_exa
- Download exa:
- Installation:
- Install PowerShell 7:
- From: https://aka.ms/PSWindows
- Install Oh-My-Posh:
- From powershell run:
winget install JanDeDobbeleer.OhMyPosh
- Install powershell profile:
((New-Object System.Net.WebClient).DownloadString('https://git.io/JSVR7')) | Out-File -FilePath "$Home\My Documents\PowerShell\Microsoft.PowerShell_profile.ps1"
- Install Oh-My-Posh theme:
Remove-Item "$env:LocalAppData\Programs\oh-my-posh\themes\*.*" ((New-Object System.Net.WebClient).DownloadString('https://git.io/JSVgi')) | Out-File -FilePath "$env:LocalAppData\Programs\oh-my-posh\themes\powerlevel10k_rainbow2.omp.json "
- Install Terminal Icons:
Install-Module -Name Terminal-Icons -Repository PSGallery
- From powershell run: