[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]
• Donations • System Requirements • Screenshots • Videos • Key features • How to use • How to translate • SophiApp • Changelog
[!IMPORTANT] Sophia Script for Windows is the largest PowerShell module on
GitHub
forWindows 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.
[!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.
USDT (TRC20) |
TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf |
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.
Windows Cleanup
and Windows Cleanup Notification
scheduled tasks for Windows cleaning up unused files and updates;
%SystemRoot%\SoftwareDistribution\Download
%TEMP%
Windows
;Sophia.ps1
file to configure functions that you want to be run;
Sophia.ps1
Windows 10
press and hold the Shift key, right click on Sophia.ps1
, and click on Copy as path
;Windows 11
right click on Sophia.ps1
and click on Copy as path
.Windows PowerShell
Windows 10
click File
in the File Explorer, hover over Open Windows PowerShell
, and select Open Windows PowerShell as Administrator
(how-to with screenshots)Windows 11
right-click on the Windows icon and open Windows Terminal (Admin)
; Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
Run Sophia.ps1
Windows 10
paste copied path to Sophia.ps1
from the previous step (with &);& <path_from_buffer>
Windows 11
.\Sophia.ps1
SophiaScriptWrapper.exe
and import Sophia.ps1
;
Sophia.ps1
has to be in Sophia Script
folder;Console Output
tab and press Run PowerShell
.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"
not as administrator too
) in PowerShelliwr script.sophia.team -useb | iex
without running
) according which Windows and PowerShell versions it is run on. If you run it on, e.g., Windows 11 via PowerShell 5.1, it will download Sophia Script for Windows 11 PowerShell 5.1
.$PSUICulture
in PowerShell;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 🚀