Technik und digitale Unabhängigkeit

My Debloated & Privacy-Hardened Windows

[Artikel ist in Arbeit]

Related articles:

For a long time, I have felt uneasy about relying so heavily on software from Google, Microsoft, and others for convenience; see Digitale Souveränität.

Linux Mint Cinnamon (European) is a viable alternative to Windows.

  • Mint is fine even for non-technical users.
  • Mint is easier to install than Windows.
  • Windows by default sends a lot of data to the cloud (externally controlled infrastructure): system and device data, usage and diagnostic data, error and log data, account and profile data, tracking and location data, communication and content data.
    Linux is more data‑sparing and does not send any of this data to the cloud. Control lies entirely with the user. However, individual applications on both Windows and Linux can transmit such data to the cloud.
  • Linux has its quirks too. After a while, when simply starting Chrome, Mint complained about my login password no longer being valid, apps crash like in Windows but they fail faster and may not destabilize the kernel and OS and app devs confuse language and locale, as they do everywhere…

Windows

My Windows Approach

This screenshot shows Windows with

  • No MS accounts
  • OneDrive removed
  • Tresorit cloud storage folders pinned as
    • File Explorer favorites
    • Office save as defaults
  • Thunderbird as PIM
    Might stick with Outlook (classic) because I am way more productive with it.
  • For enhanced privacy or unsafe browsing: Brave ‚Private Window with Tor Connectivity‘ in Windows Sandbox
    See Browser, Tor & Tails zum anonymer surfen & weniger Werbetracking
  • Several PWA apps (like Google Calendar) pinned to the Taskbar
Tresiorit folders pinned as File Explorer favorites. Brave Tor window in Sandbox, Excel with Tresoirt as save as default

Here’s my approach to installing and maintaining a debloated, privacy‑hardened Windows system. While no solution is as clean as Linux, this represents a good practical, though limited, way to tame Windows.

  • Debloated and privacy-hardened Windows install and maintenance
    • Using MicroWin of Windows Toolbox by Chris Titus. This does not only harden Windows but also streamlines the setup process.
      Costs 10€ – well worth it. Devs should be paid for their work. If a product is free, this is either self-exploitation or you are the product.
    • Alternative: tiny11
    • Unwanted apps and settings might „sneak in“ after running Windows for a while, but can be removed again.
      Windows 11: Kill Telemetry, Widgets & Bloat – YouTube
  • Link PC to MS Accounts?
    I am astonished how little one loses with not linking to MS accounts
    • Without an MS account for more privacy
      • You still have the core Windows funtionality
      • Can run desktop apps
      • Use the internet
      • Can install Microsoft Store Apps
      • Can still manually use Microsoft services (e.g., log into OneDrive or Outlook in a browser) without linking them to your PC account.
      • Windows 11 widgets work with limitations
        • Generic newsfeed only. No customizations
        • No widgets that rely on MS account data, such as the To Do list or Calendar widgets.
    • You only lose
      • Windows Phone Link
      • Find My Device
        Such a feature can really be helpful: a friend in Germany used it to lead police in Africa to a stolen MacBook.
      • Windows Hello PIN Reset
      • (Automatically backing up BitLocker keys with the account
        Can easily back them up to Tresorit
      • Sync across devices
        Settings sync is chaotic and incomplete,. OneDrive sync is unreliable.
    • While I don’t share many of Braxman’s assessments, still an interesting video
      The Only Safe Way to Use Windows 11 – Eliminate the Microsoft Account (MSA) Permanently – YouTube
  • Storage encryption
    • Cloud storage
      • End-to-end encrypted (E2EE) via Tresorit
        See Daten-Schutz (Ende-zu-Ende Verschlüsselung, …)
        Migrating from OneDrive to Tresorit offers more than just E2EE. It provides significant relief from OneDrive’s persistent issues, including sync failures, poor sync performance, and confusing design choices like the flawed and complex folder backup feature. OneDrive for Business is worse, burdened by poorly documented file-naming restrictions.
      • Personal and security‑critical data should only be stored in the cloud with end‑to‑end encryption. Encryption in transit and at rest alone are not sufficient here.
      • Storing all data in the cloud makes it easy to reset PCs and set up new ones without the risk of losing something.
      • Local drives via BitLocker
        For internal and removable drives.
    • If you worry about governments being able to crack these encryptions, you likely
      • face bigger problems than decrypted data
      • or may possess paranoid tendencies
        that necessitate more stringent security measures.
  • Cloud storage for data security
    To prevent data loss, I store all important data in folders synced to the cloud and between my devices. This is easier and more robust than local backups. It is safe for personal and security-critical data because my cloud storage provider uses E2EE.
  • Image backups. To speed up resetting PCs
    I prefer Macrium. It can

My approach is limited by

  • What MS allows to disable, e.g.
    • „Required only diagnostic data“ being shared cannot be deselected.
    • If Windows Store is installed, you can’t prevent it from installing and updating unwanted apps
  • MS sneaking in unwanted apps and settings over time

I don’t know how much using Windows Toolbox or tiny11 really helps in creating a more sovereign initial Windows install, and this is a moving target. But using these tools requires only a little effort, and the devs seem to be working on permanently adjusting their tools to protect us.
In addition to the initial setup, Windows Toolbox allows you to clean existing installs from time to time.

The option to switch to Linux is readily available to most users.

It isn’t worth worrying too much about unwanted apps as long as they don’t leak data. Disk space they occupy only matters on very storage‑limited devices. Running processes don’t consume significant resources as long as they remain inactive.

Setup

My Steps for an Initial Windows installation:

Prepare

  • Generate a list of apps wanted, from an existing PC via
    Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall* ,
    HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall* |
    Select-Object DisplayName, DisplayVersion, Publisher, InstallDate |
    Where-Object { $_.DisplayName -ne $null } |
    Sort-Object DisplayName |
    Export-Csv -Path „“$env:USERPROFILE\Desktop\InstalledApps.csv““ -NoTypeInformation -Encoding UTF8
  • Create optimized ISO
    • via MicroWin of Windows Toolbox
      • Put Windows Toolbox.exe and Windows .ISO in one folder on c:\
      • Exclude this folder from virus scanners
      • Run Winutil.exe
        Follow instructions.
        Be patient! It takes a while to start and to process the .ISO.
        • Asks for a username and password
      • Close Winutil
      • Create a bootable USB-Stick via
        Rufus

Install Windows

Current Windows installers leave Linux dual-boot loaders intact.

  • Install Windows from USB-Stick
    • Language: English (United Kingdom)
      Although I am German, I prefer English as my display language because the UI texts are shorter, translation errors are less frequent, and it is easier to search for help using English texts and error messages. Unfortunately, Microsoft and many app developers often confuse display language with locale, which results in applications showing a German UI even though I want a fully English interface or not honoring my locale settings.
      Don’t waste your time with this! They will never get this sorted out. Just work around it with minimal effort.
    • I generally select English (GB) for my language settings, as its locale conventions are close to German—just in case some system features or applications do not properly respect locale settings.
    • Time and currency format: German
    • Keyboard: German
    • Do not connect to WLAN!
      This would force unwanted stuff onto your PC later in the setup process.
      Select „I don’t have internet“
    • Send diagnostic data to MS
      „Required only“ cannot be deselected
      .
      As an IT professional, I can understand the rationale, but with Microsoft and other US Big Tech having lost their moral compass, I dislike it. This data is pseudonymized: while theoretically anonymous, it contains unique device identifiers that can be used to deanonymize it.
    • For good passwords see Daten-Schutz (Ende-zu-Ende Verschlüsselung, …)
    • Remember: For the answers to security questions, you should lie (not supply truthful info, which can be hacked via social engineering)
  • Check if Windows settings and installed apps are as expected
  • Connect to the internet.
  • Install updates
    • Install Windows updates via
      settings > update > check for updates
      AND
      update > advanced options > optional updates
      • This typically finds many Windows, firmware, and driver updates.
      • Be prepared for a restart orgy 🙁
      • Click restart only after all updates are either installed or show „pending restart“
      • Fix problems via „Get Help“
        If you are sick of troubleshooting MS troubleshooters, try
        • elevated Terminal:
          net stop wuauserv
          net stop cryptSvc
          net stop bits
          net stop msiserver
          ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
          ren C:\Windows\System32\catroot2 catroot2.old
          net start wuauserv
          net start cryptSvc
          net start bits
          net start msiserver
        • Don’t invent too much engery here!
          Update problems often go away all by themselves after a couple of days
      • Install PC maker’s updates via their tool
        e.g. Lenovo Vantage commercial (the commercial version is less bloated)
      • Force Store app updates via
        store app > updates > check for updates
  • Check for unwanted apps and settings
    • Manually going through Windows settings and via
    • WinUtil Tweaks
      • Remove OneDrive
        Might have to try via Start Menu uninstall too
      • Disable defaults:
        • Center Taskbar Items
        • Widgets Button in -Taskbar
  • Complete Windows setup
    • Fix language and locale settings. If your display language and locale differ, this is always messed up.
      Adding English (UK) as a first preferred language, even though it is the Windows display language already, at least forces the Windows Store and Windows Security to English
    • Disable Windows Fast Startup
      No modern PC needs this dreadful setting. It needlessly increases shutdown time by writing the system state to disk and is one source of instabilities. Via
      control panel > hardware and sound > power options > change what power buttons do > change settings that are currently unavailable > deselect „turn on fast start“
    • Tighten admin security
      This improves security and only costs rare additional confirmation prompts.
    • Install password manager
      • 1Password (my favorite)
      • Bitwarden (FOSS)
    • Enable local drive encryption via
      BitLocker
    • Enable Windows Sandbox
      To keep Windows clean by testing stuff and visiting questionable websites sandboxed.
    • [Enable Widgets]
      To use Widgets without MS accounts
    • Manually configure Windows settings
      I don’t know of a backup/restore tool for complete Windows settings.
      See My Windows 10/11 Setup: Configure Window
  • Install and configure cloud storage
    • Tresorit
    • Pin important Tresoit folders to File Explorer Quick Access
  • Create an initial image backup via
    Macrium (UK)

Install productivity apps

  • Via WinUtil GUI > Install
    • UniGetUI to keep apps updated
    • Internet Browsers
      Edge, Firefox, Brave, Chrome
    • 7-Zip
    • Notepad++
    • PIM
      • [Thunderbird)
        For best digital sovereignty
      • Two defaults I always disable:
        • Disable threaded view. Threaded, I often miss replies to older mails. Via
          alt > view > sort by > unthreaded
        • Place signature below reply, via
          account settings > composition & addressing > place my signature: below my reply
          Default is: below quote
    • [LibreOffice (European)]
      For best digital sovereignty
    • PDF reader/editor
      • Foxit PDF Reader (free)
        Supports filling out forms and signing with a signature image (I don’t use digital signatures yet)
      • Acrobat
        Excessive sales pitches and updates.
    • [Joplin] for complex notes.
      I have not decided yet on a replacement for OneNote
    • VLC Video Player
  • Manual install
    • MS Office
      My preference because I am very productive with it.
      • Office 2024 standard one‑time purchase, 39€ per PC, no subscription.  5J update guarantee until Oct 2029.
      • Includes Outlook (classic)
        I am still undecided between staying with Outlook or switching to Thunderbird, as I am more productive with OL. The new Outlook is definitely not an option – it stores mails from non-MS accounts and their credentials on MS servers. The OWA privacy statement is unacceptable: „We and our 940 partners process data to: store and/or access information on your device,…“
      • Remove option to save to OneDrive and add Tresorit as default via
        • In Office log out of MS accounts
        • file > options > save
          – save to computer by default:on
          – default file location = C:\Users\<name>\Tresorit\Documents
        • Save once to \Tresorit\Documents
          and pin the folder
        • Disable OneDrive Documents being offered via adding
          OnlineStorage  WORD =1 to
          HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Internet
      • Configure Quick Access toolbars
    • [Windows Phone Link]
      Comes preinstalled.
      Requires an MS account.
    • AI Chatbots
    • Update desktop apps via UniGetUI
    • [Google PWA Apps]
      I accept losing digital sovereignty for these apps. One might opt for FOSS apps and services from EU providers instead.
      • Google Keep for simple notes
        I like using Keep for hands‑free voice notes when I’m in bed or riding my MTB
      • Google Tasks
        For its super efficient UX
      • Google Calendar
        Only Google calendars work with Google Assistant and Home.
      • PWA apps can be installed to
        • Run in a standalone window without browser UI.
        • Pin to the Taskbar
        • Pin to Start
        • via
          chrome > … > cast, save & share > install
    • Paint.NET
    • Snipping Tool
      I’m trying to get by with the built‑in Windows Snipping Tool instead of Greenshot. The Snipping Tool now even supports text extraction from images.

Finalize

  • Once more, force Windows updates using
    settings > update > check for updates
    AND
    update > advanced options > optional updatesCheck for app updates via
    In my experience, Windows Update often finds something new, or previous update errors disappear, or new problems show up…
  • Run a complete virus scan
  • Check the Windows Event Logs (Application and System) for anything unusual.
  • Check the Windows Reliability History.
  • Create a final image backup
    Now you have a complete Windows install to quickly reset to
  • Let the PC run idle overnight.
    To give it time to settle in.
    Via settings > system > power & battery > screen… > make my device sleep after: never

Configure Windows and Apps

See My Windows 10/11 Setup: Configure Windows and Install Apps

When you sign in to a Microsoft service, sometimes a dialog appears: “Continue to sign-in.” Unfortunately, choosing “Don’t sign-in” cancels the intended login. Selecting “Continue” stores an account locally. On a PC where you want maximum sovereignty, that’s undesirable. In addition, it often leads to a mix-up of different logins that even Microsoft itself no longer understands—for example, when logging in with x.outlook.de, it suddenly asks for the passkey to y.petermeinl.de. Such “junk” accounts can be removed using Credential Manager, Accounts, and Email & Accounts.

I installed Windows without an MS account. I am undecided yet whether to connect the PC to my MS account.

Remove unwanted MS accounts

Migrating away from MS 365 included adding an MS work account to Outlook (classic).

  • After disconnecting MS 365 from OL, check if MS services like OneDrive, OneDrive for Business and SharePoint are still connected to OL and disconnect them via
    outlook > file > office account > connected services
  • Check if an unwanted MS Work account exists in Windows and remove it via
    windows > settings > accounts

Comments

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert