## File: README.md

🌐 [English](/README.md) | [Deutsche](/README_de-de.md) | [Русский](/README_ru-ru.md) | [Українська](/README_uk-ua.md)



## 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
  * All archives are being built and uploaded using [GitHub Actions](https://github.com/farag2/Sophia-Script-for-Windows/actions)
* Configure Windows AI
* Configure Windows privacy, security, personalization
* Available via Scoop, Chocolatey, and WinGet
* ARM64 support
* PowerShell 7 support
* Has no conflict with [VAC](https://help.steampowered.com/faqs/view/571A-97DA-70E9-FF74#whatisvac)
* Uninstall UWP apps displaying their localized packages names
  * Script generates installed UWP apps list [dynamically](#screenshots)
* Applied registry policies will be displayed in the Local Group Policy Editor snap-in (gpedit.msc)
* Enable DNS-over-HTTPS using
  * [Cloudflare DNS](https://developers.cloudflare.com/1.1.1.1/setup/windows/)
  * [Google Public DNS](https://developers.google.com/speed/public-dns/docs/using)
  * [Quad9 DNS](https://quad9.net/service/service-addresses-and-features/)
  * [Comss.one DNS](https://www.comss.ru/page.php?id=7315)
  * [AdGuard DNS](https://adguard-dns.io/public-dns.html)
  * [OpenDNS](https://www.cisco.com/c/en/us/support/docs/security/umbrella/224705-configure-dns-over-https-doh-with.html)
* Uninstall OneDrive
* Interactive [prompts and popups](#screenshots)
* <kbd>TAB</kbd> [completion](#how-to-run-the-specific-functions) 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](https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356) on-the-fly
  * Archive was downloaded to [Cursors](https://github.com/farag2/Sophia-Script-for-Windows/tree/main/Cursors) folder using [DeviantArt API](https://github.com/farag2/Sophia-Script-for-Windows/blob/main/.github/workflows/Cursors.yml)
* 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](#screenshots) using friendly distro names
* Create scheduled tasks with a [native toast notification](#screenshots)
  * 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

* [Key features](#key-features)
* [How to download](#how-to-download)
* [How to use](#how-to-use)
  * [How to run the specific function(s)](#how-to-run-the-specific-functions)
* [System Requirements](#system-requirements)
* [Screenshots](#screenshots)
* [How to translate](#how-to-translate)
* [SophiApp 2.0](#sophiapp-20-c--winui-3)

## How to download

### From release page



| Windows 10 | Windows 11 |
| --- | --- |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |  |



### 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](https://github.com/farag2/Sophia-Script-for-Windows/commits/main/) 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.ps1`and press <kbd>Enter</kbd>

### 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](#how-to-use) section and stop at setting execution policy in `PowerShell`
* [Dot source](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_operators#dot-sourcing-operator-) the `Import-TabCompletion.ps1` file first:

```powershell
# With a dot at the beginning
. .\Import-TabCompletion.ps1
```

* Сall any script function with name autocompletion using <kbd>TAB</kbd>

```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](https://github.com/BenchTweakGaming).

Read more [here](./Wrapper/README.md)

## System Requirements

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
[Windows-10-LTSC-2019]: https://support.microsoft.com/topic/windows-10-and-windows-server-2019-update-history-725fc2e1-4443-6831-a5ca-51ff5cbcb059
[Windows-10-LTSC-2021]: https://support.microsoft.com/topic/windows-10-update-history-857b8ccb-71e4-49e5-b3f6-7073197d98fb
[Windows-11-LTSC-2024]: https://support.microsoft.com/topic/windows-11-version-24h2-update-history-0929c747-1815-4543-8461-0160d16f15e5
[Windows-11-25h2]: https://support.microsoft.com/topic/windows-11-version-25h2-update-history-99c7f493-df2a-4832-bd2d-6706baa0dec0

|               Version                    |                  Build                |      Edition        |
|:-----------------------------------------|:-------------------------------------:|:-------------------:|
| Windows 11 25H2+                         | [Latest stable][Windows-11-25h2]      | Home/Pro/Enterprise |
| Windows 10 x64 22H2                      | [Latest stable][Windows-10]           | Home/Pro/Enterprise |
| Windows 11 Enterprise LTSC 2024          | [Latest stable][Windows-11-LTSC-2024] | Enterprise          |
| Windows 10 21H2 Enterprise LTSC 2021     | [Latest stable][Windows-10-LTSC-2021] | Enterprise          |
| Windows 10 x64 1809 Enterprise LTSC 2019 | [Latest stable][Windows-10-LTSC-2019] | 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](https://www.comss.ru/page.php?id=19917)

[Windows Central](https://www.windowscentral.com/microsoft/windows-11/how-to-fine-tune-your-pc-with-the-sophia-script-for-windows-11)

[XDA](https://www.xda-developers.com/sophia-script-returns-control-windows-11)

[Neowin](https://www.neowin.net/news/this-script-is-the-ultimate-tool-to-control-and-customize-windows-11)

[Neowin 2](https://www.neowin.net/news/this-windows-10-setup-script-lets-you-fine-tune-around-150-functions-for-new-installs)

[4sysops](https://4sysops.com/archives/windows-10-sophia-script-powershell-functions-for-windows-10-fine-tuning-and-automating-routine-configuration-tasks/)

[gHacks](https://www.ghacks.net/2020/09/27/windows-10-setup-script-has-a-new-name-and-is-now-easier-to-use/)

[Comss.ru 2](https://www.comss.ru/page.php?id=8019)

[Habr](https://habr.com/company/skillfactory/blog/553800)

[Deskmodder.de](https://www.deskmodder.de/blog/2021/08/07/sophia-script-for-windows-jetzt-fuer-windows-11-und-10/))

[Ru-Board](https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15)

[rutracker](https://rutracker.org/forum/viewtopic.php?t=5996011)

[My Digital Life](https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/)


***

## SophiApp 2.0 (C# + WinUI 3)

[SophiApp 2.0](https://github.com/Sophia-Community/SophiApp) 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](https://github.com/farag2/Sophia-Script-for-Windows/releases/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](/README.md) | [Deutsche](/README_de-de.md) | [Русский](/README_ru-ru.md) | [Українська](/README_uk-ua.md)



## 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
  * Alle Archive werden mit [GitHub Actions](https://github.com/farag2/Sophia-Script-for-Windows/actions) erstellt und hochgeladen
* Verfügbar über Scoop, Chocolatey und WinGet
* ARM64-Unterstützung
* PowerShell 7-Unterstützung
* Es besteht kein Konflikt mit [VAC](https://help.steampowered.com/faqs/view/571A-97DA-70E9-FF74#whatisvac)
* Deinstallieren Sie UWP-Anwendungen, mithilfe der Paketnamen
  * Skript generiert Liste der installierten UWP-Apps [dynamisch](#screenshots)
* Angewandte Registrierungsrichtlinien werden im Snap-In Lokaler Gruppenrichtlinien-Editor (gpedit.msc) angezeigt
* Aktivieren Sie DNS-over-HTTPS mit
  * [Cloudflare DNS](https://developers.cloudflare.com/1.1.1.1/setup/windows/)
  * [Google Public DNS](https://developers.google.com/speed/public-dns/docs/using)
  * [Quad9 DNS](https://quad9.net/service/service-addresses-and-features/)
  * [Comss.one DNS](https://www.comss.ru/page.php?id=7315)
  * [AdGuard DNS](https://adguard-dns.io/public-dns.html)
  * [OpenDNS](https://www.cisco.com/c/en/us/support/docs/security/umbrella/224705-configure-dns-over-https-doh-with.html)
* OneDrive entfernen
* Interaktive [Eingabeaufforderungen und Popups](#screenshots)
* Die <kbd>TAB</kbd> [Autovervollständigung](#screenshots) 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](https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356) on-the-fly
  * Das Archiv wurde mit der [DeviantArt API](https://github.com/farag2/Sophia-Script-for-Windows/blob/main/.github/workflows/Cursors.yml) in den Ordner  [Cursors](https://github.com/farag2/Sophia-Script-for-Windows/tree/main/Cursors) heruntergeladen
* 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](#screenshots)
  * 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

* [Haupt-Features](#haupt-features)
* [Wie kann man herunterladen](#wie-kann-man-herunterladen)
* [Wie zu verwenden](#wie-zu-verwenden)
  * [Verwendung von spezifischen Funktionen](#verwendung-von-spezifischen-funktionen)
* [System-Voraussetzungen](#system-voraussetzungen)
* [Screenshots](#screenshots)
* [Wie man übersetzt](#wie-man-übersetzt)
* [SophiApp 2.0](#sophiapp-20-c--winui-3)

## Wie kann man herunterladen

### Von der GitHub-Versionsseite



| Windows 10 | Windows 11 |
| --- | --- |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |  |



### 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](https://github.com/farag2/Sophia-Script-for-Windows/commits/main/) 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 <kbd>Enter</kbd>

### 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](#wie-zu-verwenden) aus und stoppen Sie bei den Einstellungen der Ausführungsrichtlinie in PowerShell.
* Um spezifische Funktionen auszuführen [dot source](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_operators#dot-sourcing-operator-) die `Import-TabCompletion.ps1` datei zuerst:

```powershell
# With a dot at the beginning
. .\Import-TabCompletion.ps1
```

* Rufen Sie jede Skriptfunktion mit Namensautokomplettierung über die <kbd>TAB</kbd>-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](https://github.com/BenchTweakGaming) gepflegt.

Lesen Sie [hier mehr dazu](./Wrapper/README.md)

## System-Voraussetzungen

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
[Windows-10-LTSC-2019]: https://support.microsoft.com/topic/windows-10-and-windows-server-2019-update-history-725fc2e1-4443-6831-a5ca-51ff5cbcb059
[Windows-10-LTSC-2021]: https://support.microsoft.com/topic/windows-10-update-history-857b8ccb-71e4-49e5-b3f6-7073197d98fb
[Windows-11-LTSC-2024]: https://support.microsoft.com/topic/windows-11-version-24h2-update-history-0929c747-1815-4543-8461-0160d16f15e5
[Windows-11-25h2]: https://support.microsoft.com/topic/windows-11-version-25h2-update-history-99c7f493-df2a-4832-bd2d-6706baa0dec0

|               Version                    |                Build                             |      Edition        |
|:-----------------------------------------|:------------------------------------------------:|:-------------------:|
| Windows 11 25H2+                         | [Aktuelle stabile Version][Windows-11-25h2]      | Home/Pro/Enterprise |
| Windows 10 x64 22H2                      | [Aktuelle stabile Version][Windows-10]           | Home/Pro/Enterprise |
| Windows 11 Enterprise LTSC 2024          | [Aktuelle stabile Version][Windows-11-LTSC-2024] | Enterprise          |
| Windows 10 21H2 Enterprise LTSC 2021     | [Latest stable][Windows-10-LTSC-2021] | Enterprise          |
| Windows 10 x64 1809 Enterprise LTSC 2019 | [Aktuelle stabile Version][Windows-10-LTSC-2019] | 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](https://www.comss.ru/page.php?id=19917)

[Windows Central](https://www.windowscentral.com/microsoft/windows-11/how-to-fine-tune-your-pc-with-the-sophia-script-for-windows-11)

[XDA](https://www.xda-developers.com/sophia-script-returns-control-windows-11)

[Neowin](https://www.neowin.net/news/this-script-is-the-ultimate-tool-to-control-and-customize-windows-11)

[Neowin 2](https://www.neowin.net/news/this-windows-10-setup-script-lets-you-fine-tune-around-150-functions-for-new-installs)

[4sysops](https://4sysops.com/archives/windows-10-sophia-script-powershell-functions-for-windows-10-fine-tuning-and-automating-routine-configuration-tasks/)

[gHacks](https://www.ghacks.net/2020/09/27/windows-10-setup-script-has-a-new-name-and-is-now-easier-to-use/)

[Comss.ru 2](https://www.comss.ru/page.php?id=8019)

[Habr](https://habr.com/company/skillfactory/blog/553800)

[Deskmodder.de](https://www.deskmodder.de/blog/2021/08/07/sophia-script-for-windows-jetzt-fuer-windows-11-und-10/))

[Ru-Board](https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15)

[rutracker](https://rutracker.org/forum/viewtopic.php?t=5996011)

[My Digital Life](https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/)


***

## SophiApp 2.0 (C# + WinUI 3)

[SophiApp 2.0](https://github.com/Sophia-Community/SophiApp) befindet sich in der Entwicklung. 🚀

---

## File: README_ru-ru.md

🌐 [English](/README.md) | [Deutsche](/README_de-de.md) | [Русский](/README_ru-ru.md) | [Українська](/README_uk-ua.md)



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

* `Sophia Script for Windows` заботится о стабильности вашей Windows и уведомит вас в случае обнаружения проблемы
* Более 150 уникальных функций для настройки Windows с использованием официально задокументированных методов Microsoft без вреда системе
  * Каждая настройка имеет соответствующую функцию для восстановления значений по умолчанию
* Проект с полностью открытым исходным кодом
  * Все архивы собираются и загружаются на страницу релизов, используя [GitHub Actions](https://github.com/farag2/Sophia-Script-for-Windows/actions)
* Настроить Windows AI
* Настройка приватности, безопасности и персонализации Windows
* Доступен через Scoop, Chocolatey и WinGet
* Поддержка ARM64
* Поддержка PowerShell 7
* Не конфликтует с [VAC](https://help.steampowered.com/faqs/view/571A-97DA-70E9-FF74#whatisvac)
* Удалить UWP-приложений с отображением локализованных имен пакетов
  * Скрипт генерирует список установленных UWP-приложений [динамически](#скриншоты)
* Примененные политики реестра будут отображаться в оснастке редактирования групповых политик (gpedit.msc)
* Установить на выбор следующие DNS-провайдеры, используя DNS-over-HTTPS
  * [Cloudflare DNS](https://developers.cloudflare.com/1.1.1.1/setup/windows/)
  * [Google Public DNS](https://developers.google.com/speed/public-dns/docs/using)
  * [Quad9 DNS](https://quad9.net/service/service-addresses-and-features/)
  * [Comss.one DNS](https://www.comss.ru/page.php?id=7315)
  * [AdGuard DNS](https://adguard-dns.io/public-dns.html)
  * [OpenDNS](https://www.cisco.com/c/en/us/support/docs/security/umbrella/224705-configure-dns-over-https-doh-with.html)
* Удалить OneDrive
* Интерактивные [подсказки и всплывающие окна](#скриншоты)
* [Автопродление](#как-выполнить-конкретную-функциюи) функций и их аргументов с помощью <kbd>TAB</kbd> (используя Import-TabCompletion.ps1)
* Изменить расположение пользовательских папок (без перемещения пользовательских файлов) с помощью интерактивного меню
  * Рабочий стол
  * Документы
  * Загрузки
  * Музыка
  * Изображения
  * Видео
* Установить бесплатный (светлый и темный) курсор "Windows 11 Cursors Concept v2" от [Jepri Creations](https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356) на лету (без перезагрузок)
  * Архив был скачан в папку [Cursors](https://github.com/farag2/Sophia-Script-for-Windows/tree/main/Cursors), используя [DeviantArt API](https://github.com/farag2/Sophia-Script-for-Windows/blob/main/.github/workflows/Cursors.yml)
* Установить приложение по умолчанию для конкретного расширения без всплывающего окошка `Каким образом вы хотите открыть этот файл?`
* Экспортировать и импортировать все ассоциации в 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
* Много других твиков проводника и контекстного меню

## Содержание

* [Ключевые возможности](#ключевые-возможности)
* [Как скачать](#как-скачать)
* [Как использовать](#как-использовать)
  * [Как выполнить конкретную функцию(и)](#как-выполнить-конкретную-функциюи)
* [Системные требования](#системные-требования)
* [Скриншоты](#скриншоты)
* [Перевод](#перевод)
* [Ссылки](#ссылки)
* [SophiApp 2.0](#sophiapp-20-c--winui-3)

## Как скачать

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



| Windows 10 | Windows 11 |
| --- | --- |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |  |



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

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

```powershell
iwr script.sophia.team -useb | iex
```

Скачать и распаковать в папку Загрузки последнюю версию `Sophia Script for Windows` из актуального [коммита](https://github.com/farag2/Sophia-Script-for-Windows/commits/main/) в зависимости от версий ваших 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` и нажмите <kbd>Enter</kbd>

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

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

* Выполните все шаги из пункта [Как использовать](#как-использовать) и остановитесь на пункте по изменнию политики выполнения скриптов в `PowerShell`
* Сначала загрузите файл `Import-TabCompletion.ps1` через [дот сорсинг](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_operators#dot-sourcing-operator-):

```powershell
# С точкой в начале
. .\Import-TabCompletion.ps1
```

* Вызовите любую функцию из скрипта с использованием автопродления имени с помощью <kbd>TAB</kbd>

```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](https://github.com/BenchTweakGaming).

Подробнее [здесь](./Wrapper/README.md)

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

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
[Windows-10-LTSC-2019]: https://support.microsoft.com/topic/windows-10-and-windows-server-2019-update-history-725fc2e1-4443-6831-a5ca-51ff5cbcb059
[Windows-10-LTSC-2021]: https://support.microsoft.com/topic/windows-10-update-history-857b8ccb-71e4-49e5-b3f6-7073197d98fb
[Windows-11-LTSC-2024]: https://support.microsoft.com/topic/windows-11-version-24h2-update-history-0929c747-1815-4543-8461-0160d16f15e5
[Windows-11-25h2]: https://support.microsoft.com/topic/windows-11-version-25h2-update-history-99c7f493-df2a-4832-bd2d-6706baa0dec0

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

## Скриншоты


  
  




## Перевод

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

## Ссылки



[Comss.ru](https://www.comss.ru/page.php?id=19917)

[Windows Central](https://www.windowscentral.com/microsoft/windows-11/how-to-fine-tune-your-pc-with-the-sophia-script-for-windows-11)

[XDA](https://www.xda-developers.com/sophia-script-returns-control-windows-11)

[Neowin](https://www.neowin.net/news/this-script-is-the-ultimate-tool-to-control-and-customize-windows-11)

[Neowin 2](https://www.neowin.net/news/this-windows-10-setup-script-lets-you-fine-tune-around-150-functions-for-new-installs)

[4sysops](https://4sysops.com/archives/windows-10-sophia-script-powershell-functions-for-windows-10-fine-tuning-and-automating-routine-configuration-tasks/)

[gHacks](https://www.ghacks.net/2020/09/27/windows-10-setup-script-has-a-new-name-and-is-now-easier-to-use/)

[Comss.ru 2](https://www.comss.ru/page.php?id=8019)

[Habr](https://habr.com/company/skillfactory/blog/553800)

[Deskmodder.de](https://www.deskmodder.de/blog/2021/08/07/sophia-script-for-windows-jetzt-fuer-windows-11-und-10/))

[Ru-Board](https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15)

[rutracker](https://rutracker.org/forum/viewtopic.php?t=5996011)

[My Digital Life](https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/)


***

## SophiApp 2.0 (C# + WinUI 3)

[SophiApp 2.0](https://github.com/Sophia-Community/SophiApp) находится в активной разработке. 🚀

---

## File: README_uk-ua.md

🌐 [English](/README.md) | [Deutsche](/README_de-de.md) | [Русский](/README_ru-ru.md) | [Українська](/README_uk-ua.md)



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

* `Sophia Script for Windows` дбає про стабільність вашої Windows і повідомить вас у разі виявлення проблеми
* Понад 150 унікальних функцій для налаштування Windows з використанням офіційно задокументованих методів Microsoft без шкоди для системи
  * Кожне налаштування має відповідну функцію для відновлення значень за замовчуванням
* Проєкт з повністю відкритим вихідним кодом
  * Всі архіви збираються і завантажуються на сторінку релізів, [використовуючи GitHub Actions](https://github.com/farag2/Sophia-Script-for-Windows/actions)
* Налаштування Windows AI
* Налаштування приватності, безпеки та персоналізації Windows
* Доступний через Scoop, Chocolatey та WinGet
* Підтримка ARM64
* Підтримка PowerShell 7
* Не конфліктує з [VAC](https://help.steampowered.com/faqs/view/571A-97DA-70E9-FF74#whatisvac)
* Видалення UWP-додатків, що відображають назви пакетів
  * Скрипт генерує список встановлених UWP-додатків [динамічно](#скріншоти)
* Застосовані політики реєстру будуть відображатися в оснащенні редагування групових політик (gpedit.msc)
* Встановити на вибір наступні DNS-провайдери, використовуючи DNS-over-HTTPS
  * [Cloudflare DNS](https://developers.cloudflare.com/1.1.1.1/setup/windows/)
  * [Google Public DNS](https://developers.google.com/speed/public-dns/docs/using)
  * [Quad9 DNS](https://quad9.net/service/service-addresses-and-features/)
  * [Comss.one DNS](https://www.comss.ru/page.php?id=7315)
  * [AdGuard DNS](https://adguard-dns.io/public-dns.html)
  * [OpenDNS](https://www.cisco.com/c/en/us/support/docs/security/umbrella/224705-configure-dns-over-https-doh-with.html)
* Видалення OneDrive
* Інтерактивні [підказки та спливаючі вікна](#скріншоти)
* <kbd>TAB</kbd> [доповнення](#як-запустити-певну-функціюї) для функцій та їх аргументів (Використовуючи Import-TabCompletion.ps1)
* Змінити розташування папок користувача (без переміщення файлів користувача) за допомогою інтерактивного меню
  * Робочий стіл
  * Документи
  * Завантаження
  * Музика
  * Зображення
  * Відео
* Встановлення безкоштовних (світлий та темний) курсорів "Windows 11 Cursors Concept v2" від [Jepri Creations](https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356) на льоту
  * Архів був завантажений у папку [Cursors](https://github.com/farag2/Sophia-Script-for-Windows/tree/main/Cursors), за допомогою [DeviantArt API](https://github.com/farag2/Sophia-Script-for-Windows/blob/main/.github/workflows/Cursors.yml)
* Реєстрація програми, розрахунок хешу та встановлення за замовчуванням для певного розширення без спливаючого вікна `Як ви хочете відкрити це`
* Експортувати та імпортувати всі асоціації в 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
* Ще багато налаштувань Файлового Провідника та контекстного меню

## Зміст

* [Ключові особливості](#ключові-особливості)
* [Як завантажити](#як-завантажити)
* [Як використовувати](#як-використовувати)
  * [Як запустити певну функцію(ї)](#як-запустити-певну-функціюї)
  * [Wrapper](#wrapper)
* [Системні вимоги](#системні-вимоги)
* [Скріншоти](#скріншоти)
* [Як перекласти](#як-перекласти)
* [Медіа](#медіа)
* [SophiApp 2.0](#sophiapp-20-c--winui-3)

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

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



| Windows 10 | Windows 11 |
| --- | --- |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
|  | [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |
| [](https://github.com/farag2/Sophia-Script-for-Windows/releases/latest) |  |



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

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

```powershell
iwr script.sophia.team -useb | iex
```

Завантажте та розпакуйте в папку Завантаження останню версію `Sophia Script for Windows` з актуального [коміту](https://github.com/farag2/Sophia-Script-for-Windows/commits/main/) залежно від версій ваших 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` і натисніть <kbd>Enter</kbd>

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

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

* Повторіть усі кроки з розділу [Як використовувати](#як-використовувати) і зупиніться на кроці встановлення політики виконання скриптів у `PowerShell`
* Для запуску певної функції(й) [запустити](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_operators#dot-sourcing-operator-) необхідно запустити файл `Import-TabCompletion.ps1`:

```powershell
# З крапкою на початку
. .\Import-TabCompletion.ps1
```

* Викличте будь-яку функцію зі скрипта з використанням автопродовження імені за допомогою <kbd>TAB</kbd>.

```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](https://github.com/BenchTweakGaming).

Детальніше [тут](./Wrapper/README.md)

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

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
[Windows-10-LTSC-2019]: https://support.microsoft.com/topic/windows-10-and-windows-server-2019-update-history-725fc2e1-4443-6831-a5ca-51ff5cbcb059
[Windows-10-LTSC-2021]: https://support.microsoft.com/topic/windows-10-update-history-857b8ccb-71e4-49e5-b3f6-7073197d98fb
[Windows-11-LTSC-2024]: https://support.microsoft.com/topic/windows-11-version-24h2-update-history-0929c747-1815-4543-8461-0160d16f15e5
[Windows-11-25h2]: https://support.microsoft.com/topic/windows-11-version-25h2-update-history-99c7f493-df2a-4832-bd2d-6706baa0dec0

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

## Скріншоти


  
  




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

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

## Медіа



[Comss.ru](https://www.comss.ru/page.php?id=19917)

[Windows Central](https://www.windowscentral.com/microsoft/windows-11/how-to-fine-tune-your-pc-with-the-sophia-script-for-windows-11)

[XDA](https://www.xda-developers.com/sophia-script-returns-control-windows-11)

[Neowin](https://www.neowin.net/news/this-script-is-the-ultimate-tool-to-control-and-customize-windows-11)

[Neowin 2](https://www.neowin.net/news/this-windows-10-setup-script-lets-you-fine-tune-around-150-functions-for-new-installs)

[4sysops](https://4sysops.com/archives/windows-10-sophia-script-powershell-functions-for-windows-10-fine-tuning-and-automating-routine-configuration-tasks/)

[gHacks](https://www.ghacks.net/2020/09/27/windows-10-setup-script-has-a-new-name-and-is-now-easier-to-use/)

[Comss.ru 2](https://www.comss.ru/page.php?id=8019)

[Habr](https://habr.com/company/skillfactory/blog/553800)

[Deskmodder.de](https://www.deskmodder.de/blog/2021/08/07/sophia-script-for-windows-jetzt-fuer-windows-11-und-10/))

[Ru-Board](https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15)

[rutracker](https://rutracker.org/forum/viewtopic.php?t=5996011)

[My Digital Life](https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/)


***

## SophiApp 2.0 (C# + WinUI 3)

[SophiApp](https://github.com/Sophia-Community/SophiApp) перебуває в активній розробці. 🚀