Use this command to install Sophia Script for Windows:
winget install --id=TeamSophia.SophiaScript -e
Sophia Script for Windows is a powerful PowerShell module designed to fine-tune and automate routine tasks on Windows 10 and Windows 11. It provides over 150 unique tweaks, enabling users to customize their system safely without causing harm.
Key Features:
Offers more than 150 unique, reversible tweaks for optimizing privacy, performance, and user experience.
Interactive prompts with a WPF interface for managing diagnostics tracking tasks.
Dynamic generation of installed UWP apps list for targeted uninstallation.
TAB completion functionality in PowerShell for enhanced scripting efficiency.
Support for changing user folder locations programmatically without moving files.
Audience & Benefit:
Ideal for system administrators, power users, and IT professionals who seek to optimize their Windows environment. Sophia Script allows users to debloat the system, customize settings, and streamline workflows efficiently while maintaining stability and security. It can be installed via winget for easy setup on supported Windows versions.
Download and expand to Downloads folder the latest Sophia Script for Windows version depending to your Windows and PowerShell versions you use.
iwr script.sophia.team -useb | iex
Download and expand to Downloads folder the latest Sophia Script for Windows version from the last commit depending to your Windows and PowerShell versions you use.
iwr sl.sophia.team -useb | iex
Download via Chocolatey
Download and expand to Downloads folder latest Sophia Script for Windows version depending to your Windows version you use.
choco install sophia --force -y
Download and expand to Downloads folder latest Sophia Script for Windows version for PowerShell 7 depending to your Windows version you use.
choco install sophia --params "/PS7" --force -y
# Uninstall and then remove downloaded folder manually
choco uninstall sophia --force -y
Download via WinGet
Download and expand to Downloads folder latest Sophia Script for Windows version for Windows 11 and PowerShell 5.1 (SFX archive sophiascript.exe).
# Uninstall Sophia Script for Windows
scoop uninstall sophia-script --purge
How to use
Download archive and expand it
Look through the Sophia.ps1 file to configure functions that you want to be run
Place the # char before function if you don't want it to be run.
Remove the # char before function if you want it to be run.
Copy the whole path to Sophia.ps1
On Windows 10 press and hold the Shift key, right click on Sophia.ps1, and click on Copy as path
On Windows 11 right click on Sophia.ps1 and click on Copy as path.
Open Windows PowerShell
On Windows 10 click File in the File Explorer, hover over Open Windows PowerShell, and select Open Windows PowerShell as Administrator(how-to with screenshots)
On Windows 11 right-click on the Windows icon and open Windows Terminal (Admin)
Set execution policy to be able to run scripts only in the current PowerShell session
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
Type .\Sophia.ps1and press Enter
.\Sophia.ps1
Windows 11
Windows 10
How to run the specific function(s)
Do all steps from How to use section and stop at setting execution policy in PowerShell
Dot source the Import-TabCompletion.ps1 file first:
# With a dot at the beginning
. .\Import-TabCompletion.ps1
Сall any script function with name autocompletion using TAB