After having to install Windows for the 4th time this year, I've decided to streamline future installations by documenting the details of how to set up Windows such that it as far removed as possible from it's default state of being overbearingly obnoxious. I understand I am the primary audience for this guide - I have chosen to share it online regardless as it has a chance of helping others. Some highlights:
- 🏴☠️ Windows 11 Pro
- 🏴☠️ Offline Office products
- Maximum privacy and performance
- Minimum bloat and clutter
- Windows 10 Context Menu
- Windows 7 Photo Viewer
This guide is opinionated. Feel free to skip sections you don't like as not all of them can be easily reverted.
This guide assumes basic competency with:
- Standard Windows install process
- Standard Windows configuration
- Command/PowerShell/Terminal
Use the official Media Creation Tool to make a bootable USB drive.
-
Proceed with standard installation steps until you can't proceed further without signing into your Microsoft account.
-
Press
shift+f10to open the console window. -
Enter
ncpa.cplinto the terminal to open a window showing all network adapters. Right click each one and disable it. -
Enter
oobe\bypassnrointo the console window. -
When installation is finished, press
win+rand runncpa.cplto re-enable adapters
-
Open a PowerShell window.
-
Enable remote execution:
set-executionpolicy -executionpolicy RemoteSigned -scope CurrentUser -force- Run the activator tool:
irm https://get.activated.win | iex-
Change the edition to
Professional. -
Activate Windows.
To disable the countless UAC warnings during configuration and tweaking, use win + r to run UserAccountControlSettings.exe and move the slider all the way down.
All future commands in this guide are assumed to be ran in the Terminal context created through the following steps...
-
Open a PowerShell window.
-
Enable remote execution:
set-executionpolicy -executionpolicy RemoteSigned -scope CurrentUser -force- Install the latest PowerShell:
winget install --id Microsoft.PowerShell --source winget-
Open the
Terminalapp. -
Navigate to
(dropdown menu) > Settings > Startupand changeDefault profiletoPowerShellandDefault terminal applicationtoWindows Terminal. -
Navigate to
Settings > Defaultsand setRun this profile as Administrator. -
[Optional] disable some or all warnings in
Settings > Interaction > Warnings. -
[Optional] hide unwanted profiles such as the default
Windows PowerShell,AzureandGit Bash. -
[Optional] navigate to
"C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell"andC:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows PowerShelland delete the shortcuts to the defaultPowerShellexecutable.
Don't forget to click Save. Get into the habit of using Terminal anywhere you would normally use PowerShell. After following the above steps, you can now ignore the step of any guide that says something like "Right Click PowerShell and Run as Administrator" or "Set Remote Execution Policy".
- Run Chris Titus Tech's Windows Utility:
irm https://christitus.com/win | iex- Navigate to the
Tweakstab and configure the selection. Here's how I like it:
- Essential Tweaks check all except:
- Disable Hibernation
- Advanced Tweaks check:
- Disable Microsoft Copilot
- Remove OneDrive
- Customize Preferences disable all except:
- Dark Theme for Windows
- NumLock on Startup
- Snap Window
- Show Hidden Files
- Show File Extensions
- Detailed BSoD
-
Click
Run Tweaksand wait for completion. Note the console which shows progress may be hidden behind the GUI. -
Click
Run OO Shutup 10and disable as much as you feel comfortable disabling.
- Go through the
Settingsapp and adjust to your preferences. Don't forget to:- Increase monitor refresh rate above Windows default if supported (e.g. 60Hz -> 120Hz)
- Enable clipboard history (Win + V)
- In
Accessibility > Keyboard:- Disable
Sticky keysandFilter keyskeyboard shortcuts - Disable from
Prt Scrkey functionality if you want to use your own tool
- Disable
- Enable many of the settings in
System > Advanced
- Paste the following into terminal to adjust config options which are not well represented in the
Settingsapps:
control folders
main.cpl
mmsys.cpl
powercfg.cpl
appwiz.cpl
systempropertiesperformance
optionalfeatures
#NOTE: If you are planning on using WSL, it is recommended you enable Hyper-V in optionalfeatures.
- If the PC has an Nvidia GPU, install the Nvidia App and configure graphics settings there
Follow this section if you want a minimalist appearance for Explorer:
- Run the following terminal commands to restore the old Windows Explorer ribbon:
reg add "HKCU\Software\Classes\CLSID\{2aa9162e-c906-4dd9-ad0b-3d24a8eef5a0}" /ve /d "CLSID_ItemsViewAdapter" /f
reg add "HKCU\Software\Classes\CLSID\{2aa9162e-c906-4dd9-ad0b-3d24a8eef5a0}\InProcServer32" /ve /d "C:\Windows\System32\Windows.UI.FileExplorer.dll_" /f
reg add "HKCU\Software\Classes\CLSID\{2aa9162e-c906-4dd9-ad0b-3d24a8eef5a0}\InProcServer32" /v "ThreadingModel" /t REG_SZ /d "Apartment" /f
reg add "HKCU\Software\Classes\CLSID\{6480100b-5a83-4d1e-9f69-8ae5a88e9a33}" /ve /d "File Explorer Xaml Island View Adapter" /f
reg add "HKCU\Software\Classes\CLSID\{6480100b-5a83-4d1e-9f69-8ae5a88e9a33}\InProcServer32" /ve /d "C:\Windows\System32\Windows.UI.FileExplorer.dll_" /f
reg add "HKCU\Software\Classes\CLSID\{6480100b-5a83-4d1e-9f69-8ae5a88e9a33}\InProcServer32" /v "ThreadingModel" /t REG_SZ /d "Apartment" /f
taskkill /f /im explorer.exe; start explorer.exe
#-
In Explorer, click the
vin the top right to expand the classic ribbon. -
On the
Viewtab, hide theNavigation paneandDetails pane. -
Click the
^in the top right to collapse the classic ribbon.
reg add "HKCU\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /f
reg add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /ve /f
taskkill /f /im explorer.exe; start explorer.exe
#Download the latest ContextMenuManager release, change the language to English, and clean up the context menu the best you can. This is probably best done after installing all your usual applications.
- Run Chris Titus Tech's Windows Utility.
irm https://christitus.com/win | iex- On the
Installtab, select the applications you would like to install and clickInstall/Upgrade Applications.
- Run these PowerShell commands to restore Windows Photo Viewer:
reg add "HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open" /v "MuiVerb" /t REG_SZ /d "@photoviewer.dll,-3043" /f
reg add "HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command" /ve /d '"%SystemRoot%\System32\rundll32.exe" "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen "%1"' /f
reg add "HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget" /v "Clsid" /t REG_SZ /d "{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" /f
reg add "HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command" /ve /d '"%SystemRoot%\System32\rundll32.exe" "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_PrintTo "%1"' /f
reg add "HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget" /v "Clsid" /t REG_SZ /d "{60fd46de-f830-4894-a628-6fa81bc0190d}" /f
taskkill /f /im explorer.exe; start explorer.exe
#- Navigate to
Settings > Apps > Default apps > Photosand associatejpg,jpe,jpeg,png, etc. withWindows Photo Viewer
- Nvidia App
- Intel Drivers
- Snappy Driver Installer tough learning curve. Here's some tips:
- Only use after first checking Windows Update, Intel App, GPU app, PC manufacturer app, etc...
- Download
SDI Lite - Launch with
SDI64-drv.exe - Download nothing when prompted on first launch
- Click
Updates are available, thenThis PC Only, thenOK - Once that's complete, repeat the exact same steps to download the drivers before installing them
- Don't install any driver that's'
More optimal driver available, though it's older
There are many options, but I use Equalizer APO for tweaking microphone input.
-
Download and run Office Tool Plus
-
In the
Deploytab, configure with:
Update Channelset to the latest Office Perpetual Enterprise version- At least 1 language
- The
LTSC - Volume Licensefor each product you wish to have
-
Then scroll back to the top of the tab and click
Start deploy -
Run this script to activate licenses for all installed office products
irm https://get.activated.win | iexWhen you're done installing everything, don't forget to review the Startup apps for faster startups.