farag2 / Sophia-Script-for-Windows

:zap: The most powerful PowerShell module on GitHub for fine-tuning Windows 10 & Windows 11
MIT License
7.48k stars 579 forks source link
22h2 23h2 debloat debloater debloating gui ltsc powershell script sophia sophia-script tweak tweaker tweaks windows windows-10 windows-11 windows-debloat
This page also in:

Sophia Script for Windows

Sophia Script

[telegram-news-badge]: https://img.shields.io/badge/Sophia%20News-Telegram-blue?style=flat&logo=Telegram [telegram-news]: https://t.me/sophianews [telegram-group]: https://t.me/sophia_chat [telegram-group-badge]: https://img.shields.io/endpoint?color=neon&label=Sophia%20Chat&style=flat&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fsophia_chat [![Telegram][telegram-news-badge]][telegram-news] [![Telegram][telegram-group-badge]][telegram-group] [discord-news-badge]: https://discordapp.com/api/guilds/1006179075263561779/widget.png?style=shield [discord-link]: https://discord.gg/sSryhaEv79 [![Discord][discord-news-badge]][discord-link]

                     



DonationsSystem RequirementsScreenshotsVideosKey featuresHow to useHow to translateSophiAppChangelog

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
USDT (TRC20)
TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf

System Requirements

Version Marketing name Build Editions
Windows 11 Insider Preview 24H2 2024 Update 22509+ Home/Pro/Enterprise
Windows 11 23H2 2023 Update Latest stable Home/Pro/Enterprise
Windows 10 x64 22H2 2022 Update Latest stable Home/Pro/Enterprise
Windows 10 x64 21H2 Enterprise LTSC 2021 October 2021 Update Latest stable Enterprise
Windows 10 x64 1809 Enterprise LTSC 2019 October 2018 Update Latest stable Enterprise

[!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 TAB 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