πEverything Windows

π In this πͺ Windows notes repository, I store all of my notes related to the Windows operating system and Win apps.
π Some commands may be outdated.
ββ οΈ This document contains powerful Windows commands - review each carefully before execution, as they may impact your system, and use them at your own risk!
π Resources π
Install
Privacy
Debloat Windows 11
Install
π RECOMMENDED INSTALL SOLUTION β‘οΈ Rufus (simple)
The latest Rufus version can be used to create a bootable USB drive with the preconfigured necessary bypasses and automatic local user creation on the bootable Windows 11 ISO.
π Unattend-generator (advanced)
An additional answer file can be used for more specific first-install settings. Make sure to include
autounattend.xmlfile at the root of the Windows installation media to be executed during Windows setup.π winutil - Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
How To Setup Windows - Chris Titus Tech - follow this video for full install with custom
iso
Windows 11 without Internet (manual)
π How to bypass internet connection to install Windows 11 - Pureinfotech
π UPDATED 2025 -> The New BypassNRO - YouTube
Manual bypass during standard install
Install Windows 11 via USB ISO
At the first boot in OOBE (Out-of-the-box experience), select Region and Keyboard layout
On the "Let's connect you to a network" screen, press
SHIFT+F10on the keyboard to open theCommand Promptand type the following command
Create a local default Windows 11 account and proceed
Disable and answer
Noto all the Privacy Settings if not needed
Proceed with the final Configuration.
Configuration
π Tip: The following settings should be used with a clean Windows install; otherwise, proceed with caution β οΈ.
Privacy Settings
Check Debloat Win
Disable Online Start Search
π How to Disable Online or Web Results in Start Menu in Windows 10
Debloat Win
π winutil - Chris Titus Tech's Windows Utility
π BloatyNosy - by Builtbybel
π Windows11-Debloat-Privacy-Guide
π Win-Debloat-Tools - LeDragoX
β The repositories above contain many useful and powerful scripts. Be sure to review them carefully before applying to your system, and do so at your own risk! β οΈ
Download https://github.com/Raphire/Win11Debloat repo and run
Run.batto configureRun additional tweaks like
Regfiles\Hide_Onedrive_Folder.reg
Download https://github.com/LeDragoX/Win-Debloat-Tools repo and run other scripts if necessary (I prefer to run them manually)
Backup-System
Optimize-Privacy
Optimize-ServicesRunning
Optimize-TaskScheduler
Optimize-WindowsFeaturesList
Remove-BloatwareAppsList
Install-NerdFont
...
and Software install tool
Use Chris Titus Tech's winutil for more tweaks and fixes.
Removing Telemetry and other unnecessary services
π The following commands may have already been executed by the scripts above. The command list may be outdated and requires some cleaning and fixing.
Open
cmd.exeand type the following commands
Scheduled tasks
UniGetUI
π UniGetUI
Use UniGetUI for an intuitive package managers GUI to download, install and update the necessary software
Create you own package bundle to bulk install software
Export packages list and more
Italian Dev Keyboard - Tilde and Backtick
Install Italian Dev keyboard - https://github.com/linuxiamo/devs-kb-layout-ita - and setup in Time & language - Language & region - Options - Keyboards
PowerToys
Install Microsoft PowerToys via winget
Enable FancyZones and create a window layout
Windows Terminal Mod
Install Windows Terminal via Microsoft Store
Open Windows Terminal and go to the Settings UI window.
Select Startup and choose "Windows Terminal" as the Default terminal application setting.
Install Powershell
Install OhMyPosh
Configure OhMyPosh
Open and configure Windows Terminal to use the installed font
shortcut
CTRL + SHIFT + ,to open the Windows Terminalsettings.jsonfileadd the following attribute
To set a new configuration or theme you need to change the
--configoption of theoh-my-posh init <shell>line in yourprofilescript
Install fastfetch
CMD commands
β Most of the following commands have to be run by opening
CMDas Administrator.
Change Windows Theme
π How to Change Themes in Window 11 Without Activating Windows
Dark theme
Light theme
Winget Upgrade Script
Create a
UpgradePackages.batwith the following content and run it to upgrade installed packages
cmd Cheatsheet
Powershell commands
Show Wi-Fi profiles
PS1 Scripts
Powercat
Directory and File Listing Without Extensions
Powershell Cheatsheet
Software
π Web: https://live.sysinternals.com/
Via Windows Explorer:
e.g.Copytoolsfolder toC:\Program Files\and rename it tosysinternals
Download
vt_setup.msifrom https://github.com/SamuelTulach/VirusTotalUploader/releasesRun
vt_setup.msiand install VirusTotalUploaderCreate an account and Get an API key from VirusTotal.com
Copy the API key
Run
VirusTotalUploader, paste API key and selectDirect file upload

EXTRA: Change the context menu handler by opening
regedit.exeand searching forVirusTotalUploader.It should be in
HKEY_CLASSES_ROOT\*\shellChange the
MUIVerbdata value, e.g. Upload to VirusTotal.

Now you can right-click any file an select "Upload to VirusTotal" to scan it using VirusTotal

Request rate
4 lookups / min
Daily quota
500 lookups / day
Monthly quota
15.5 K lookups / month
Troubleshooting
Delete GRUB files from a Boot EFI partition in Windows
π How to delete GRUB files from a Boot EFI partition in Windows 10
Run a
cmd.exeprocess with administrator privilegesRun
diskpartType:
list diskthensel disk Xwhere X is the drive your boot files reside onType
list volto see all partitions (volumes) on the disk (the EFI volume will be formatted in FAT, others will be NTFS)Select the EFI volume by typing:
sel vol Ywhere Y is the SYSTEM volume (this is almost always the EFI partition)For convenience, assign a drive letter by typing:
assign letter=M:where M is a free (unused) drive letterType
exitto leave disk partWhile still in the
cmdprompt, type:M:and hit enter, where M was the drive letter you just created.Type
dirto list directories on this mounted EFI partitionIf you are in the right place, you should see a directory called EFI
Type
cd EFIand thendirto list the child directories inside EFIType
rmdir /S ubuntuto delete the ubuntu boot directory
Resize Windows EFI partition
βοΈ Goal
Make the EFI System Partition larger to support Lenovo BIOS update, which requires more than the original 100 MB created by the Windows 11 standard installer.
π Expected result
EFI resized
MSR restored
Boot repaired
Windows stable and functioning
1. Check disk layout
Found that the 100 MB EFI System Partition was too small.
Discovered a 16 MB MSR partition (Microsoft Reserved) between
EFIandC:preventing resizing.
2. Deleted the MSR Partition
Booted into GParted Live USB
Deleted the 16 MB
MSRpartition (normally safe but can be risky).*Shrink the left part of the
C:partition to free up the necessary space.This freed space to the right of the
EFIpartition.
3. Resized the EFI Partition
Expanded the
EFIpartition from 100 MB to a larger size (~300 MB).Applied the changes.
4. BSOD After Reboot
Upon reboot, Windows crashed with BSOD -
NTFS_FILE_SYSTEM stop code.Cause: likely NTFS structure misalignment or partition table confusion after
MSRdeletion andEFI+C:resizing.
5. Recreated the MSR Partition
Booted into Windows recovery
Advanced Startup -> Command Prompt
Used
diskpartto recreate a 16 MBMSRpartition in the correct spot:
6. Repaired Windows via Advanced Recovery
Rebooted into Windows Recovery Mode.
Used the built-in startup repair tool
Advanced Options β Startup Repair
Windows automatically fixed the bootloader/NTFS issues.
7. System Booted Successfully
No more BSOD.
EFIpartition now has enough space.Ready to proceed with BIOS update or other tasks.
Check disk info - diskpart
Last updated
Was this helpful?