The most powerful PowerShell module for fine-tuning Windows on GitHub
This page is also available in other languages
Sophia Script for Windows is the most powerful PowerShell module for fine-tuning Windows and automating the routine tasks on GitHub. It offers more than 150 unique tweaks, and shows how Windows can be configured without making any harm to it.
Important
Every tweak in the preset file has its corresponding function to restore default settings.
- Fully open-source project
- All archives are being built and uploaded using GitHub Actions automatically
- Cursors from Jepri Creations was downloaded using DeviantArt API
- Available via scoop, Chocolatey, and WinGet
- Has no conflict with VAC
- Configure Windows privacy
- Configure Windows security
- Personalize Windows UI
- Display applied registry policies in the Local Group Policy Editor snap-in (gpedit.msc)
- Enable DNS-over-HTTPS for IPv4
- Turn off diagnostics tracking scheduled tasks with pop-up form written in WPF
- Uninstall OneDrive "correctly"
- Interactive prompts
- The TAB completion for functions and their arguments (if using the Import-TabCompletion.ps1 file)
- Change location of the user folders programmatically (without moving user files) within interactive menu using arrows to select a drive
- Desktop
- Documents
- Downloads
- Music
- Pictures
- Videos
- Install free (light and dark) "Windows 11 Cursors Concept v2" cursors from Jepri Creations on-the-fly
- Uninstall UWP apps displaying their localized packages names
- Script generates installed UWP apps list dynamically
- Download and install the HEVC Video Extensions from Device Manufacturer to be able to open HEVC format
- Set an app as default one for specific extension without the "How do you want to open this" pop-up using special function
- Export all Windows associations. Associations will be exported as Application_Associations.json file in script root folder
- Import exported JSON file after a clean installation. You need to install all apps according to exported JSON file to restore all associations
- Install any supported Linux distribution for WSL displaying friendly distro names with pop-up form written in WPF
- Create scheduled tasks with a native toast notification, where you will be able to run or dismiss tasks
- Create scheduled tasks
Windows CleanupandWindows Cleanup Notificationfor cleaning up Windows of unused files and Windows updates files - Create a scheduled task
SoftwareDistributionfor cleaning up%SystemRoot%\SoftwareDistribution\Download - Create a scheduled task
Tempfor cleaning up%TEMP%
- Create scheduled tasks
- Create tasks in the Task Scheduler to clear
%SystemRoot%\SoftwareDistribution\Download%TEMP%
- Install the latest provided Microsoft Visual C++ 2015–2026 x86/x64 (ARM64 supported)
- Install the latest provided .NET Desktop Runtime 8, 9, 10 x64
- Many more File Explorer and context menu "deep" tweaks
- Key features
- How to download
- How to use
- Donations
- System Requirements
- Screenshots
- Videos
- How to translate
- Media
- SophiApp 2
Download depending to your Windows and PowerShell 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 | iexDownload 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 | iexDownload and expand to Downloads folder latest Sophia Script for Windows version depending to your Windows version you use.
choco install sophia --force -yDownload 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 -yhttps://github.com/microsoft/winget-cli
Download and expand to Downloads folder latest Sophia Script for Windows version for Windows 11 and PowerShell 5.1 (SFX archive sophiascript.exe).
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
winget install --id TeamSophia.SophiaScript --location $DownloadsFolder --accept-source-agreements --force
& "$DownloadsFolder\sophiascript.exe"# Uninstall Sophia Script for Windows
winget uninstall --id TeamSophia.SophiaScript --forceDownload and expand to Downloads folder latest Sophia Script for Windows version for Windows 11 for PowerShell 5.1.
# scoop bucket rm extras
scoop bucket add extras
scoop install sophia-script --no-cache# Uninstall Sophia Script for Windows
scoop uninstall sophia-script --purge- Download archive and expand it
- Look through the
Sophia.ps1file 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.
- Place the
- Copy the whole path to
Sophia.ps1- On
Windows 10press and hold the Shift key, right click onSophia.ps1, and click onCopy as path - On
Windows 11right click onSophia.ps1and click onCopy as path.
- On
- Open
Windows PowerShell- On
Windows 10clickFilein the File Explorer, hover overOpen Windows PowerShell, and selectOpen Windows PowerShell as Administrator(how-to with screenshots) - On
Windows 11right-click on the Windows icon and openWindows Terminal (Admin)
- On
- 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.ps111.mp4
10.mp4
- Do all steps from How to use section and stop at setting execution policy in
PowerShell - Dot source the
Import-TabCompletion.ps1file first:
# With a dot at the beginning
. .\Import-TabCompletion.ps1- Сall any script function with name autocompletion using TAB
Sophia -Functions<TAB>
Sophia -Functions temp<TAB>
Sophia -Functions unin<TAB>
Sophia -Functions uwp<TAB>
Sophia -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", Uninstall-UWPApps
Uninstall-UWPApps, "PinToStart -UnpinAll"2026-01-05.182518.mp4
Read more here
- Download the latest Wrapper version
- Expand archive
- Run
SophiaScriptWrapper.exeand importSophia.ps1Sophia.ps1has to be inSophia Scriptfolder- The Wrapper has a real time UI rendering
- Configure every function
- Open the
Console Outputtab and pressRun PowerShell.
- Do all steps from How to use section and stop at setting execution policy in
PowerShell - Dot source the
Import-TabCompletion.ps1file first:
# With a dot at the beginning
. .\Import-TabCompletion.ps1- Call functions from
Sophia.ps1you want to revert like this.
Sophia -Functions "DiagTrackService -Enable", Uninstall-UWPApps| Version | Build | Edition |
|---|---|---|
| Windows 11 24H2/25H2+ | Latest stable | Home/Pro/Enterprise |
| Windows 10 x64 22H2 | Latest stable | Home/Pro/Enterprise |
| Windows 11 Enterprise LTSC 2024 | Latest stable | Enterprise |
| Windows 10 x64 21H2 Enterprise LTSC 2021 | Latest stable | Enterprise |
| Windows 10 x64 1809 Enterprise LTSC 2019 | Latest stable | Enterprise |
- Get your OS UI culture by invoking
$PSUICulturein PowerShell - Create a folder with the UI culture name
- Place your localized SophiaScript.psd1 file into this folder.
- XDA
- 4sysops
- gHacks
- Neowin
- Comss.ru
- Habr
- Deskmodder.de
- PCsoleil Informatique
- Reddit (archived)
- PM me
- Ru-Board
- rutracker
- My Digital Life
SophiApp 2.0 is in ongoing development. 🚀








