/windows-debloated-with-privacy

Some notes how I install a fairly slim Windows Enterprise with minimal bloat and improved privacy on an old system

Windows 10 Enterprise 21H2

  • On Gigabyte EP45-UD3L, Core 2 Quad Q9400, 8GB DDR2 PC2-8500, Asus GTX 660Ti

Features

  • Using Windows 10 Enterprise as it is the most configurable edition
  • Debloat Windows using various utilities greatly reducing Windows Store apps and minimizing services
  • Maximize privacy by using local accounts, tweaks, restrictive privacy settings and disabling Telemetry
  • Delay security updates for a week and feature upgrades for 3 months for increased stability
  • Install essential open source apps & system tools
  • Activate using Windows 10 Digital License (HWID)

Download from MS

MyDigitalLife ESD Repository - Get latest version

Download Version 21H2

Client Business Volume ISO Edition List:


Convert to ISO

  1. Download the latest decryption package esd-decrypter-wimlib from WHD/scripts · abbodi1406 · GitHub, and extract its contents to a folder with a simple path.
  2. Move the ESD file to the same folder.
  3. Right click on decrypt.cmd and 'Run as administrator' (this requires that only 1 ESD file is present in the current directory).
  4. ESD file contains 6 editions
    • Select Option 2 - Include one edition
  5. When the list of editions is shown
    • Enter edition number 3 for Enterprise
    • This will create an ISO with Enterprise edition only
  6. On the next screen select option 1:
    • 1 Create ISO with install.wim (this is the most preferable option, which will convert ESD file to a regular ISO distribution that contains standard install.wim file)
  7. This will take a while...
    • Creating Setup Media Layout... boot.wim file... install.wim file
  • More details in the ReadMe.txt

Create Offline USB Installer

BIOS settings

  • Specific to the above motherboard
  • Based on “Optimized Defaults”
  • Keep “Full Screen Logo Show” due to buggy monitor not switching on without it
  • PEG: use GPU on PCIe (as this is an old MB that still has PCI slots as well)
  • Refrained from overclocking due to very old hardware resulting in lack of stability

Install Windows 10

  • Do not enable Internet, unplug Ethernet, do not log into Wifi
  • Only USB2 ports are available on this board, making this a slow install
  • Use a port on the back
  • F12 for Boot Menu, select Harddisk+ and select USB to boot
  • press any key to boot from USB
  • when cursor blinkingon black screen, wait for 5 to 10 minutes to boot (seems to be MBR related)

First boot

  • Select: English Philippines

Second boot

  • Basics
    • Region: Philippines
    • Keyboard: US
    • Skip second keyboard layout (or Add layout: Germany)
  • Network
    • Click: I don’t have Internet
    • Click: continue with limited setup

Third boot

  • Network
    • Click: I don’t have Internet
    • Click: continue with limited setup
  • Account (local account)
    • Name
    • Password
    • Security Questions 1-3 (do not use real info)
  • Services - Choose privacy settings
    • All 6 settings: No
  • Wait for automatic login to the initial local user account

Configure Windows 10

Taskbar

  • Arrange shortcuts on Taskbar
    • Show Task Manager, Snip, Explorer, Edge
    • News and Interests -> Turn Off

Privacy

  • Keep Internet disconnected in order to setup privacy settings first and disable Telemetry before MS can transmit data

Settings

  • in UAC: do not dim my desktop

Windows10Debloater

  • Do this first before installing anything else
  • Windows10DebloaterGUI
    1. Copy the Windows10Debloater.zip file from the USB installer and extract it to your desired location
    2. Once extracted, open PowerShell as an Administrator
    3. Enable PowerShell execution Set-ExecutionPolicy Unrestricted -Force
    4. Change to the directory where you extracted the files: e.g. - cd c:\Users\Public\Scripts\Windows10Debloater
    5. Run the script: .\Windows10SysPrepDebloater.ps1 -Debloat -Privacy
    6. Then run: .\Windows10DebloaterGUI.ps1 to Uninstall OneDrive
    7. In additional user accounts just run: .\Windows10DebloaterGUI.ps1 if some apps have reappeared (possibly OneDrive)

Install Graphics Driver

  • Driver file should be on the USB installer
  • Nvidia Graphics Driver
    • Custom: Only the graphics driver
    • Clean installation

Telemetry, Updates & Lock Screen

  • Start the Local Group Policy Editor
    • create a shortcut for Local Group Policy Editor gpedit.msc on the Desktop and move it to Windows Administrative Tools
  • Use Group Policy Editor to set your organization’s telemetry level:
    • From Local Group Policy Editor, go to
      • Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds.
    • Double-click 'Allow Telemetry'
    • Select Enable
    • In the Options box, select Level 0, and then click OK (Level 0 is only available on the Entrerprise edition)
  • Delay Updates
    • Go to: Computer Configuration > Administrative Templates > Windows Components > Windows Update > Windows Update for Business
    • Quality Updates: defer 7 days
    • Feature Updates - Semi Annual Channel: defer 90 days
  • Disable Lock Screen
    • Go to: Computer Configuration > Policies > Administrative Templates > Control Panel > Personalization
    • Enable: "Do not display the lock screen"
  • Disable Cortana (optional, as already done in Debloater)
    • Go to: Computer Configuration > Administrative Templates > Windows Components > Search
    • Allow Cortana - disable Cortana

System

  • Settings > System > About
    • Advanced System Settings > Advanced > Performance > Advanced > Virtual Memory - Change...
      • Custom Size: Initial/Maximum both fixed at 2024 MB (depending on memory needs, minimizes fragmentation)
    • Rename this PC > enter a new name, for example OfficePC

Reconnect internet & Install Windows 10 Updates

  • Reconnect internet
  • Windows Update -> Check for Updates
  • Wait for Updates to finish and Restart when finished (possibly configure Browsers while waiting)

Install Windows 10 Digital License (HWID)

  • Microsoft Activation Scripts - OpenSource
    • A collection of scripts for activating Microsoft products using HWID / KMS38 / Online KMS activation methods with a focus on open-source
  • Method 1 - PowerShell
    • On Windows 10/11, right click on windows start menu, select PowerShell or Terminal.
    • Copy-paste the below code and press enter iwr -useb https://massgrave.dev/get | iex
  • Method 2 - Traditional
  • Options
    • You will see the activation options, follow onscreen instructions.
    • Use HWID (1)
    • Check activation using the script (4) and (5)

Chris Titus Windows Tool: Install Apps & Tweak System

The Ultimate Windows Utility

  • Reinstall "App Installler" from Microsoft Store, in case it was uninstalled by the Debloater
  • From an elevated PowerShell prompt (Run as Administrator) run: iwr -useb https://christitus.com/win | iex
  • Install (your preferred Open Source apps)
    • Firefox
    • Signal, Skype, Zoom
    • Adobe Reader DC, Notepad++
    • VLC
    • 7-Zip, Bitwarden, Everything Search, HWinfo, TreeSize, Windows Terminal
  • then remove app icons from Desktop
  • Tweaks
    • Select: Desktop
    • Check also: Show File Extensions

Privacy

  • in Settings -> Privacy, set everything "Off" except:
    • Camera
      • Camera: On
      • Allow Desktop Apps: On
    • Microphone
      • Camera: On
      • Allow Desktop Apps: On
    • Notifications: On
    • Documents: On
    • Pictures: On
    • Videos: On
    • File System: On

Configure Edge Browser

  • Upon first launch (do not use a MS account for synching)
    • Sync -> Start without your data
    • Google -> Continue without this data
    • Uncheck: "Make MS experience more useful"
  • Start Screen
    • Custom: all Off except for "Show Quick Links"
  • Settings
    • Privacy -> Strict
    • (scroll down) Address bar and search -> Search Engine -> DuckDuckGo
    • Start -> Open tabs from previous sessions
  • Extensions
    • uBlock Origin
      • Unckeck: Show the number of blocked requests
      • Filter Lists -> add German

Configure Firefox Browser

  • Firefox Home
    • Shortcuts: 1 row
    • Recent Activity: On
  • General -> Startup -> Open previous windows and tabs
  • Search
    • Add search bar in toolbar
    • Default Search Engine -> DuckDuckGo
    • Privacy -> Strict
      • Allow Firefox... Off
  • Add-ons
    • uBlock Origin
      • Unckeck: Show the number of blocked requests
      • Filter Lists -> add German

Install Apps

Install Tools & Utilities

Optional Configuration

  • Personalize Windows: Themes, Colors
    • Download Themes without MS Account: Desktop Themes (double-click to store)
  • Automatic login
    • Use the Windows key + R keyboard shortcut to open the Run window.
    • Run regedit and navigate to - \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device\ - right-click [DevicePasswordLessBuildVersion] - and select [Modify..] then change [Value Data] to 0 {zero!}
    • Run netplwiz - Click your account within the Users for this computer field. - Click the checkbox beside Users must enter a user name and password to use this computer. ... - Click Apply and enter the password twice. Click OK!
  • Reverse Mouse Scroll Direction (like in macOS)

User Accounts

  • Computer Management -> Local Users and Groups -> Users -> New User
    • Name, Password
    • Check: Password never expires
    • Create
  • Upon first login: Services -> Privacy -> No (to all 4)
  • If OneDrive still shows up run: .\Windows10DebloaterGUI.ps1 to Uninstall OneDrive for this account as well.
    • Explorer shell might disappear; in this case run shutdown /r
  • Configure Taskbar
    • Search (show)
    • News and Interests (hide)
    • Icons (select)
  • Configure Browsers, Start Menu
  • Configure Theme
  • Configure LibreOffice

Testing

  • Admin PowerShell: sfc /scannow