Home

Awesome

<div align="right"> This page also in: <a title="Українська" href="README_uk-ua.md"><img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" height="11px"/></a> <a title="Deutsch" href="README_de-de.md"><img src="https://upload.wikimedia.org/wikipedia/commons/b/ba/Flag_of_Germany.svg" height="11px"/></a> </div>

Sophia Script for Windows

<img src="./img/Sophia.png" alt="Sophia Script" width='350' align="right">

<img src="https://upload.wikimedia.org/wikipedia/commons/0/05/Windows_10_Logo.svg" height="30px"/><img src="https://upload.wikimedia.org/wikipedia/commons/e/e6/Windows_11_logo.svg" height="30px"/>

<p align="left"> <a href="https://github.com/farag2/Sophia-Script-for-Windows/releases"><img src="https://img.shields.io/github/downloads/farag2/Sophia-Script-for-Windows/total?label=downloads%20%28since%20May%202020%29"></a> <a href="https://community.chocolatey.org/packages/sophia"><img src="https://img.shields.io/chocolatey/dt/sophia?color=blue&label=chocolatey%20package"></a>

<a href="https://twitter.com/tea_head_"><img src="https://img.shields.io/badge/Logo%20by-teahead-blue?style=flat&logo=X"></a> <img src="https://img.shields.io/badge/Made%20with-149ce2.svg?color=149ce2"><img src="https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/img/heart.svg" height="17px"/> <a href="https://github.com/farag2/Sophia-Script-for-Windows"><img src="https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/farag2/9852d6b9569a91bf69ceba8a94cc97f4/raw/SophiaScript.json"></a>

Telegram Telegram

Discord <a href="https://github.com/farag2/Sophia-Script-for-Windows/actions"><img src="https://img.shields.io/github/actions/workflow/status/farag2/Sophia-Script-for-Windows/Sophia.yml?label=GitHub%20Actions&logo=GitHub"></a>

</p> <p align="left"> <img title="English" src="https://upload.wikimedia.org/wikipedia/commons/a/a5/Flag_of_the_United_Kingdom_(1-2).svg" height="20px"/> &nbsp; <img title="中国人" src="https://upload.wikimedia.org/wikipedia/commons/f/fa/Flag_of_the_People's_Republic_of_China.svg" height="20px"/> &nbsp; <img title="Deutsch" src="https://upload.wikimedia.org/wikipedia/commons/b/ba/Flag_of_Germany.svg" height="20px"/> &nbsp; <img title="Français" src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg" height="20px"/> &nbsp; <img title="Italiano" src="https://upload.wikimedia.org/wikipedia/commons/0/03/Flag_of_Italy.svg" height="20px"/> &nbsp; <img title="Русский" src="https://upload.wikimedia.org/wikipedia/commons/f/f3/Flag_of_Russia.svg" height="20px"/> &nbsp; <img title="Українська" src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" height="20px"/> &nbsp; <img title="Türkçe" src="https://upload.wikimedia.org/wikipedia/commons/b/b4/Flag_of_Turkey.svg" height="20px"/> &nbsp; <img title="Español" src="https://upload.wikimedia.org/wikipedia/commons/9/9a/Flag_of_Spain.svg" height="20px"/> &nbsp; <img title="Português" src="https://upload.wikimedia.org/wikipedia/commons/5/5c/Flag_of_Portugal.svg" height="20px"/> &nbsp; <img title="Magyar" src="https://upload.wikimedia.org/wikipedia/commons/c/c1/Flag_of_Hungary.svg" height="20px"/> &nbsp; <img title="Polski" src="https://upload.wikimedia.org/wikipedia/commons/1/12/Flag_of_Poland.svg" height="20px"/> </p>

<a href="https://github.com/farag2/Sophia-Script-for-Windows/releases/latest"><img src="https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/img/get-it-on-github.svg" width="50%" height="50%"></a>


<p align="center"> &bull; <a href="#donations">Donations</a> &bull; <a href="#system-requirements">System Requirements</a> &bull; <a href="#screenshots">Screenshots</a> &bull; <a href="#videos">Videos</a> &bull; <a href="#key-features">Key features</a> &bull; <a href="#how-to-use">How to use</a> &bull; <a href="#how-to-translate">How to translate</a> &bull; <a href="#sophiapp-community-edition-c--wpf">SophiApp</a> &bull; <a href="https://github.com/farag2/Sophia-Script-for-Windows/blob/master/CHANGELOG.md">Changelog</a> </p>

About Sophia Script

Typing SVG

[!IMPORTANT] Sophia Script for Windows is the largest PowerShell module on GitHub for Windows 10 & Windows 11 for fine-tuning and automating the routine tasks. It offers more than 150 unique tweaks, and shows how Windows can be configured without making any harm to it.

Before running

[!CAUTION] Due to the fact that the script includes more than 150 functions with different arguments, you must read the entire Sophia.ps1 carefully and comment out/uncomment those functions that you do/do not want to be executed (without need to edit the code), or use Wrapper. Every tweak in the preset file has its' corresponding function to restore the default settings. Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring.

Donations

ko-fi

System Requirements

VersionMarketing nameBuildEditions
Windows 11 Insider Preview 24H22024 Update22509+Home/Pro/Enterprise
Windows 11 23H22023 UpdateLatest stableHome/Pro/Enterprise
Windows 10 x64 22H22022 UpdateLatest stableHome/Pro/Enterprise
Windows 10 x64 21H2 Enterprise LTSC 2021October 2021 UpdateLatest stableEnterprise
Windows 10 x64 1809 Enterprise LTSC 2019October 2018 UpdateLatest stableEnterprise

[!WARNING] It's allowed to be logged in as one admin user only during application startup.

Sophia Script for Windows may not work on a homebrew Windows. Especially, if the homebrew image was created by OS makers being all thumbs who break Microsoft Defender and disable OS telemetry by purposely uprooting system components.

Key features

Screenshots

The <kbd>TAB</kbd> autocomplete. Read more here

https://user-images.githubusercontent.com/10544660/225270281-908abad1-d125-4cae-a19b-2cf80d5d2751.mp4

Change user folders location programmatically using the interactive menu

https://user-images.githubusercontent.com/10544660/253818031-b7ce6bf1-d968-41ea-a5c0-27f6845de402.mp4

Localized UWP packages names

Image Image

Localized Windows features names

Image Image

Download and install any supported Linux distribution in automatic mode

Image

Native interactive toasts for the scheduled tasks

Image

@BenchTweakGaming Sophia Script Wrapper

Wrapper

Videos

YT

YT YT

How to use

  Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force

How to use Wrapper


How to run the specific function(s)

To run the specific function(s) dot source the Functions.ps1 file first:

# With a dot at the beginning
. .\Functions.ps1
Sophia -FunctionsTAB
Sophia -Functions temp<TAB>
Sophia -Functions unin<TAB>
Sophia -Functions uwp<TAB>
Sophia -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps

UninstallUWPApps, "PinToStart -UnpinAll"

Or use an old-style format without the TAB functions autocomplete (the quotation marks required)

.\Sophia.ps1 -Functions CreateRestorePoint, "ScheduledTasks -Disable", "WindowsCapabilities -Uninstall"

How to download Sophia Script via PowerShell

iwr script.sophia.team -useb | iex

How to translate

Media


SophiApp Community Edition (C# + WPF)

SophiApp is the full GUI version of Sophia Script for Windows and ready for use. It is in ongoing improvements with version 2.0 in development 🚀

Image Image