explaingit

farag2/sophia-script-for-windows

9,278PowerShellAudience · ops devopsComplexity · 2/5Setup · easy

TLDR

A PowerShell toolkit with 150+ functions to fine-tune Windows 10 and 11, adjust privacy settings, remove built-in apps, enable DNS-over-HTTPS, relocate folders, with an undo function for every change.

Mindmap

mindmap
  root((repo))
    What It Does
      Tweak Windows settings
      Undo any change
      150 plus functions
    Features
      Privacy settings
      Remove built-in apps
      DNS over HTTPS
      Relocate user folders
    Setup
      PowerShell 5.1 or 7
      Tab completion
      Scoop or WinGet install
    Use Cases
      Fresh Windows setup
      Remove OneDrive
      Automate configuration
    Audience
      Windows power users
      Privacy-conscious users
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Run on a fresh Windows install to set privacy settings, remove unwanted built-in apps, and configure DNS-over-HTTPS in one session.

USE CASE 2

Use tab-completion to browse and apply individual tweaks without manually editing the registry.

USE CASE 3

Undo any applied change using the corresponding undo function if a tweak causes unexpected behavior.

USE CASE 4

Automate a clean Windows setup by scripting a sequence of functions with predetermined defaults.

Tech stack

PowerShell

Getting it running

Difficulty · easy Time to first run · 5min

Requires Windows 10 or 11 with PowerShell 5.1 or 7, run on a clean system, not alongside conflicting system management tools.

License not mentioned in the explanation.

In plain English

Sophia Script for Windows is a PowerShell module that lets you fine-tune Windows 10 and Windows 11 settings through more than 150 individual functions. It is aimed at users who want to adjust how Windows behaves, what it shows, and what it runs, without resorting to registry hacks or third-party tools of uncertain origin. Every change it can make also has a corresponding undo function, so you can reverse any tweak you apply. The kinds of things it can do include adjusting privacy and security settings, changing personalization options, uninstalling built-in Windows apps (showing their real localized names rather than internal package identifiers), configuring Windows AI features, enabling DNS-over-HTTPS with several provider options, removing OneDrive, and setting default apps for specific file types without triggering the usual Windows pop-up asking how you want to open the file. It can also relocate user folders like Documents and Downloads to different drives, create scheduled tasks for routine cleanup jobs, and install cursor packs from a known source. The script runs from the command line and supports tab-completion so you can type a partial function name and press Tab to see your options. It works with both PowerShell 5.1 and PowerShell 7, and supports ARM64 machines. It can be downloaded from the releases page or installed via Scoop, Chocolatey, or WinGet. A companion graphical application called SophiApp 2.0 is also in development for users who prefer a visual interface over the command line. The project emphasizes that it uses only officially documented Windows APIs and registry paths, not undocumented internals, and that it checks your system state before making changes. All release archives are built and published through GitHub Actions rather than by hand, which means you can verify the build process. This is a tool for Windows users who want more control over their operating system configuration, whether for personal preference, privacy reasons, or setting up a clean working environment on a fresh install.

Copy-paste prompts

Prompt 1
Which Sophia Script functions should I run on a fresh Windows 11 install to improve privacy without breaking anything?
Prompt 2
How do I use Sophia Script to remove OneDrive and relocate my Documents folder to a second drive?
Prompt 3
Walk me through configuring DNS-over-HTTPS with Sophia Script and picking a DNS provider from the available options.
Prompt 4
How do I undo a specific Sophia Script tweak I applied earlier and verify the setting was restored?
Prompt 5
Show me how to install Sophia Script via WinGet and run it for the first time on Windows 10.
Open on GitHub → Explain another repo

← farag2 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.