Sophia-Script-for-Windows Documentation

Zap: The most powerful open source tweaker on GitHub for fine-tuning Windows 10 & Windows 11

9,269 stars PowerShell PowerShell 1 file · ~13,191 tokens #24h2#25h2#debloat#debloater#debloating#gui#ltsc#powershell
RAW Doc

File: README.md

🌐 English | Deutsche | Русский | Українська

Key features

  • Sophia Script for Windows cares about your Windows stability and informs in case of finding a problem
  • More than 150 unique functions to configure Windows using Microsoft's officially documented ways without making any harm to it
    • Every tweak has its corresponding function to restore default settings
  • Fully open-source project
  • Configure Windows AI
  • Configure Windows privacy, security, personalization
  • Available via Scoop, Chocolatey, and WinGet
  • ARM64 support
  • PowerShell 7 support
  • Has no conflict with VAC
  • Uninstall UWP apps displaying their localized packages names
  • Applied registry policies will be displayed in the Local Group Policy Editor snap-in (gpedit.msc)
  • Enable DNS-over-HTTPS using
  • Uninstall OneDrive
  • Interactive prompts and popups
  • TAB completion for functions and their arguments (using Import-TabCompletion.ps1)
  • Change location of the user folders (without moving user files) using an interactive menu
    • Desktop
    • Documents
    • Downloads
    • Music
    • Pictures
    • Videos
  • Install free (light and dark) Windows 11 Cursors Concept v2 cursors from Jepri Creations on-the-fly
  • Set an app as default one for specific extension without How do you want to open this pop-up
  • Export and import all Windows associations. You need to install all apps according to exported JSON file to restore all associations
  • Install WSL Linux distribution with pop-up using friendly distro names
  • Create scheduled tasks with a native toast notification
    • Create Windows Cleanup and Windows Cleanup Notification scheduled tasks for cleaning up Windows of unused files and Windows updates files
    • Create a SoftwareDistribution scheduled task for cleaning up %SystemRoot%\SoftwareDistribution\Download
    • Create a Temp scheduled task for cleaning up temp folders and files
      • %SystemDrive%\$WinREAgent
      • %SystemDrive%\$SysReset
      • %SystemDrive%\$Windows.~WS
      • %SystemDrive%\$GetCurrent
      • %SystemDrive%\ESD
      • %SystemDrive%\Intel
      • %SystemDrive%\PerfLogs
      • %SystemRoot%\ServiceProfiles\NetworkService\AppData\Local\Temp
      • %LOCALAPPDATA%\CrashDumps
      • %SystemDrive%\Recovery
      • %SystemRoot%\System32\config\systemprofile\AppData\Local\tw-*.tmp
  • Install the latest provided Microsoft Visual C++ 2015–2026 x86/x64
  • Install the latest provided .NET Desktop Runtime 8, 9, 10 x64
  • Many more File Explorer and context menu tweaks

Table of Contents

How to download

From release page

Windows 10 Windows 11

Download via PowerShell

Download and expand to Downloads folder the latest Sophia Script for Windows version depending to your Windows and PowerShell versions you use.

powershell
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.

powershell
iwr sl.sophia.team -useb | iex

Chocolatey

Download and expand to Downloads folder latest Sophia Script for Windows version depending to your Windows version you use.

powershell
choco install sophia --version=7.2.0 --force --yes

Download and expand to Downloads folder latest Sophia Script for Windows version for PowerShell 7 depending to your Windows version you use.

powershell
choco install sophia --version=7.2.0 --params "/PS7" --force --yes
powershell
# Uninstall and then remove downloaded folder manually
choco uninstall sophia --force --yes

WinGet

Download and expand to Downloads folder latest Sophia Script for Windows version for Windows 11 and PowerShell 5.1 (SFX archive sophiascript.exe).

powershell
$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"
powershell
# Uninstall Sophia Script for Windows
winget uninstall --id TeamSophia.SophiaScript --force

Scoop

Download and expand to Downloads folder latest Sophia Script for Windows version for Windows 11 for PowerShell 5.1.

powershell
# scoop bucket rm extras
scoop bucket add extras
scoop install sophia-script --no-cache
powershell
# Uninstall Sophia Script for Windows
scoop uninstall sophia-script --purge

How to use

https://github.com/user-attachments/assets/5af5c234-5fb5-4e7e-a3d0-ae496a89e6ba

  • Download archive for your system 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 path of downloaded Sophia Script for Windows folder
  • Right click on Windows button, open Terminal (PowerShell) as admin, and paste copied path to folder
batch
cd path\to\folder
  • Set execution policy to be able to run scripts only in the current PowerShell session
powershell
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  • Type .\Sophia.ps1and press Enter

How to run the specific function(s)

https://github.com/user-attachments/assets/d70150d6-af8c-4933-9ec5-b2cf3bb1dd34

  • Do all steps from How to use section and stop at setting execution policy in PowerShell
  • Dot source the Import-TabCompletion.ps1 file first:
powershell
# With a dot at the beginning
. .\Import-TabCompletion.ps1
  • Сall any script function with name autocompletion using TAB
powershell
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"

Wrapper

Wrapper is a 3rd party closed-source wrapper for Sophia Script for Windows. It's fully maintained by @BenchTweakGaming.

Read more here

System Requirements

Version Build Edition
Windows 11 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 21H2 Enterprise LTSC 2021 Latest stable Enterprise
Windows 10 x64 1809 Enterprise LTSC 2019 Latest stable Enterprise

Screenshots

How to translate

  • Run $PSUICulture in PowerShell to determine your UI language
  • Create a folder with the UI language name (e.g. en-US)
  • Place your localized SophiaScript.psd1 file into this folder

Media

Comss.ru

Windows Central

XDA

Neowin

Neowin 2

4sysops

gHacks

Comss.ru 2

Habr

Deskmodder.de)

Ru-Board

rutracker

My Digital Life


SophiApp 2.0 (C# + WinUI 3)

SophiApp 2.0 is in ongoing development. 🚀


File: Wrapper/README.md

Sophia Script Wrapper

Created by @BenchTweakGaming

This program creates a PowerShell script file that you can run to customize Windows based on Sophia Script. It serves as a front-end GUI for the Sophia Script. It is called a Wrapper.

How to use

  • Download the latest Wrapper version
  • Expand archive
  • Run SophiaScriptWrapper.exe and import Sophia.ps1
    • Sophia.ps1 has to be in Sophia Script folder
    • The Wrapper has a real time UI rendering
  • Configure every function
  • Open the Console Output tab and press Run PowerShell

Wrapper Files

  • Sophia Script Wrapper.exe: The GUI program.
  • wrapper_config.json: JSON that contains the configuration settings for the GUI program
  • wrapper_localizations.json: JSON that contains the configuration settings for the all the language settings
  • wrapper_accessibility_scales.json : JSON that contains the configuration settings for the all the accessibilty scale settings in different languages
  • wrapper_tooltip_scales.json : JSON that contains the configuration settings for the all the ToolTip font size settings
  • wrapper_font_scales.json : JSON that contains the configuration settings for the all the font scale settings for controls font size and label width
  • Set-ConsoleFont.ps1: PS1 that is run to set PS console to correct font when running PS version 5.x
  • config_Windows_1x.json: JSON that contains the options (function names), Sophia preset and Windows Default preset, LTSC version
  • before_after.json: JSON that contains the options (function names) for before and after the user selections for PowerShell script output
  • tooltip_Windows_1x.json: JSON that contains translations for ToolTips/comments above functions
  • tag.json: JSON that contains translations for tags
  • ui.json: JSON that contains translations for UI

How to translate UI into another language

  • Copy and translate the en-US folder files in Localizations to your language
  • You also need to translate the tag.json from either the ru-RU or de-DE folders in Localizations to your language
  • Edit the wrapper_localizations.json file to add the language entry with control sizing

File: README_de-de.md

🌐 English | Deutsche | Русский | Українська

Haupt-Features

  • Sophia Script for Windows achtet auf die Stabilität Ihres Windows-Systems und informiert Sie, wenn ein Problem festgestellt wird
  • Mehr als 150 einzigartige Funktionen zur Konfiguration von Windows unter Verwendung der offiziell von Microsoft dokumentierten Methoden, ohne das System zu beschädigen.
    • Für jede Änderung in der Voreinstellungsdatei gibt es eine entsprechende Funktion zum Wiederherstellen der Standardeinstellungen
  • Konfigurieren Sie Windows AI
  • Konfigurieren Sie die Privatsphäre, Sicherheit und Personalisierung von Windows
  • Vollständig quelloffenes Projekt
  • Verfügbar über Scoop, Chocolatey und WinGet
  • ARM64-Unterstützung
  • PowerShell 7-Unterstützung
  • Es besteht kein Konflikt mit VAC
  • Deinstallieren Sie UWP-Anwendungen, mithilfe der Paketnamen
    • Skript generiert Liste der installierten UWP-Apps dynamisch
  • Angewandte Registrierungsrichtlinien werden im Snap-In Lokaler Gruppenrichtlinien-Editor (gpedit.msc) angezeigt
  • Aktivieren Sie DNS-over-HTTPS mit
  • OneDrive entfernen
  • Interaktive Eingabeaufforderungen und Popups
  • Die TAB Autovervollständigung für Funktionen und ihre Argumente (mit Import-TabCompletion.ps1)
  • Ändern Sie den Speicherort der Benutzerordner (ohne die Benutzerdateien zu verschieben) mithilfe eines interaktiven Menüs
    • Desktop
    • Dokumente
    • Downloads
    • Musik
    • Bilder
    • Videos
  • Installieren Sie den kostenlosen (helle und dunkle) "Windows 11 Cursors Concept v2" Cursor von Jepri Creations on-the-fly
  • Eine App als Standard für eine bestimmte Dateiendung festlegen, ohne dass das Popup-Fenster Wie möchten Sie diese Datei öffnen? angezeigt wird
  • Exportieren und importieren Sie alle Windows-Zuordnungen. Sie müssen alle Apps gemäß der exportierten JSON-Datei installieren, um alle Zuordnungen wiederherzustellen
  • Installieren Sie die WSL-Linux-Distribution mit Popup-Fenster(#screenshots) unter Verwendung benutzerfreundlicher Distributionsnamen
  • Erstellen Sie geplante Aufgaben mit einer nativen Toast-Benachrichtigung
    • Erstellen Sie die geplanten Aufgaben Windows Cleanup und Windows Cleanup Notification, um Windows von nicht mehr benötigten Dateien und Windows-Update-Dateien zu bereinigen
    • Erstellen Sie eine geplante Aufgabe SoftwareDistribution zur Bereinigung von %SystemRoot%\SoftwareDistribution\Download
    • Erstellen Sie eine geplante Aufgabe namens Temp, um temporäre Ordner und Dateien zu bereinigen
      • %SystemDrive%\$WinREAgent
      • %SystemDrive%\$SysReset
      • %SystemDrive%\$Windows.~WS
      • %SystemDrive%\$GetCurrent
      • %SystemDrive%\ESD
      • %SystemDrive%\Intel
      • %SystemDrive%\PerfLogs
      • %SystemRoot%\ServiceProfiles\NetworkService\AppData\Local\Temp
      • %LOCALAPPDATA%\CrashDumps
      • %SystemDrive%\Recovery
      • %SystemRoot%\System32\config\systemprofile\AppData\Local\tw-*.tmp
  • Installieren Sie die neueste bereitgestellte Version von Microsoft Visual C++ 2015–2026 x86/x64
  • Installieren Sie die neueste bereitgestellte Version von .NET Desktop Runtime 8, 9, 10
  • Viele weitere Optimierungen für den Datei-Explorer und das Kontextmenü

Inhaltsverzeichnis

Wie kann man herunterladen

Von der GitHub-Versionsseite

Windows 10 Windows 11

Herunterladen über PowerShell

Laden Sie die neueste Version von Sophia Script for Windows entsprechend Ihrer Windows- und PowerShell-Version herunter und entpacken Sie sie in den Ordner Downloads.

powershell
iwr script.sophia.team -useb | iex

Laden Sie die neueste Version von Sophia Script for Windows aus dem letzten Commit entsprechend Ihrer Windows- und PowerShell-Version herunter und entpacken Sie sie in den Ordner Downloads.

powershell
iwr sl.sophia.team -useb | iex

Chocolatey

Laden Sie die neueste Version von Sophia Script for Windows entsprechend Ihrer Windows-Version herunter und entpacken Sie sie in den Ordner Downloads.

powershell
choco install sophia --version=7.2.0 --force --yes

Laden Sie die neueste Version von Sophia Script for Windows für PowerShell 7 entsprechend Ihrer Windows-Version herunter und entpacken Sie sie in den Ordner Downloads.

powershell
choco install sophia --version=7.2.0 --params "/PS7" --force --yes
powershell
# Deinstallieren Sie die Anwendung und löschen Sie anschließend den heruntergeladenen Ordner manuell
choco uninstall sophia --force --yes

WinGet

Laden Sie die neueste Version von Sophia Script for Windows für Windows 11 und PowerShell 5.1 (SFX-Archiv sophiascript.exe) herunter und entpacken Sie sie in den Ordner Downloads.

powershell
$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"
powershell
# Deinstallieren Sie Sophia Script for Windows
winget uninstall --id TeamSophia.SophiaScript --force

Scoop

Laden Sie die neueste Version von Sophia Script for Windows für Windows 11 für PowerShell 5.1 herunter und entpacken Sie sie in den Ordner Downloads.

powershell
# scoop bucket rm extras
scoop bucket add extras
scoop install sophia-script --no-cache
powershell
# Deinstallieren Sie Sophia Script for Windows
scoop uninstall sophia-script --purge

Wie zu verwenden

https://github.com/user-attachments/assets/5af5c234-5fb5-4e7e-a3d0-ae496a89e6ba

  • Laden Sie das Archiv für Ihr System herunter und entpacken Sie es.
  • Schauen Sie sich die Datei Sophia.ps1 an, um die Funktionen zu konfigurieren, die Sie ausführen möchten
    • Setzen Sie das #-Zeichen vor die Funktion, wenn Sie nicht möchten, dass sie ausgeführt wird
    • Entfernen Sie das #-Zeichen vor der Funktion, wenn sie ausgeführt werden soll
  • Klicken Sie mit der rechten Maustaste auf die Schaltfläche Windows, öffnen Sie das Terminal (PowerShell) als Administrator und fügen Sie den kopierten Pfad zum Ordner ein
batch
cd pfad\zum\ordner
  • Legen Sie die Ausführungsrichtlinie so fest, dass Skripte nur in der aktuellen PowerShell-Sitzung ausgeführt werden können
powershell
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  • Geben Sie .\Sophia.ps1 ein und drücken Sie Enter

Verwendung von spezifischen Funktionen

https://github.com/user-attachments/assets/d70150d6-af8c-4933-9ec5-b2cf3bb1dd34

  • Führen Sie alle Schritte aus dem Abschnitt Wie zu verwenden aus und stoppen Sie bei den Einstellungen der Ausführungsrichtlinie in PowerShell.
  • Um spezifische Funktionen auszuführen dot source die Import-TabCompletion.ps1 datei zuerst:
powershell
# With a dot at the beginning
. .\Import-TabCompletion.ps1
  • Rufen Sie jede Skriptfunktion mit Namensautokomplettierung über die TAB-Taste auf.
powershell
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"

Wrapper

Wrapper ist ein Closed-Source-Wrapper eines Drittanbieters für `Sophia Script for Windows”. Er wird vollständig von @BenchTweakGaming gepflegt.

Lesen Sie hier mehr dazu

System-Voraussetzungen

Version Build Edition
Windows 11 25H2+ Aktuelle stabile Version Home/Pro/Enterprise
Windows 10 x64 22H2 Aktuelle stabile Version Home/Pro/Enterprise
Windows 11 Enterprise LTSC 2024 Aktuelle stabile Version Enterprise
Windows 10 21H2 Enterprise LTSC 2021 Latest stable Enterprise
Windows 10 x64 1809 Enterprise LTSC 2019 Aktuelle stabile Version Enterprise

Screenshots

Wie man übersetzt

  • Führen Sie $PSUICulture in PowerShell aus, um Ihre UI-Sprache zu ermitteln
  • Erstellen Sie einen Ordner mit dem Namen der UI-Sprache (z. B. de-DE)
  • Legen Sie Ihre lokalisierte Datei SophiaScript.psd1 in diesem Ordner ab

Media

Comss.ru

Windows Central

XDA

Neowin

Neowin 2

4sysops

gHacks

Comss.ru 2

Habr

Deskmodder.de)

Ru-Board

rutracker

My Digital Life


SophiApp 2.0 (C# + WinUI 3)

SophiApp 2.0 befindet sich in der Entwicklung. 🚀


File: README_ru-ru.md

🌐 English | Deutsche | Русский | Українська

Ключевые возможности

  • Sophia Script for Windows заботится о стабильности вашей Windows и уведомит вас в случае обнаружения проблемы
  • Более 150 уникальных функций для настройки Windows с использованием официально задокументированных методов Microsoft без вреда системе
    • Каждая настройка имеет соответствующую функцию для восстановления значений по умолчанию
  • Проект с полностью открытым исходным кодом
    • Все архивы собираются и загружаются на страницу релизов, используя GitHub Actions
  • Настроить Windows AI
  • Настройка приватности, безопасности и персонализации Windows
  • Доступен через Scoop, Chocolatey и WinGet
  • Поддержка ARM64
  • Поддержка PowerShell 7
  • Не конфликтует с VAC
  • Удалить UWP-приложений с отображением локализованных имен пакетов
    • Скрипт генерирует список установленных UWP-приложений динамически
  • Примененные политики реестра будут отображаться в оснастке редактирования групповых политик (gpedit.msc)
  • Установить на выбор следующие DNS-провайдеры, используя DNS-over-HTTPS
  • Удалить OneDrive
  • Интерактивные подсказки и всплывающие окна
  • Автопродление функций и их аргументов с помощью TAB (используя Import-TabCompletion.ps1)
  • Изменить расположение пользовательских папок (без перемещения пользовательских файлов) с помощью интерактивного меню
    • Рабочий стол
    • Документы
    • Загрузки
    • Музыка
    • Изображения
    • Видео
  • Установить бесплатный (светлый и темный) курсор "Windows 11 Cursors Concept v2" от Jepri Creations на лету (без перезагрузок)
  • Установить приложение по умолчанию для конкретного расширения без всплывающего окошка Каким образом вы хотите открыть этот файл?
  • Экспортировать и импортировать все ассоциации в Windows. Необходимо установить все приложения в соответствии с экспортированным файлом JSON-файлом, чтобы восстановить ассоциации
  • Установить дистрибутив Linux через WSL, используя локализованные имена дистрибутивов с помощью всплывающего окна
  • Создать задания в Планировщике заданий с нативным тостовым уведомлением
    • Создать задания Windows Cleanup и Windows Cleanup Notification для очистки Winsows от неиспользуемых файлов и файлов обновлений
    • Создать задание SoftwareDistribution для очистки %SystemRoot%\SoftwareDistribution\Download
    • Создать задание Temp для очистки временных папок и файлов
      • %SystemDrive%\$WinREAgent
      • %SystemDrive%\$SysReset
      • %SystemDrive%\$Windows.~WS
      • %SystemDrive%\$GetCurrent
      • %SystemDrive%\ESD
      • %SystemDrive%\Intel
      • %SystemDrive%\PerfLogs
      • %SystemRoot%\ServiceProfiles\NetworkService\AppData\Local\Temp
      • %LOCALAPPDATA%\CrashDumps
      • %SystemDrive%\Recovery
      • %SystemRoot%\System32\config\systemprofile\AppData\Local\tw-*.tmp
  • Установить последней версии распространяемых пакетов Microsoft Visual C++ 2015–2026 x86/x64
  • Установить последней версии распространяемых пакетов .NET Desktop Runtime 8, 9, 10 x64
  • Много других твиков проводника и контекстного меню

Содержание

Как скачать

Со страницы релиза

Windows 10 Windows 11

Скачать через PowerShell

Скачать и распаковать в папку Загрузки последнюю версию Sophia Script for Windows в зависимости от версий ваших Windows и PowerShell.

powershell
iwr script.sophia.team -useb | iex

Скачать и распаковать в папку Загрузки последнюю версию Sophia Script for Windows из актуального коммита в зависимости от версий ваших Windows и PowerShell.

powershell
iwr sl.sophia.team -useb | iex

Chocolatey

https://chocolatey.org

Скачать и распаковать в папку Загрузки последнюю версию Sophia Script for Windows в зависимости от вашей версии Windows.

powershell
choco install sophia --version=7.2.0 --force --yes

Скачать и распаковать в папку Загрузки последнюю версию Sophia Script for Windows для PowerShell 7 в зависимости от вашей версии Windows.

powershell
choco install sophia --version=7.2.0 --params "/PS7" --force --yes
powershell
# Удалить, а затем удалить вручную скачанную папку
choco uninstall sophia --force --yes

WinGet

Скачать и распаковать в папку Загрузки последнюю версию Sophia Script for Windows для Windows 11 и PowerShell 5.1 (SFX-архив sophiascript.exe).

powershell
$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"
powershell
# Удалить Sophia Script for Windows
winget uninstall --id TeamSophia.SophiaScript --force

Scoop

Скачать и распаковать в папку Загрузки последнюю версию Sophia Script for Windows для Windows 11 и PowerShell 5.1.

powershell
# scoop bucket rm extras
scoop bucket add extras
scoop install sophia-script --no-cache
powershell
# Удалить Sophia Script for Windows
scoop uninstall sophia-script --purge

Как использовать

https://github.com/user-attachments/assets/5af5c234-5fb5-4e7e-a3d0-ae496a89e6ba

  • Скачайте и распакуйте архив для вашей системы
  • Просмотрите файл Sophia.ps1 для настройки того, что выхотите, чтобы запускалось
    • Поставьте символ # перед функцией, если не хотите, чтобы она не запускалась
    • Удалите символ # перед функцией, если хотите, чтобы она запускалась
  • Скопируйте путь до папки Sophia Script for Windows
  • Нажмите правой кнопкой по кнопке Windows и откройте Терминал (PowerShell) от имени администратора и вставьте скопированный путь
batch
cd путь\до\папки
  • Установите политику выполнения, чтобы можно было выполнять скрипты в текущей сессии PowerShell
powershell
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  • Введите .\Sophia.ps1 и нажмите Enter

Как выполнить конкретную функцию(и)

https://github.com/user-attachments/assets/d70150d6-af8c-4933-9ec5-b2cf3bb1dd34

  • Выполните все шаги из пункта Как использовать и остановитесь на пункте по изменнию политики выполнения скриптов в PowerShell
  • Сначала загрузите файл Import-TabCompletion.ps1 через дот сорсинг:
powershell
# С точкой в начале
. .\Import-TabCompletion.ps1
  • Вызовите любую функцию из скрипта с использованием автопродления имени с помощью TAB
powershell
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"

https://github.com/user-attachments/assets/b7ba9ff5-fa3f-481c-a91f-d8bac5631a56

Wrapper

Wrapper — это сторонний лончер с закрытым исходным кодом для Sophia Script for Windows. Проект полностью поддерживается @BenchTweakGaming.

Подробнее здесь

Системные требования

Версия Сборка Издание
Windows 11 25H2+ Последняя стабильная Home/Pro/Enterprise
Windows 10 x64 22H2 Последняя стабильная Home/Pro/Enterprise
Windows 11 Enterprise LTSC 2024 Последняя стабильная Enterprise
Windows 10 21H2 Enterprise LTSC 2021 Latest stable Enterprise
Windows 10 x64 1809 Enterprise LTSC 2019 Последняя стабильная Enterprise

Скриншоты

Перевод

  • Выполните команду $PSUICulture в PowerShell, чтобы определить язык интерфейса
  • Создайте папку с названием языка интерфейса (например, ru-RU)
  • Поместите ваш переведенный файл SophiaScript.psd1 в созданную папку

Ссылки

Comss.ru

Windows Central

XDA

Neowin

Neowin 2

4sysops

gHacks

Comss.ru 2

Habr

Deskmodder.de)

Ru-Board

rutracker

My Digital Life


SophiApp 2.0 (C# + WinUI 3)

SophiApp 2.0 находится в активной разработке. 🚀


File: README_uk-ua.md

🌐 English | Deutsche | Русский | Українська

Ключові особливості

  • Sophia Script for Windows дбає про стабільність вашої Windows і повідомить вас у разі виявлення проблеми
  • Понад 150 унікальних функцій для налаштування Windows з використанням офіційно задокументованих методів Microsoft без шкоди для системи
    • Кожне налаштування має відповідну функцію для відновлення значень за замовчуванням
  • Проєкт з повністю відкритим вихідним кодом
  • Налаштування Windows AI
  • Налаштування приватності, безпеки та персоналізації Windows
  • Доступний через Scoop, Chocolatey та WinGet
  • Підтримка ARM64
  • Підтримка PowerShell 7
  • Не конфліктує з VAC
  • Видалення UWP-додатків, що відображають назви пакетів
    • Скрипт генерує список встановлених UWP-додатків динамічно
  • Застосовані політики реєстру будуть відображатися в оснащенні редагування групових політик (gpedit.msc)
  • Встановити на вибір наступні DNS-провайдери, використовуючи DNS-over-HTTPS
  • Видалення OneDrive
  • Інтерактивні підказки та спливаючі вікна
  • TAB доповнення для функцій та їх аргументів (Використовуючи Import-TabCompletion.ps1)
  • Змінити розташування папок користувача (без переміщення файлів користувача) за допомогою інтерактивного меню
    • Робочий стіл
    • Документи
    • Завантаження
    • Музика
    • Зображення
    • Відео
  • Встановлення безкоштовних (світлий та темний) курсорів "Windows 11 Cursors Concept v2" від Jepri Creations на льоту
    • Архів був завантажений у папку Cursors, за допомогою DeviantArt API
  • Реєстрація програми, розрахунок хешу та встановлення за замовчуванням для певного розширення без спливаючого вікна Як ви хочете відкрити це
  • Експортувати та імпортувати всі асоціації в Windows. Необхідно встановити всі програми відповідно до експортованого файлу JSON, щоб відновити асоціації.
  • Створити завдання в Планувальнику завдань з нативним тостовим повідомленням
    • Створити завдання з нативним тостовим повідомленням, де ви зможете запустити або скасувати виконання завдання
    • Створити завдання Windows Cleanup и Windows Cleanup Notification для очищення Windows від невикористовуваних файлів та оновлень
    • Створити завдання SoftwareDistribution для очищення %SystemRoot%\SoftwareDistribution\Download
    • Створити завдання Temp для очищення тимчасових папок і файлів
      • %SystemDrive%\$WinREAgent
      • %SystemDrive%\$SysReset
      • %SystemDrive%\$Windows.~WS
      • %SystemDrive%\$GetCurrent
      • %SystemDrive%\ESD
      • %SystemDrive%\Intel
      • %SystemDrive%\PerfLogs
      • %SystemRoot%\ServiceProfiles\NetworkService\AppData\Local\Temp
      • %LOCALAPPDATA%\CrashDumps
      • %SystemDrive%\Recovery
      • %SystemRoot%\System32\config\systemprofile\AppData\Local\tw-*.tmp
  • Встановити останню версію розповсюджуваних пакетів Microsoft Visual C++ 2015–2026 x86/x64
  • Встановити останню версію розповсюджуваних пакетів .NET Desktop Runtime 8, 9, 10 x64
  • Ще багато налаштувань Файлового Провідника та контекстного меню

Зміст

Як завантажити

Зі сторінки релізу

Windows 10 Windows 11

Завантажити через PowerShell

Завантажте та розпакуйте в папку Завантаження останню версію Sophia Script for Windows залежно від версій ваших Windows та PowerShell.

powershell
iwr script.sophia.team -useb | iex

Завантажте та розпакуйте в папку Завантаження останню версію Sophia Script for Windows з актуального коміту залежно від версій ваших Windows і PowerShell.

powershell
iwr sl.sophia.team -useb | iex

Chocolatey

Завантажте та розпакуйте в папку Завантаження останню версію Sophia Script for Windows залежно від вашої версії Windows.

powershell
choco install sophia --version=7.2.0 --force --yes

Завантажте та розпакуйте в папку Завантаження останню версію Sophia Script for Windows для PowerShell 7 залежно від вашої версії Windows.

powershell
choco install sophia --version=7.2.0 --params "/PS7" --force --yes
powershell
# Видалити, а потім видалити вручну завантажену папку
choco uninstall sophia --force --yes

WinGet

Завантажте та розпакуйте в папку Завантаження останню версію Sophia Script for Windows для Windows 11 і PowerShell 5.1 (SFX-архів sophiascript.exe).

powershell
$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"
powershell
# Видалити Sophia Script for Windows
winget uninstall --id TeamSophia.SophiaScript --force

Scoop

Завантажте та розпакуйте в папку Завантаження останню версію Sophia Script for Windows для Windows 11 та PowerShell 5.1.

powershell
# scoop bucket rm extras
scoop bucket add extras
scoop install sophia-script --no-cache
powershell
# Видалити Sophia Script for Windows
scoop uninstall sophia-script --purge

Як використовувати

https://github.com/user-attachments/assets/5af5c234-5fb5-4e7e-a3d0-ae496a89e6ba

  • Завантажте та розпакуйте архів для вашої системи
  • Перегляньте файл Sophia.ps1 для налаштування функцій, які потрібно запустити
    • Помістіть символ # перед функцією, якщо ви не бажаєте, щоб вона виконувалась
    • Приберіть символ # перед функцією, якщо ви бажаєте, щоб вона виконувалась
  • Скопіюйте шлях до папки Sophia Script for Windows
  • Клацніть правою кнопкою миші на кнопці Windows і відкрийте Термінал (PowerShell) від імені адміністратора та вставте скопійований шлях
batch
cd путь\до\папки
  • Встановіть політику виконання, щоб можна було виконувати скрипти в поточній сесії PowerShell
powershell
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  • Введіть .\Sophia.ps1 і натисніть Enter

Як запустити певну функцію(ї)

https://github.com/user-attachments/assets/d70150d6-af8c-4933-9ec5-b2cf3bb1dd34

  • Повторіть усі кроки з розділу Як використовувати і зупиніться на кроці встановлення політики виконання скриптів у PowerShell
  • Для запуску певної функції(й) запустити необхідно запустити файл Import-TabCompletion.ps1:
powershell
# З крапкою на початку
. .\Import-TabCompletion.ps1
  • Викличте будь-яку функцію зі скрипта з використанням автопродовження імені за допомогою TAB.
powershell
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"

Wrapper

Wrapper — це сторонній лончер із закритим вихідним кодом для Sophia Script for Windows. Проект повністю підтримується @BenchTweakGaming.

Детальніше тут

Системні вимоги

Версія Збіркa Видання
Windows 11 25H2+ Остання стабільн Home/Pro/Enterprise
Windows 10 x64 22H2 Остання стабільн Home/Pro/Enterprise
Windows 11 Enterprise LTSC 2024 Остання стабільн Enterprise
Windows 10 21H2 Enterprise LTSC 2021 Latest stable Enterprise
Windows 10 x64 1809 Enterprise LTSC 2019 Остання стабільн Enterprise

Скріншоти

Як перекласти

  • Виконайте команду $PSUICulture в PowerShell, щоб визначити мову інтерфейсу
  • Створіть папку з назвою Вашої мови інтерфейсу (наприклад, uk-UA)
  • Помістіть ваш локалізований файл SophiaScript.psd1 в цю папку

Медіа

Comss.ru

Windows Central

XDA

Neowin

Neowin 2

4sysops

gHacks

Comss.ru 2

Habr

Deskmodder.de)

Ru-Board

rutracker

My Digital Life


SophiApp 2.0 (C# + WinUI 3)

SophiApp перебуває в активній розробці. 🚀