Sophia Script
Sophia Script · PowerShell module for fine-tuning Windows 10 and Windows 11
Page updated: October 23, 2026 · latest release 8.0.0 (October 11, 2026)

Sophia Script for Windows, version 8.0.0

Sophia Script is a PowerShell module with more than 150 functions that debloat, configure and harden Windows 10 and Windows 11. It only uses methods Microsoft documents, and every tweak has a matching function that puts the default setting back. The whole project is open source, and the release archives are built automatically by GitHub Actions.

iwr get.sophiascript.com -useb | iex
Open PowerShell (no admin needed), paste the line and press Enter. It downloads and extracts the archive that matches your Windows and PowerShell version into your Downloads folder, then follow the steps below.
Terminal recording of Sophia Script running its functions in PowerShell
Sophia Script running in PowerShell.
Get it from here or from GitHub. The source lives at farag2/Sophia-Script-for-Windows. Manual archives for every Windows version and older releases are on the downloads page. Anything else offering "Sophia Script" is an unofficial repack.

What it does

How to use it

  1. Run the command from the install box above. The archive lands in your Downloads folder, already extracted.
  2. Open Sophia.ps1 in a text editor. Put a # in front of a function to skip it, or remove the # to run it.
  3. Open an elevated PowerShell (Terminal) in that folder.
  4. Allow scripts for this session only:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
.\Sophia.ps1

Functions can also be called one at a time. After importing the module, press TAB to complete names:

Sophia -Functions
Sophia -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", Uninstall-UWPApps

Supported Windows versions

VersionBuildEdition
Windows 11 25H2+Latest stableHome / Pro / Enterprise
Windows 10 x64 22H2Latest stableHome / Pro / Enterprise
Windows 11 Enterprise LTSC 2024Latest stableEnterprise
Windows 10 21H2 Enterprise LTSC 2021Latest stableEnterprise
Windows 10 x64 1809 Enterprise LTSC 2019Latest stableEnterprise

PowerShell 7 builds are provided for Windows 10 and 11, and Arm64 builds for Windows 11.

FAQ

What is Sophia Script for Windows?
A free PowerShell module that configures Windows 10 and Windows 11. It has more than 150 functions covering debloating, privacy, security, personalization and Windows Update, and every tweak comes with a function that restores the default setting.
How do I install Sophia Script?
Open PowerShell and run iwr get.sophiascript.com -useb | iex. It downloads and extracts the archive that matches your Windows and PowerShell version into your Downloads folder.
Is Sophia Script safe to use?
The module only uses Microsoft's documented methods and every tweak can be reverted. The full source code is published on GitHub and release archives are built by GitHub Actions, so you can check exactly what runs.
How do I run Sophia Script?
Download the archive for your Windows version, extract it, edit Sophia.ps1 to choose which functions run, open an elevated PowerShell in that folder, run Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force and then .\Sophia.ps1.
Which Windows versions are supported?
Windows 11 25H2 and newer, Windows 10 x64 22H2, Windows 11 Enterprise LTSC 2024, Windows 10 Enterprise LTSC 2021 and Windows 10 x64 1809 Enterprise LTSC 2019. Arm64 builds are provided for Windows 11.
Does Sophia Script conflict with anti-cheat like VAC?
No. Sophia Script does not touch anything that conflicts with VAC, and the project states this explicitly in its documentation.
What changed in version 8.0.0?
Large code refactoring, improved localizations, updated CI/CD scripts and bug fixes. Note that the DNSoverHTTPS Wikimedia preset was removed and the Uninstall-UWPApps argument changed from ForAllUsers to AllUsers, so re-apply the script after updating.

Other ways to install

# Chocolatey
choco install sophia --force --yes

# WinGet
winget install --id TeamSophia.SophiaScript

# Scoop
scoop bucket add extras
scoop install sophia-script --no-cache

About the project

Sophia Script for Windows has been developed since 2018 and is licensed under the MIT License. Archives are published on the releases page. A separate project, SophiApp, offers the same tweaks through a graphical interface.

This page hosts the release archives for convenience. The project is not affiliated with Microsoft.