From 762e18ac93a7ef89cb2bec75598b509a15818d3a Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Sun, 25 Dec 2022 20:04:29 +0300 Subject: [PATCH] =?UTF-8?q?6.2.6=20=E2=80=94=2025.12.2022?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 79 ++++--- README_uk-ua.md | 77 ++++--- Wrapper/Config/config_Windows_10.json | 2 +- Wrapper/Config/config_Windows_10_LTSC.json | 2 +- Wrapper/Config/config_Windows_11.json | 2 +- .../de-DE/tooltip_Windows_10.json | 4 +- .../de-DE/tooltip_Windows_11.json | 4 +- .../en-US/tooltip_Windows_10.json | 4 +- .../en-US/tooltip_Windows_11.json | 4 +- .../ru-RU/tooltip_Windows_10.json | 4 +- .../ru-RU/tooltip_Windows_11.json | 4 +- .../Localizations/de-DE/Sophia.psd1 | 5 +- .../Localizations/en-US/Sophia.psd1 | 5 +- .../Localizations/es-ES/Sophia.psd1 | 5 +- .../Localizations/fr-FR/Sophia.psd1 | 5 +- .../Localizations/hu-HU/Sophia.psd1 | 5 +- .../Localizations/it-IT/Sophia.psd1 | 5 +- .../Localizations/pl-PL/Sophia.psd1 | 14 +- .../Localizations/pt-BR/Sophia.psd1 | 7 +- .../Localizations/ru-RU/Sophia.psd1 | 5 +- .../Localizations/tr-TR/Sophia.psd1 | 5 +- .../Localizations/uk-UA/Sophia.psd1 | 5 +- .../Localizations/zh-CN/Sophia.psd1 | 5 +- .../Module/Sophia.psm1 | 149 +++++++++++-- src/Sophia_Script_for_Windows_10/Sophia.ps1 | 4 +- .../Localizations/de-DE/Sophia.psd1 | 5 +- .../Localizations/en-US/Sophia.psd1 | 5 +- .../Localizations/es-ES/Sophia.psd1 | 5 +- .../Localizations/fr-FR/Sophia.psd1 | 5 +- .../Localizations/hu-HU/Sophia.psd1 | 4 +- .../Localizations/it-IT/Sophia.psd1 | 5 +- .../Localizations/pl-PL/Sophia.psd1 | 5 +- .../Localizations/pt-BR/Sophia.psd1 | 9 +- .../Localizations/ru-RU/Sophia.psd1 | 5 +- .../Localizations/tr-TR/Sophia.psd1 | 5 +- .../Localizations/uk-UA/Sophia.psd1 | 5 +- .../Localizations/zh-CN/Sophia.psd1 | 5 +- .../Module/Sophia.psm1 | 207 +++++++++++++---- .../Sophia.ps1 | 4 +- .../Localizations/de-DE/Sophia.psd1 | 5 +- .../Localizations/en-US/Sophia.psd1 | 5 +- .../Localizations/es-ES/Sophia.psd1 | 5 +- .../Localizations/fr-FR/Sophia.psd1 | 5 +- .../Localizations/hu-HU/Sophia.psd1 | 5 +- .../Localizations/it-IT/Sophia.psd1 | 5 +- .../Localizations/pl-PL/Sophia.psd1 | 5 +- .../Localizations/pt-BR/Sophia.psd1 | 9 +- .../Localizations/ru-RU/Sophia.psd1 | 5 +- .../Localizations/tr-TR/Sophia.psd1 | 5 +- .../Localizations/uk-UA/Sophia.psd1 | 5 +- .../Localizations/zh-CN/Sophia.psd1 | 5 +- .../Module/Sophia.psm1 | 209 ++++++++++++++---- .../Sophia.ps1 | 4 +- .../Localizations/de-DE/Sophia.psd1 | 5 +- .../Localizations/en-US/Sophia.psd1 | 5 +- .../Localizations/es-ES/Sophia.psd1 | 5 +- .../Localizations/fr-FR/Sophia.psd1 | 5 +- .../Localizations/hu-HU/Sophia.psd1 | 5 +- .../Localizations/it-IT/Sophia.psd1 | 5 +- .../Localizations/pl-PL/Sophia.psd1 | 5 +- .../Localizations/pt-BR/Sophia.psd1 | 5 +- .../Localizations/ru-RU/Sophia.psd1 | 5 +- .../Localizations/tr-TR/Sophia.psd1 | 5 +- .../Localizations/uk-UA/Sophia.psd1 | 5 +- .../Localizations/zh-CN/Sophia.psd1 | 5 +- .../Module/Sophia.psm1 | 85 +++++-- .../Sophia.ps1 | 4 +- .../Localizations/de-DE/Sophia.psd1 | 5 +- .../Localizations/en-US/Sophia.psd1 | 5 +- .../Localizations/es-ES/Sophia.psd1 | 5 +- .../Localizations/fr-FR/Sophia.psd1 | 5 +- .../Localizations/hu-HU/Sophia.psd1 | 5 +- .../Localizations/it-IT/Sophia.psd1 | 5 +- .../Localizations/pl-PL/Sophia.psd1 | 5 +- .../Localizations/pt-BR/Sophia.psd1 | 9 +- .../Localizations/ru-RU/Sophia.psd1 | 5 +- .../Localizations/tr-TR/Sophia.psd1 | 5 +- .../Localizations/uk-UA/Sophia.psd1 | 5 +- .../Localizations/zh-CN/Sophia.psd1 | 5 +- .../Module/Sophia.psm1 | 151 +++++++++++-- src/Sophia_Script_for_Windows_11/Sophia.ps1 | 12 +- .../Localizations/de-DE/Sophia.psd1 | 5 +- .../Localizations/en-US/Sophia.psd1 | 5 +- .../Localizations/es-ES/Sophia.psd1 | 5 +- .../Localizations/fr-FR/Sophia.psd1 | 5 +- .../Localizations/hu-HU/Sophia.psd1 | 5 +- .../Localizations/it-IT/Sophia.psd1 | 5 +- .../Localizations/pl-PL/Sophia.psd1 | 5 +- .../Localizations/pt-BR/Sophia.psd1 | 9 +- .../Localizations/ru-RU/Sophia.psd1 | 5 +- .../Localizations/tr-TR/Sophia.psd1 | 5 +- .../Localizations/uk-UA/Sophia.psd1 | 5 +- .../Localizations/zh-CN/Sophia.psd1 | 5 +- .../Module/Sophia.psm1 | 151 +++++++++++-- .../Sophia.ps1 | 12 +- 95 files changed, 1157 insertions(+), 407 deletions(-) diff --git a/README.md b/README.md index 4bf28e8c..3f2688cc 100644 --- a/README.md +++ b/README.md @@ -87,9 +87,11 @@ Changelog

-## About +## About Sophia Script -Sophia Script for Windows is the largest PowerShell module on `GitHub` for `Windows 10` & `Windows 11` fine-tuning and automating the routine tasks +![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&size30&pause=1000&width=435&lines=Made+with+%E2%9D%A4%EF%B8%8F+of+Windows%C2%AE) + +> **Note**: Sophia Script for Windows is the largest PowerShell module on `GitHub` for `Windows 10` & `Windows 11` fine-tuning and automating the routine tasks. It offers more than 150 unique tweaks, and shows how Windows can be configured without making any harm to it. ## Before running @@ -117,41 +119,10 @@ Sophia Script for Windows is the largest PowerShell module on `GitHub` for `Wind | Windows 10 21H2 Enterprise LTSC 2021 | October 2021 Update | 19044.1706+ | x64 | Enterprise | | Windows 10 1809 Enterprise LTSC 2019 | October 2018 Update | 17763.3046+ | x64 | Enterprise | -## Screenshots - -### The TAB autocomplete. Read more [here](#how-to-run-the-specific-functions) - -![Image](./img/Autocomplete.gif) - -### Change user folders location programmatically using the interactive menu - -![Image](https://i.imgur.com/gJFAEOk.png) - -### Localized UWP packages names - -![Image](https://i.imgur.com/xeiBbes.png) ![Image](https://i.imgur.com/0zj0h2S.png) - -### Localized Windows features names - -![Image](https://i.imgur.com/xlMR2mz.png) ![Image](https://i.imgur.com/yl9j9Vt.png) - -### Download and install any supported Linux distribution in automatic mode - -![Image](https://i.imgur.com/j2KLZm0.png) - -### Native interactive toasts for the scheduled tasks - -![Image](https://github.com/farag2/Sophia-Script-for-Windows/raw/master/img/Toasts.png) - -### @BenchTweakGaming Sophia Script Wrapper +### Warning -![Wrapper](https://i.imgur.com/x0W7zqm.png) - -## Videos - -[![YT](https://img.youtube.com/vi/q_weQifFM58/0.jpg)](https://www.youtube.com/watch?v=q_weQifFM58) - -[![YT](https://img.youtube.com/vi/8E6OT_QcHaU/1.jpg)](https://youtu.be/8E6OT_QcHaU?t=370) [![YT](https://img.youtube.com/vi/091SOihvx0k/1.jpg)](https://youtu.be/091SOihvx0k?t=490) +* It's allowed to be logged in as one admin user only during application startup. +* 🔥🔥🔥`Sophia Script for Windows` may not work on a homebrew Windows. Especially, if the homebrew image was created by OS makers being all thumbs who break Microsoft Defender and disable OS telemetry by purposely uprooting system components ## Key features @@ -195,6 +166,42 @@ Sophia Script for Windows is the largest PowerShell module on `GitHub` for `Wind * Configure the Windows security; * Many more File Explorer and context menu "deep" tweaks. +## Screenshots + +### The TAB autocomplete. Read more [here](#how-to-run-the-specific-functions) + +![Image](./img/Autocomplete.gif) + +### Change user folders location programmatically using the interactive menu + +![Image](https://i.imgur.com/gJFAEOk.png) + +### Localized UWP packages names + +![Image](https://i.imgur.com/xeiBbes.png) ![Image](https://i.imgur.com/0zj0h2S.png) + +### Localized Windows features names + +![Image](https://i.imgur.com/xlMR2mz.png) ![Image](https://i.imgur.com/yl9j9Vt.png) + +### Download and install any supported Linux distribution in automatic mode + +![Image](https://i.imgur.com/j2KLZm0.png) + +### Native interactive toasts for the scheduled tasks + +![Image](https://github.com/farag2/Sophia-Script-for-Windows/raw/master/img/Toasts.png) + +### @BenchTweakGaming Sophia Script Wrapper + +![Wrapper](https://i.imgur.com/x0W7zqm.png) + +## Videos + +[![YT](https://img.youtube.com/vi/q_weQifFM58/0.jpg)](https://www.youtube.com/watch?v=q_weQifFM58) + +[![YT](https://img.youtube.com/vi/8E6OT_QcHaU/1.jpg)](https://youtu.be/8E6OT_QcHaU?t=370) [![YT](https://img.youtube.com/vi/091SOihvx0k/1.jpg)](https://youtu.be/091SOihvx0k?t=490) + ## How to use * Choose the right script version for your `Windows`; diff --git a/README_uk-ua.md b/README_uk-ua.md index eff07cc3..24b78ed1 100644 --- a/README_uk-ua.md +++ b/README_uk-ua.md @@ -89,7 +89,9 @@ ## Про Sophia Script -Sophia Script для Windows - найбільший модуль PowerShell на `GitHub` для тонкого налаштування і автоматизації рутинних завдань в `Windows 10` і `Windows 11` +![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&size30&pause=1000&width=435&lines=Made+with+%E2%9D%A4%EF%B8%8F+of+Windows%C2%AE) + +> **Note**: Sophia Script для Windows - найбільший модуль PowerShell на `GitHub` для тонкого налаштування і автоматизації рутинних завдань в `Windows 10` і `Windows 11`. Він пропонує сучасні UI/UX, більше 130 різних функцій і показує, як можна налаштувати Windows, не ламаючи функціонал. ## Перед запуском @@ -117,41 +119,10 @@ Sophia Script для Windows - найбільший модуль PowerShell на | Windows 10 21H2 Enterprise LTSC 2021 | October 2021 Update | 19044.1706+ | x64 | Enterprise | | Windows 10 1809 Enterprise LTSC 2019 | October 2018 Update | 17763.3046+ | x64 | Enterprise | -## Скріншоти - -### Автодоповнення TAB. Детальніше [тут](#як-запустити-певну-функціюї) - -![Image](./img/Autocomplete.gif) - -### Програмна зміна розташування папок користувача за допомогою інтерактивного меню - -![Image](https://i.imgur.com/gJFAEOk.png) - -### Локалізовані назви UWP-пакетів - -![Image](https://i.imgur.com/xeiBbes.png) ![Image](https://i.imgur.com/0zj0h2S.png) - -### Локалізовані назви функцій Windows - -![Image](https://i.imgur.com/xlMR2mz.png) ![Image](https://i.imgur.com/yl9j9Vt.png) - -### Завантажте та встановіть будь-який підтримуваний дистрибутив Linux в автоматичному режимі - -![Image](https://i.imgur.com/j2KLZm0.png) - -### Інтерактивні тости для запланованих завдань - -![Image](https://github.com/farag2/Sophia-Script-for-Windows/raw/master/img/Toasts.png) - -### @BenchTweakGaming Sophia Script Wrapper +### Увага -![Wrapper](https://i.imgur.com/x0W7zqm.png) - -## Відео - -[![YT](https://img.youtube.com/vi/q_weQifFM58/0.jpg)](https://www.youtube.com/watch?v=q_weQifFM58) - -[![YT](https://img.youtube.com/vi/8E6OT_QcHaU/1.jpg)](https://youtu.be/8E6OT_QcHaU?t=370) [![YT](https://img.youtube.com/vi/091SOihvx0k/1.jpg)](https://youtu.be/091SOihvx0k?t=490) +* Запуск додатку можливий лише якщо в системі присутній один користувач з правами адміністратора; +* 🔥🔥🔥 `SophiApp` може не працювати на "самопальних" збірках Windows. Особливо, якщо збірка була створена так, що в ній спеціально було зламано Microsoft Defender і вимкнено телеметрію, вирізавши системні компоненти. ## Ключові особливості @@ -196,6 +167,42 @@ Sophia Script для Windows - найбільший модуль PowerShell на * Налаштування безпеки Windows; * Ще багато "глибоких" налаштувань Файлового Провідника та контекстного меню. +## Скріншоти + +### Автодоповнення TAB. Детальніше [тут](#як-запустити-певну-функціюї) + +![Image](./img/Autocomplete.gif) + +### Програмна зміна розташування папок користувача за допомогою інтерактивного меню + +![Image](https://i.imgur.com/gJFAEOk.png) + +### Локалізовані назви UWP-пакетів + +![Image](https://i.imgur.com/xeiBbes.png) ![Image](https://i.imgur.com/0zj0h2S.png) + +### Локалізовані назви функцій Windows + +![Image](https://i.imgur.com/xlMR2mz.png) ![Image](https://i.imgur.com/yl9j9Vt.png) + +### Завантажте та встановіть будь-який підтримуваний дистрибутив Linux в автоматичному режимі + +![Image](https://i.imgur.com/j2KLZm0.png) + +### Інтерактивні тости для запланованих завдань + +![Image](https://github.com/farag2/Sophia-Script-for-Windows/raw/master/img/Toasts.png) + +### @BenchTweakGaming Sophia Script Wrapper + +![Wrapper](https://i.imgur.com/x0W7zqm.png) + +## Відео + +[![YT](https://img.youtube.com/vi/q_weQifFM58/0.jpg)](https://www.youtube.com/watch?v=q_weQifFM58) + +[![YT](https://img.youtube.com/vi/8E6OT_QcHaU/1.jpg)](https://youtu.be/8E6OT_QcHaU?t=370) [![YT](https://img.youtube.com/vi/091SOihvx0k/1.jpg)](https://youtu.be/091SOihvx0k?t=490) + ## Як користуватися * Виберіть відповідну версію скрипта для Вашої `Windows`; diff --git a/Wrapper/Config/config_Windows_10.json b/Wrapper/Config/config_Windows_10.json index 7cb867b7..7a3258e8 100644 --- a/Wrapper/Config/config_Windows_10.json +++ b/Wrapper/Config/config_Windows_10.json @@ -1606,7 +1606,7 @@ "Region": "System", "Control": "chk", "Required": "false", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "" diff --git a/Wrapper/Config/config_Windows_10_LTSC.json b/Wrapper/Config/config_Windows_10_LTSC.json index 92ae2d0b..6139c38c 100644 --- a/Wrapper/Config/config_Windows_10_LTSC.json +++ b/Wrapper/Config/config_Windows_10_LTSC.json @@ -1776,7 +1776,7 @@ "Region": "System", "Control": "chk", "Required": "false", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "" diff --git a/Wrapper/Config/config_Windows_11.json b/Wrapper/Config/config_Windows_11.json index d4c55bff..cd5fc2e0 100644 --- a/Wrapper/Config/config_Windows_11.json +++ b/Wrapper/Config/config_Windows_11.json @@ -1483,7 +1483,7 @@ "Region": "System", "Control": "chk", "Required": "false", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "" diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_10.json b/Wrapper/Localizations/de-DE/tooltip_Windows_10.json index e429964b..6f2675a8 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_10.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_10.json @@ -1432,11 +1432,11 @@ { "Id": 537, "Region": "System", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "", - "ToolTip": "Installieren Sie die neueste .NET Desktop Runtime 7 (x86/x64)" + "ToolTip": "Installieren Sie die neueste .NET Desktop Runtime 6, 7 (x86/x64)" } } }, diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json index 208923b1..0e17a38a 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json @@ -1323,11 +1323,11 @@ { "Id": 537, "Region": "System", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "", - "ToolTip": "Установить последнюю версию .NET Desktop Runtime 7 (x86/x64)" + "ToolTip": "Установить последнюю версию .NET Desktop Runtime 6, 7 (x86/x64)" } } }, diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_10.json b/Wrapper/Localizations/en-US/tooltip_Windows_10.json index 2db0ab9d..7d604263 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_10.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_10.json @@ -1432,11 +1432,11 @@ { "Id": 537, "Region": "System", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "", - "ToolTip": "Install the latest .NET Desktop Runtime 7 (x86/x64)" + "ToolTip": "Install the latest .NET Desktop Runtime 6, 7 (x86/x64)" } } }, diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_11.json b/Wrapper/Localizations/en-US/tooltip_Windows_11.json index 6a3e3e52..25eb5aa8 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_11.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_11.json @@ -1323,11 +1323,11 @@ { "Id": 537, "Region": "System", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "", - "ToolTip": "Install the latest .NET Desktop Runtime 7 (x86/x64)" + "ToolTip": "Install the latest .NET Desktop Runtime 6, 7 (x86/x64)" } } }, diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json index 146532eb..a57217c6 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json @@ -1432,11 +1432,11 @@ { "Id": 537, "Region": "System", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "", - "ToolTip": "Установить последнюю версию .NET Desktop Runtime 7 (x86/x64)" + "ToolTip": "Установить последнюю версию .NET Desktop Runtime 6, 7 (x86/x64)" } } }, diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json index a34a132f..e6ec7feb 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json @@ -1323,11 +1323,11 @@ { "Id": 537, "Region": "System", - "Function": "InstallDotNetRuntime7", + "Function": "InstallDotNetRuntimes", "Arg": { "Zero": { "Tag": "", - "ToolTip": "Установить последнюю версию .NET Desktop Runtime 7 (x86/x64)" + "ToolTip": "Установить последнюю версию .NET Desktop Runtime 6, 7 (x86/x64)" } } }, diff --git a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 index 3f3d293c..6c4b25d5 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 UnsupportedOSBuild = Das Skript unterstützt Windows 10 21H2/22H2+ -UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 2006 und höher +UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 2364 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -Windows10DebloaterWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater PowerShell-Skripts von Sycnex beeinträchtigt worden sein. Installieren Sie vorsorglich das gesamte Betriebssystem neu +SycnexWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +Fs00Warning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. bin = Im Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = Der PC wartet darauf, neu gestartet zu werden UnsupportedRelease = Neue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 index 4363fc6d..b3533e5d 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = The script supports Windows 10 x64 only UnsupportedOSBuild = The script supports Windows 10 21H2/22H2+ -UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative updates: 2006 and higher +UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative updates: 2364 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor -Windows10DebloaterWarning = The Windows stability may have been compromised by using Sycnex's Windows10Debloater PowerShell script. Preventively, reinstall the entire OS +SycnexWarning = The Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows +Fs00Warning = The Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = There are no files in the bin folder. Please, re-download the archive RebootPending = The PC is waiting to be restarted UnsupportedRelease = A new version found diff --git a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 index 1ad40f86..604583cb 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = El script sólo es compatible con Windows 10 x64 UnsupportedOSBuild = El script es compatible con versión Windows 10 21H2/22H2+ -UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 2006 y superior +UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 2364 y superior UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -Windows10DebloaterWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale todo el sistema operativo +SycnexWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows +Fs00Warning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows bin = No hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = El PC está esperando a ser reiniciado UnsupportedRelease = Una nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 index 55334faa..2ff6359c 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Le script supporte uniquement Windows 10 x64 UnsupportedOSBuild = Le script supporte les versions Windows 10 21H2/22H2+ -UpdateWarning = La mise à jour cumulative de Windows 10 est installée: {0}. Mise à jour cumulative prise en charge: 2006 et plus +UpdateWarning = La mise à jour cumulative de Windows 10 est installée: {0}. Mise à jour cumulative prise en charge: 2364 et plus UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -Windows10DebloaterWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez l'ensemble de l'OS +SycnexWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows +Fs00Warning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows bin = Il n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = Le PC attend d'être redémarré UnsupportedRelease = Nouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 index 2a3c5e81..7d83e0fc 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = A szkript csak a Windows 10 64 bites verziót támogatja UnsupportedOSBuild = A szkript támogatja a Windows 10 21H2/22H2+ verziókat -UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 2006 és magasabb verziószámok +UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 2364 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -Windows10DebloaterWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a teljes operációs rendszert +SycnexWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows +Fs00Warning = A Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = A bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = A számítógép újraindításra vár UnsupportedRelease = Új verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 index 1325a098..3857c380 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Lo script supporta solo Windows 10 x64 UnsupportedOSBuild = Lo script supporta Windows 10 21H2/22H2+ -UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 2006 o superiori +UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 2364 o superiori UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -Windows10DebloaterWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il sistema operativo +SycnexWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows +Fs00Warning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows bin = Non ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = Il PC è in attesa di essere riavviato UnsupportedRelease = Nuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 index a09b0967..3b5c8814 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/pl-PL/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Skrypt obsługuje tylko system Windows 10 x64 UnsupportedOSBuild = Skrypt obsługuje system Windows 10 21H2/22H2+ -UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 2006 i nowsze +UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 2364 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell UnsupportedISE = Skrypt nie może być uruchamiany w Windows PowerShell ISE Win10TweakerWarning = Prawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -Windows10DebloaterWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie system operacyjny +SycnexWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows +Fs00Warning = Stabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows bin = W folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = Komputer oczekuje na ponowne uruchomienie UnsupportedRelease = Znaleziono nową wersję @@ -18,17 +19,17 @@ ScheduledTasks = Zaplanowane zadania OneDriveUninstalling = Odinstalowywanie OneDrive... OneDriveInstalling = Instalowanie OneDrive... OneDriveDownloading = Pobieranie OneDrive... ~33 MB -OneDriveWarning = Funkcja „{0}” zostanie zastosowana tylko wtedy, gdy ustawienie wstępne są skonfigurowane do usunięcia OneDrive (lub aplikacja została już usunięta), w przeciwnym razie funkcja tworzenia kopii zapasowych folderów „Pulpit” i „Obrazy” w usłudze OneDrive ulegnie awarii +OneDriveWarning = Funkcja "{0}" zostanie zastosowana tylko wtedy, gdy ustawienie wstępne są skonfigurowane do usunięcia OneDrive (lub aplikacja została już usunięta), w przeciwnym razie funkcja tworzenia kopii zapasowych folderów "Pulpit" i "Obrazy" w usłudze OneDrive ulegnie awarii WindowsFeaturesTitle = Funkcje Windows OptionalFeaturesTitle = Funkcje opcjonalne EnableHardwareVT = Włącz wirtualizację w UEFI UserShellFolderNotEmpty = Niektóre pliki pozostały w folderze "{0}". Przenieś je ręcznie w nowe miejsce RetrievingDrivesList = Pobieranie listy dysków... -DriveSelect = Wybierz dysk w katalogu głównym, w którym zostanie utworzony folder „{0}”. +DriveSelect = Wybierz dysk w katalogu głównym, w którym zostanie utworzony folder "{0}". CurrentUserFolderLocation = Lokalizacja folderu "{0}": "{1}" UserFolderRequest = Czy chcesz zmienić lokalizację folderu "{0}"? UserFolderSelect = Wybierz folder dla folderu "{0}". -UserDefaultFolder = Czy chcesz zmienić lokalizację folderu „{0}” na wartość domyślną? +UserDefaultFolder = Czy chcesz zmienić lokalizację folderu "{0}" na wartość domyślną? ReservedStorageIsInUse = Ta operacja nie jest obsługiwana, gdy używana jest zarezerwowana pamięć\nProszę ponownie uruchomić funkcję "{0}" po ponownym uruchomieniu komputera ShortcutPinning = Skrót "{0}" jest przypinany do Start... UninstallUWPForAll = Dla wszystkich użytkowników @@ -75,4 +76,5 @@ GPOUpdate = Aktualizowanie GPO... TelegramGroupTitle = Dołącz do naszej oficjalnej grupy na Telegramie TelegramChannelTitle = Dołącz do naszego oficjalnego kanału Telegram DiscordChannelTitle = Dołącz do naszego oficjalnego kanału na Discordzie -Uninstall = Odinstaluj'@ +Uninstall = Odinstaluj +'@ diff --git a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 index eec923b2..f748d0bc 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = O script suporta somente Windows 10 x64 UnsupportedOSBuild = O script suporta versões Windows 10 21H2/22H2+ -UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 2006 e superior +UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 2364 e superior UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -Windows10DebloaterWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o sistema operacional +SycnexWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows +Fs00Warning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows bin = Não existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = O PC está esperando para ser reiniciado UnsupportedRelease = Nova versão encontrada @@ -59,7 +60,7 @@ EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*) FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos Install = Instalar -NoData = Nada à exibir +NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" NoResponse = Uma conexão não pôde ser estabelecida com {0} diff --git a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 index 606aa1c8..31037bc3 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 UnsupportedOSBuild = Скрипт поддерживает Windows 10 21H2/22H2+ -UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 2006 и выше +UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 2364 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабильность Вашей ОС могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +SycnexWarning = Стабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +Fs00Warning = Стабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС bin = В папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив RebootPending = Компьютер ожидает перезагрузки UnsupportedRelease = Обнаружена новая версия diff --git a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 index 033fc6db..40dd98a8 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Bu betik sadece Windows 10 x64 destekliyor UnsupportedOSBuild = Komut dosyası, Windows 10 21H2/22H2+ sürümlerini destekler -UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 2006 ve üstü +UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 2364 ve üstü UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -Windows10DebloaterWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, tüm işletim sistemini yeniden yükleyin +SycnexWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +Fs00Warning = Windows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin bin = bin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = PC yeniden başlatılmayı bekliyor UnsupportedRelease = Yeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 index 1efa6fd9..c61a2bca 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 UnsupportedOSBuild = Скрипт підтримує Windows 10 21H2/22H2+ -UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 2006 і вище +UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 2364 і вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть ОС +SycnexWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows +Fs00Warning = Стабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows bin = У папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = Комп'ютер очікує на перезавантаження UnsupportedRelease = Виявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 index 4e3df075..f782aa38 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 UnsupportedOSBuild = 该脚本支持Windows 10版本21H2/22H2+和更高版本 -UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:2006及以上 +UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:2364及以上 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 -Windows10DebloaterWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +SycnexWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +Fs00Warning = 使用“Windows 10 Bloat Remover and Tweaker”可能会影响 Windows 稳定性。 预防性地,重新安装 Windows bin = bin文件夹中没有文件。请重新下载该档案 RebootPending = 计算机正在等待重新启动 UnsupportedRelease = 找到新版本 diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 17f63179..551c6f7e 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -13,7 +13,7 @@ .NOTES Supported Windows 10 versions Versions: 21H2/22H2+ - Builds: 19044.2006+ + Builds: 19044.2364+ Editions: Home/Pro/Enterprise Architecture: x64 @@ -68,11 +68,10 @@ function Checks { {($_ -ge 19044) -and ($_ -le 19048)} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2006) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2364) { - # Check whether the OS minor build version is 2006 minimum + # Check whether the OS minor build version is 2364 minimum # https://docs.microsoft.com/en-us/windows/release-health/release-information - # https://support.microsoft.com/en-us/topic/september-13-2022-kb5017308-os-builds-19042-2006-19043-2006-and-19044-2006-e4ea187e-28e8-4d4b-808b-2794babdce4c $Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR Write-Warning -Message ($Localization.UpdateWarning -f $Version) @@ -153,11 +152,21 @@ function Checks exit } - # Check whether the OS was destroyed by Sycnex's Windows10Debloater script + # Check whether Windows was destroyed by Windows10Debloater # https://github.com/Sycnex/Windows10Debloater if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) { - Write-Warning -Message $Localization.Windows10DebloaterWarning + Write-Warning -Message $Localization.SycnexWarning + Start-Process -FilePath "https://t.me/sophia_chat" + exit + } + + # Check whether Windows was destroyed by Win10BloatRemover + # https://github.com/Fs00/Win10BloatRemover + if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) + { + Write-Warning -Message $Localization.Fs00Warning + Start-Process -FilePath "https://t.me/sophia_chat" exit } @@ -298,8 +307,7 @@ function Checks $Localization.WindowsBroken exit } - [array]$notRunning = $Services | Where-Object -FilterScript {$_.Status -ne "running"} - $Script:DefenderServices = $notRunning.Count -eq 0 + $Script:DefenderServices = ($Services | Where-Object -FilterScript {$_.Status -ne "running"} | Measure-Object).Count -lt $Services.Count # Specifies whether Antispyware protection is enabled if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name EditionID) -ne "EnterpriseG") @@ -4213,6 +4221,68 @@ public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint } [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) } + +<# + .SYNOPSIS + Files and folders grouping + + .PARAMETER None + Do not group files and folder + + .PARAMETER Default + Group files and folder by date modified (default value) + + .EXAMPLE + FolderGroupBy -None + + .EXAMPLE + FolderGroupBy -Default + + .NOTES + Current user +#> +function FolderGroupBy +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "None" + )] + [switch] + $None, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "None" + { + # Clear any Common Dialog views + Get-ChildItem -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\*\Shell" -Recurse | Where-Object -FilterScript {$_.PSChildName -eq "{885A186E-A440-4ADA-812B-DB871B942259}"} | Remove-Item -Force + + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}")) + { + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force + } + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name ColumnList -PropertyType String -Value "prop:0(34)System.ItemNameDisplay;0System.DateModified;0System.ItemTypeText;0System.Size;1System.DateCreated;1System.Author;1System.Category;1System.Keywords;1System.Title" -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name LogicalViewMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Name -PropertyType String -Value NoName -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Order -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name SortByList -PropertyType String -Value "prop:System.ItemNameDisplay" -Force + } + "Default" + { + Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore + } + } +} #endregion UI & Personalization #region OneDrive @@ -9110,10 +9180,10 @@ function InstallVCRedist <# .SYNOPSIS - Install the latest .NET Desktop Runtime 7 (x86/x64) + Install the latest .NET Desktop Runtime 6, 7 (x86/x64) .EXAMPLE - InstallDotNetRuntime7 + InstallDotNetRuntimes .LINK https://dotnet.microsoft.com/en-us/download/dotnet @@ -9121,7 +9191,7 @@ function InstallVCRedist .NOTES Machine-wide #> -function InstallDotNetRuntime7 +function InstallDotNetRuntimes { try { @@ -9139,13 +9209,58 @@ function InstallDotNetRuntime7 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 6 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements + + # .NET Desktop Runtime 7 x86 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements } else { + # Install .NET Desktop Runtime 6 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + + # .NET Desktop Runtime 6 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 6 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + + # .NET Desktop Runtime 7 # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json $Parameters = @{ Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" @@ -9154,7 +9269,7 @@ function InstallDotNetRuntime7 $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 7 x86 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" @@ -9165,7 +9280,7 @@ function InstallDotNetRuntime7 Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" @@ -9180,7 +9295,7 @@ function InstallDotNetRuntime7 $Paths = @( "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" + "$env:TEMP\Microsoft_.NET_Runtime*.log" ) Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore } @@ -10455,7 +10570,7 @@ function RestoreUWPApps # You cannot retrieve packages using -PackageTypeFilter Bundle, otherwise you won't get the InstallLocation attribute. It can be retrieved only by comparing with $Bundles $Bundles = (Get-AppXPackage -PackageTypeFilter Bundle -AllUsers).Name - $AppxPackages = Get-AppxPackage -AllUsers | Where-Object -FilterScript {$_.PackageUserInformation -match "Staged"} | Where-Object -FilterScript {$_.Name -in $Bundles} + $AppxPackages = @(Get-AppxPackage -AllUsers | Where-Object -FilterScript {$_.PackageUserInformation -match "Staged"} | Where-Object -FilterScript {$_.Name -in $Bundles}) $PackagesIds = [Windows.Management.Deployment.PackageManager, Windows.Web, ContentType = WindowsRuntime]::new().FindPackages() | Select-Object -Property DisplayName -ExpandProperty Id | Select-Object -Property Name, DisplayName foreach ($AppxPackage in $AppxPackages) diff --git a/src/Sophia_Script_for_Windows_10/Sophia.ps1 b/src/Sophia_Script_for_Windows_10/Sophia.ps1 index 9d818da7..58b3271f 100644 --- a/src/Sophia_Script_for_Windows_10/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10/Sophia.ps1 @@ -27,7 +27,7 @@ .NOTES Supported Windows 10 versions Versions: 21H2/22H2 - Builds: 1904x.2006+ + Builds: 1904x.2364+ Editions: Home/Pro/Enterprise Architecture: x64 @@ -963,7 +963,7 @@ InstallVCRedist https://dotnet.microsoft.com/en-us/download/dotnet #> -InstallDotNetRuntime7 +InstallDotNetRuntimes # Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only # Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 index 12a6c23d..db28a6c3 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 UnsupportedOSBuild = Das Skript unterstützt Windows 10 Enterprise LTSC 2019 -UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 3046 und höher +UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 3770 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -Windows10DebloaterWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater PowerShell-Skripts von Sycnex beeinträchtigt worden sein. Installieren Sie vorsorglich das gesamte Betriebssystem neu +SycnexWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +Fs00Warning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. bin = Im Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = Der PC wartet darauf, neu gestartet zu werden UnsupportedRelease = Neue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 index b5f7090f..042e1be5 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = The script supports Windows 10 x64 only UnsupportedOSBuild = The script supports Windows 10 Enterprise LTSC 2019 -UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative update: 3046 and higher +UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative update: 3770 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor -Windows10DebloaterWarning = The Windows stability may have been compromised by using Sycnex's Windows10Debloater PowerShell script. Preventively, reinstall the entire OS +SycnexWarning = The Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows +Fs00Warning = The Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = There are no files in the bin folder. Please, re-download the archive RebootPending = The PC is waiting to be restarted UnsupportedRelease = A new version found diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 index 61c5a0d7..45e64d5e 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = El script sólo es compatible con Windows 10 x64 UnsupportedOSBuild = El script es compatible con versión Windows 10 Enterprise LTSC 2019 -UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 3046 y superior +UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 3770 y superior UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -Windows10DebloaterWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale todo el sistema operativo +SycnexWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows +Fs00Warning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows bin = No hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = El PC está esperando a ser reiniciado UnsupportedRelease = Una nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 index 473f77e0..18c1fb1b 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Le script supporte uniquement Windows 10 x64 UnsupportedOSBuild = Le script supporte le version Windows 10 Enterprise LTSC 2019 -UpdateWarning = La mise à jour cumulative de Windows 10 est installée : {0}. Mise à jour cumulative prise en charge : 3046 et plus +UpdateWarning = La mise à jour cumulative de Windows 10 est installée : {0}. Mise à jour cumulative prise en charge : 3770 et plus UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -Windows10DebloaterWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez l'ensemble de l'OS +SycnexWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows +Fs00Warning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows bin = Il n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = Le PC attend d'être redémarré UnsupportedRelease = Nouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 index 304a4764..d759ad23 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 @@ -1,13 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = A szkript csak a Windows 10 64 bites verziót támogatja UnsupportedOSBuild = A szkript támogatja a Windows 10 Enterprise LTSC 2019 kiadást -UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 3046 és magasabb verziószámok +UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 3770 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -Windows10DebloaterWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a teljes operációs rendszert +SycnexWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows bin = A bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = A számítógép újraindításra vár UnsupportedRelease = Új verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 index f8f76496..ebd37341 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Lo script supporta solo Windows 10 x64 UnsupportedOSBuild = Lo script supporta Windows 10 Enterprise LTSC 2019 -UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 3046 o superiori +UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 3770 o superiori UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -Windows10DebloaterWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il sistema operativo +SycnexWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows +Fs00Warning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows bin = Non ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = Il PC è in attesa di essere riavviato UnsupportedRelease = Nuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 index c0f716d6..8d19109f 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pl-PL/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Skrypt obsługuje tylko system Windows 10 x64 only UnsupportedOSBuild = Skrypt obsługuje system Windows 10 Enterprise LTSC 2019 -UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 3046 i nowsze +UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 3770 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell UnsupportedISE = Skrypt nie może być uruchamiany w Windows PowerShell ISE Win10TweakerWarning = Prawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -Windows10DebloaterWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie system operacyjny +SycnexWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows +Fs00Warning = Stabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows bin = W folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = Komputer oczekuje na ponowne uruchomienie UnsupportedRelease = Znaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 index 3924b902..2e6361a2 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = O script suporta somente Windows 10 x64 UnsupportedOSBuild = O script suporta versões Windows 10 Enterprise LTSC 2019 -UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 3046 e superior +UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 3770 e superior UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -Windows10DebloaterWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o sistema operacional +SycnexWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows +Fs00Warning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows bin = Não existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = O PC está esperando para ser reiniciado UnsupportedRelease = Nova versão encontrada @@ -40,7 +41,7 @@ RestartWarning = Certifique-se de reiniciar o PC ErrorsLine = Linha ErrorsFile = Arquivo ErrorsMessage = Erros/Avisos -Add = Adicionar +Add = Adicionar AllFilesFilter = Todos os arquivos (*.*)|*.* Browse = Procurar DialogBoxOpening = Exibindo a caixa de diálogo... @@ -50,7 +51,7 @@ EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*) FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos Install = Instalar -NoData = Nada à exibir +NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" NoResponse = Uma conexão não pôde ser estabelecida com {0} diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 index 226b9054..265227d8 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 UnsupportedOSBuild = Скрипт поддерживает только Windows 10 Enterprise LTSC 2019 -UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 3046 и выше +UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 3770 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабильность Вашей ОС могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +SycnexWarning = Стабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +Fs00Warning = Стабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС bin = В папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив RebootPending = Компьютер ожидает перезагрузки UnsupportedRelease = Обнаружена новая версия diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 index 2372d2ca..54f48a0b 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Bu betik sadece Windows 10 x64 destekliyor UnsupportedOSBuild = Bu betik sadece Windows 10 Enterprise LTSC 2019 -UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 3046 ve üstü +UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 3770 ve üstü UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -Windows10DebloaterWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, tüm işletim sistemini yeniden yükleyin +SycnexWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +Fs00Warning = Windows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin bin = bin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = PC yeniden başlatılmayı bekliyor UnsupportedRelease = Yeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 index 961bcdcf..4383e9f3 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 UnsupportedOSBuild = Скрипт підтримує тільки Windows 10 Enterprise LTSC 2019 -UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 3046 і вище +UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 3770 і вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть ОС +SycnexWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows +Fs00Warning = Стабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows bin = У папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = Комп'ютер очікує на перезавантаження UnsupportedRelease = Виявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 index 7e510c66..b8548219 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 UnsupportedOSBuild = 该脚本支持Windows 10版本Enterprise LTSC 2019 -UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:3046及以上 +UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:3770及以上 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 -Windows10DebloaterWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +SycnexWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +Fs00Warning = 使用“Windows 10 Bloat Remover and Tweaker”可能会影响 Windows 稳定性。 预防性地,重新安装 Windows bin = bin文件夹中没有文件。请重新下载该档案 RebootPending = 计算机正在等待重新启动 UnsupportedRelease = 找到新版本 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 index 5025ad0a..97053a8b 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 @@ -68,10 +68,9 @@ function Checks { $true { - # Check whether the OS minor build version is 3406 minimum + # Check whether the OS minor build version is 3770 minimum # https://docs.microsoft.com/en-us/windows/release-health/release-information - # https://support.microsoft.com/en-us/topic/windows-10-and-windows-server-2019-update-history-725fc2e1-4443-6831-a5ca-51ff5cbcb059 - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 3406) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 3770) { $Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR Write-Warning -Message ($Localization.UpdateWarning -f $Version) @@ -150,11 +149,21 @@ function Checks exit } - # Check whether the OS was destroyed by Sycnex's Windows10Debloater script + # Check whether Windows was destroyed by Windows10Debloater # https://github.com/Sycnex/Windows10Debloater if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) { - Write-Warning -Message $Localization.Windows10DebloaterWarning + Write-Warning -Message $Localization.SycnexWarning + Start-Process -FilePath "https://t.me/sophia_chat" + exit + } + + # Check whether Windows was destroyed by Win10BloatRemover + # https://github.com/Fs00/Win10BloatRemover + if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) + { + Write-Warning -Message $Localization.Fs00Warning + Start-Process -FilePath "https://t.me/sophia_chat" exit } @@ -280,8 +289,7 @@ function Checks $Localization.WindowsBroken exit } - [array]$notRunning = $Services | Where-Object -FilterScript {$_.Status -ne "running"} - $Script:DefenderServices = $notRunning.Count -eq 0 + $Script:DefenderServices = ($Services | Where-Object -FilterScript {$_.Status -ne "running"} | Measure-Object).Count -lt $Services.Count # Specifies whether Antispyware protection is enabled if ((Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/microsoft/windows/defender).AntispywareEnabled) @@ -3185,6 +3193,68 @@ public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint } [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) } + +<# + .SYNOPSIS + Files and folders grouping + + .PARAMETER None + Do not group files and folder + + .PARAMETER Default + Group files and folder by date modified (default value) + + .EXAMPLE + FolderGroupBy -None + + .EXAMPLE + FolderGroupBy -Default + + .NOTES + Current user +#> +function FolderGroupBy +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "None" + )] + [switch] + $None, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "None" + { + # Clear any Common Dialog views + Get-ChildItem -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\*\Shell" -Recurse | Where-Object -FilterScript {$_.PSChildName -eq "{885A186E-A440-4ADA-812B-DB871B942259}"} | Remove-Item -Force + + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}")) + { + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force + } + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name ColumnList -PropertyType String -Value "prop:0(34)System.ItemNameDisplay;0System.DateModified;0System.ItemTypeText;0System.Size;1System.DateCreated;1System.Author;1System.Category;1System.Keywords;1System.Title" -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name LogicalViewMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Name -PropertyType String -Value NoName -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Order -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name SortByList -PropertyType String -Value "prop:System.ItemNameDisplay" -Force + } + "Default" + { + Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore + } + } +} #endregion UI & Personalization #region System @@ -7491,10 +7561,10 @@ function InstallVCRedist <# .SYNOPSIS - Install the latest .NET Desktop Runtime 7 (x86/x64) + Install the latest .NET Desktop Runtime 6, 7 (x86/x64) .EXAMPLE - InstallDotNetRuntime7 + InstallDotNetRuntimes .LINK https://dotnet.microsoft.com/en-us/download/dotnet @@ -7502,7 +7572,7 @@ function InstallVCRedist .NOTES Machine-wide #> -function InstallDotNetRuntime7 +function InstallDotNetRuntimes { try { @@ -7518,43 +7588,98 @@ function InstallDotNetRuntime7 return } - # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json - $Parameters = @{ - Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" - UseBasicParsing = $true - } - $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") + { + # .NET Desktop Runtime 6 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements - # .NET Desktop Runtime x86 - $Parameters = @{ - Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" - OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" - UseBasicParsing = $true - Verbose = $true + # .NET Desktop Runtime 7 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements } - Invoke-WebRequest @Parameters + else + { + # Install .NET Desktop Runtime 6 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + # .NET Desktop Runtime 6 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters - # .NET Desktop Runtime x64 - $Parameters = @{ - Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" - OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" - UseBasicParsing = $true - Verbose = $true - } - Invoke-WebRequest @Parameters + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 6 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters - Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait - # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word - $Paths = @( - "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", - "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" - ) - Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + + # .NET Desktop Runtime 7 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + + # .NET Desktop Runtime 7 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 7 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + } } catch [System.Net.WebException] { diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 index 77a19935..7fdcdf66 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 @@ -27,7 +27,7 @@ .NOTES Supported Windows 10 version Version: 1809 - Build: 17763.3046+ + Build: 17763.3770+ Edition: Enterprise LTSC 2019 Architecture: x64 @@ -764,7 +764,7 @@ InstallVCRedist https://dotnet.microsoft.com/en-us/download/dotnet #> -InstallDotNetRuntime7 +InstallDotNetRuntimes # Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only # Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 index 5fb7d59a..f7de9b8c 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 UnsupportedOSBuild = Das Skript unterstützt Windows 10 Enterprise LTSC 2021 -UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 2006 und höher +UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 2364 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -Windows10DebloaterWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater PowerShell-Skripts von Sycnex beeinträchtigt worden sein. Installieren Sie vorsorglich das gesamte Betriebssystem neu +SycnexWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +Fs00Warning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. bin = Im Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = Der PC wartet darauf, neu gestartet zu werden UnsupportedRelease = Neue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 index 63e6e98b..d5bd6806 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = The script supports Windows 10 x64 only UnsupportedOSBuild = The script supports Windows 10 Enterprise LTSC 2021 -UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative update: 2006 and higher +UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative update: 2364 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor -Windows10DebloaterWarning = The Windows stability may have been compromised by using Sycnex's Windows10Debloater PowerShell script. Preventively, reinstall the entire OS +SycnexWarning = The Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows +Fs00Warning = The Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = There are no files in the bin folder. Please, re-download the archive RebootPending = The PC is waiting to be restarted UnsupportedRelease = A new version found diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 index aef2f94c..6328bc21 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = El script sólo es compatible con Windows 10 x64 UnsupportedOSBuild = El script es compatible con versión Windows 10 Enterprise LTSC 2021 -UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 2006 y superior +UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 2364 y superior UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -Windows10DebloaterWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale todo el sistema operativo +SycnexWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows +Fs00Warning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows bin = No hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = El PC está esperando a ser reiniciado UnsupportedRelease = Una nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 index 874fc453..cea3e820 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Le script supporte uniquement Windows 10 x64 UnsupportedOSBuild = Le script supporte les versions Windows 10 Enterprise LTSC 2021 -UpdateWarning = La mise à jour cumulative de Windows 10 est installée: {0}. Mise à jour cumulative prise en charge: 2006 et plus +UpdateWarning = La mise à jour cumulative de Windows 10 est installée: {0}. Mise à jour cumulative prise en charge: 2364 et plus UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -Windows10DebloaterWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez l'ensemble de l'OS +SycnexWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows +Fs00Warning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows bin = Il n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = Le PC attend d'être redémarré UnsupportedRelease = Nouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 index 33ece23b..a38c4bb7 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = A szkript csak a Windows 10 64 bites verziót támogatja UnsupportedOSBuild = A szkript támogatja a Windows 10 Enterprise LTSC 2021 -UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 2006 és magasabb verziószámok +UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 2364 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -Windows10DebloaterWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a teljes operációs rendszert +SycnexWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows +Fs00Warning = A Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = A bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = A számítógép újraindításra vár UnsupportedRelease = Új verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 index 6fbe3832..55de0541 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Lo script supporta solo Windows 10 x64 UnsupportedOSBuild = Lo script supporta Windows 10 Enterprise LTSC 2021 -UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 2006 o superiori +UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 2364 o superiori UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -Windows10DebloaterWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il sistema operativo +SycnexWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows +Fs00Warning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows bin = Non ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = Il PC è in attesa di essere riavviato UnsupportedRelease = Nuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 index 0b3fcc6a..3ca51ff8 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pl-PL/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Skrypt obsługuje tylko system Windows 10 x64 UnsupportedOSBuild = Skrypt obsługuje system Windows 10 Enterprise LTSC 2021 -UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 2006 i nowsze +UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 2364 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell UnsupportedISE = Skrypt nie może być uruchamiany w Windows PowerShell ISE Win10TweakerWarning = Prawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -Windows10DebloaterWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie system operacyjny +SycnexWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows +Fs00Warning = Stabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows bin = W folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = Komputer oczekuje na ponowne uruchomienie UnsupportedRelease = Znaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 index 81214701..1c3003fe 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = O script suporta somente Windows 10 x64 UnsupportedOSBuild = O script suporta versões Windows 10 Enterprise LTSC 2021 -UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 2006 e superior +UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 2364 e superior UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -Windows10DebloaterWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o sistema operacional +SycnexWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows +Fs00Warning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows bin = Não existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = O PC está esperando para ser reiniciado UnsupportedRelease = Nova versão encontrada @@ -42,7 +43,7 @@ RestartWarning = Certifique-se de reiniciar o PC ErrorsLine = Linha ErrorsFile = Arquivo ErrorsMessage = Erros/Avisos -Add = Adicionar +Add = Adicionar AllFilesFilter = Todos os arquivos (*.*)|*.* Browse = Procurar DialogBoxOpening = Exibindo a caixa de diálogo... @@ -52,7 +53,7 @@ EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*) FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos Install = Instalar -NoData = Nada à exibir +NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" NoResponse = Uma conexão não pôde ser estabelecida com {0} diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 index c6e37216..abf29371 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 UnsupportedOSBuild = Скрипт поддерживает только Windows 10 Enterprise LTSC 2021 -UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 2006 и выше +UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 2364 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабильность Вашей ОС могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +SycnexWarning = Стабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +Fs00Warning = Стабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС bin = В папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив RebootPending = Компьютер ожидает перезагрузки UnsupportedRelease = Обнаружена новая версия diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 index 61f46c04..cc39bcb6 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Bu betik sadece Windows 10 x64 destekliyor UnsupportedOSBuild = Komut dosyası, Windows 10 Enterprise LTSC 2021 -UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 2006 ve üstü +UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 2364 ve üstü UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -Windows10DebloaterWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, tüm işletim sistemini yeniden yükleyin +SycnexWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +Fs00Warning = Windows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin bin = bin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = PC yeniden başlatılmayı bekliyor UnsupportedRelease = Yeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 index 6f69a26d..b3683025 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 UnsupportedOSBuild = Скрипт підтримує тільки Windows 10 Enterprise LTSC 2021 -UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 2006 і вище +UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 2364 і вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть ОС +SycnexWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows +Fs00Warning = Стабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows bin = У папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = Комп'ютер очікує на перезавантаження UnsupportedRelease = Виявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 index 84cba7ed..f9569989 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 UnsupportedOSBuild = 该脚本支持Windows 10 Enterprise LTSC 2021 -UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:2006及以上 +UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:2364及以上 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 -Windows10DebloaterWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +SycnexWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +Fs00Warning = 使用“Windows 10 Bloat Remover and Tweaker”可能会影响 Windows 稳定性。 预防性地,重新安装 Windows bin = bin文件夹中没有文件。请重新下载该档案 RebootPending = 计算机正在等待重新启动 UnsupportedRelease = 找到新版本 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index ef8b85bc..b2d68975 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -13,7 +13,7 @@ .NOTES Supported Windows 10 version Version: 21H2 - Build: 19044.2006+ + Build: 19044.2364+ Edition: Enterprise LTSC 2021 Architecture: x64 @@ -68,11 +68,10 @@ function Checks { $true { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2006) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2364) { - # Check whether the OS minor build version is 2006 minimum + # Check whether the OS minor build version is 2364 minimum # https://docs.microsoft.com/en-us/windows/release-health/release-information - # https://support.microsoft.com/en-us/topic/september-13-2022-kb5017308-os-builds-19042-2006-19043-2006-and-19044-2006-e4ea187e-28e8-4d4b-808b-2794babdce4c $Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR Write-Warning -Message ($Localization.UpdateWarning -f $Version) @@ -150,11 +149,21 @@ function Checks exit } - # Check whether the OS was destroyed by Sycnex's Windows10Debloater script + # Check whether Windows was destroyed by Windows10Debloater # https://github.com/Sycnex/Windows10Debloater if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) { - Write-Warning -Message $Localization.Windows10DebloaterWarning + Write-Warning -Message $Localization.SycnexWarning + Start-Process -FilePath "https://t.me/sophia_chat" + exit + } + + # Check whether Windows was destroyed by Win10BloatRemover + # https://github.com/Fs00/Win10BloatRemover + if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) + { + Write-Warning -Message $Localization.Fs00Warning + Start-Process -FilePath "https://t.me/sophia_chat" exit } @@ -280,8 +289,7 @@ function Checks $Localization.WindowsBroken exit } - [array]$notRunning = $Services | Where-Object -FilterScript {$_.Status -ne "running"} - $Script:DefenderServices = $notRunning.Count -eq 0 + $Script:DefenderServices = ($Services | Where-Object -FilterScript {$_.Status -ne "running"} | Measure-Object).Count -lt $Services.Count # Specifies whether Antispyware protection is enabled if ((Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/microsoft/windows/defender).AntispywareEnabled) @@ -3556,6 +3564,68 @@ public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint } [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) } + +<# + .SYNOPSIS + Files and folders grouping + + .PARAMETER None + Do not group files and folder + + .PARAMETER Default + Group files and folder by date modified (default value) + + .EXAMPLE + FolderGroupBy -None + + .EXAMPLE + FolderGroupBy -Default + + .NOTES + Current user +#> +function FolderGroupBy +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "None" + )] + [switch] + $None, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "None" + { + # Clear any Common Dialog views + Get-ChildItem -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\*\Shell" -Recurse | Where-Object -FilterScript {$_.PSChildName -eq "{885A186E-A440-4ADA-812B-DB871B942259}"} | Remove-Item -Force + + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}")) + { + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force + } + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name ColumnList -PropertyType String -Value "prop:0(34)System.ItemNameDisplay;0System.DateModified;0System.ItemTypeText;0System.Size;1System.DateCreated;1System.Author;1System.Category;1System.Keywords;1System.Title" -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name LogicalViewMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Name -PropertyType String -Value NoName -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Order -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name SortByList -PropertyType String -Value "prop:System.ItemNameDisplay" -Force + } + "Default" + { + Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore + } + } +} #endregion UI & Personalization #region System @@ -8112,10 +8182,10 @@ function InstallVCRedist <# .SYNOPSIS - Install the latest .NET Desktop Runtime 7 (x86/x64) + Install the latest .NET Desktop Runtime 6, 7 (x86/x64) .EXAMPLE - InstallDotNetRuntime7 + InstallDotNetRuntimes .LINK https://dotnet.microsoft.com/en-us/download/dotnet @@ -8123,7 +8193,7 @@ function InstallVCRedist .NOTES Machine-wide #> -function InstallDotNetRuntime7 +function InstallDotNetRuntimes { try { @@ -8139,43 +8209,98 @@ function InstallDotNetRuntime7 return } - # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json - $Parameters = @{ - Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" - UseBasicParsing = $true - } - $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") + { + # .NET Desktop Runtime 6 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements - # .NET Desktop Runtime x86 - $Parameters = @{ - Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" - OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" - UseBasicParsing = $true - Verbose = $true + # .NET Desktop Runtime 7 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements } - Invoke-WebRequest @Parameters + else + { + # Install .NET Desktop Runtime 6 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + # .NET Desktop Runtime 6 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters - # .NET Desktop Runtime x64 - $Parameters = @{ - Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" - OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" - UseBasicParsing = $true - Verbose = $true - } - Invoke-WebRequest @Parameters + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 6 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters - Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait - # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word - $Paths = @( - "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", - "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" - ) - Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + + # .NET Desktop Runtime 7 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + + # .NET Desktop Runtime 7 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 7 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + } } catch [System.Net.WebException] { diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 index cc7fcfa2..1fa05b15 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 @@ -27,7 +27,7 @@ .NOTES Supported Windows 10 version Version: 21H2 - Build: 19044.2006+ + Build: 19044.2364+ Edition: Enterprise LTSC 2021 Architecture: x64 @@ -862,7 +862,7 @@ InstallVCRedist https://dotnet.microsoft.com/en-us/download/dotnet #> -InstallDotNetRuntime7 +InstallDotNetRuntimes # Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only # Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 index 3f3d293c..6c4b25d5 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 UnsupportedOSBuild = Das Skript unterstützt Windows 10 21H2/22H2+ -UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 2006 und höher +UpdateWarning = Das kumulative Windows 10-Update wurde installiert: {0}. Unterstütztes kumulatives Update: 2364 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -Windows10DebloaterWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater PowerShell-Skripts von Sycnex beeinträchtigt worden sein. Installieren Sie vorsorglich das gesamte Betriebssystem neu +SycnexWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +Fs00Warning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. bin = Im Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = Der PC wartet darauf, neu gestartet zu werden UnsupportedRelease = Neue Version gefunden diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 index 4363fc6d..b3533e5d 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = The script supports Windows 10 x64 only UnsupportedOSBuild = The script supports Windows 10 21H2/22H2+ -UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative updates: 2006 and higher +UpdateWarning = Windows 10 cumulative update installed: {0}. Supported cumulative updates: 2364 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor -Windows10DebloaterWarning = The Windows stability may have been compromised by using Sycnex's Windows10Debloater PowerShell script. Preventively, reinstall the entire OS +SycnexWarning = The Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows +Fs00Warning = The Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = There are no files in the bin folder. Please, re-download the archive RebootPending = The PC is waiting to be restarted UnsupportedRelease = A new version found diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 index 1ad40f86..604583cb 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = El script sólo es compatible con Windows 10 x64 UnsupportedOSBuild = El script es compatible con versión Windows 10 21H2/22H2+ -UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 2006 y superior +UpdateWarning = Actualización acumulativa de Windows 10 instalada: {0}. Actualización acumulativa soportada: 2364 y superior UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -Windows10DebloaterWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale todo el sistema operativo +SycnexWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows +Fs00Warning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows bin = No hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = El PC está esperando a ser reiniciado UnsupportedRelease = Una nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index 55334faa..2ff6359c 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Le script supporte uniquement Windows 10 x64 UnsupportedOSBuild = Le script supporte les versions Windows 10 21H2/22H2+ -UpdateWarning = La mise à jour cumulative de Windows 10 est installée: {0}. Mise à jour cumulative prise en charge: 2006 et plus +UpdateWarning = La mise à jour cumulative de Windows 10 est installée: {0}. Mise à jour cumulative prise en charge: 2364 et plus UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -Windows10DebloaterWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez l'ensemble de l'OS +SycnexWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows +Fs00Warning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows bin = Il n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = Le PC attend d'être redémarré UnsupportedRelease = Nouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index 2a3c5e81..7d83e0fc 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = A szkript csak a Windows 10 64 bites verziót támogatja UnsupportedOSBuild = A szkript támogatja a Windows 10 21H2/22H2+ verziókat -UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 2006 és magasabb verziószámok +UpdateWarning = A Windows 10 összesített frissítése telepítve: {0}. Támogatott kumulatív frissítés: 2364 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -Windows10DebloaterWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a teljes operációs rendszert +SycnexWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows +Fs00Warning = A Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = A bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = A számítógép újraindításra vár UnsupportedRelease = Új verzió érhető el diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 index 1325a098..3857c380 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Lo script supporta solo Windows 10 x64 UnsupportedOSBuild = Lo script supporta Windows 10 21H2/22H2+ -UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 2006 o superiori +UpdateWarning = Windows 10 cumulative update installato: {0}. È necessario l'aggiornamento cumulativo 2364 o superiori UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -Windows10DebloaterWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il sistema operativo +SycnexWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows +Fs00Warning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows bin = Non ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = Il PC è in attesa di essere riavviato UnsupportedRelease = Nuova versione trovata diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 index 6b918304..3b5c8814 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pl-PL/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Skrypt obsługuje tylko system Windows 10 x64 UnsupportedOSBuild = Skrypt obsługuje system Windows 10 21H2/22H2+ -UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 2006 i nowsze +UpdateWarning = Zainstalowano zbiorczą aktualizację systemu Windows 10: {0}. Obsługiwane aktualizacje zbiorcze: 2364 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell UnsupportedISE = Skrypt nie może być uruchamiany w Windows PowerShell ISE Win10TweakerWarning = Prawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -Windows10DebloaterWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie system operacyjny +SycnexWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows +Fs00Warning = Stabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows bin = W folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = Komputer oczekuje na ponowne uruchomienie UnsupportedRelease = Znaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index 07686272..f748d0bc 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = O script suporta somente Windows 10 x64 UnsupportedOSBuild = O script suporta versões Windows 10 21H2/22H2+ -UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 2006 e superior +UpdateWarning = Atualização cumulativa do Windows 10 instalado: {0}. Actualização acumulada suportada: 2364 e superior UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -Windows10DebloaterWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o sistema operacional +SycnexWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows +Fs00Warning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows bin = Não existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = O PC está esperando para ser reiniciado UnsupportedRelease = Nova versão encontrada diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index 606aa1c8..31037bc3 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 UnsupportedOSBuild = Скрипт поддерживает Windows 10 21H2/22H2+ -UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 2006 и выше +UpdateWarning = Установленный накопительный пакет обновления Windows 10: {0}. Поддерживаемый накопительный пакет обновления: 2364 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабильность Вашей ОС могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +SycnexWarning = Стабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +Fs00Warning = Стабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС bin = В папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив RebootPending = Компьютер ожидает перезагрузки UnsupportedRelease = Обнаружена новая версия diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index 033fc6db..40dd98a8 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Bu betik sadece Windows 10 x64 destekliyor UnsupportedOSBuild = Komut dosyası, Windows 10 21H2/22H2+ sürümlerini destekler -UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 2006 ve üstü +UpdateWarning = Windows 10 toplu güncelleştirmesi yüklendi: {0}. Desteklenen toplu güncelleme: 2364 ve üstü UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -Windows10DebloaterWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, tüm işletim sistemini yeniden yükleyin +SycnexWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +Fs00Warning = Windows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin bin = bin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = PC yeniden başlatılmayı bekliyor UnsupportedRelease = Yeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index 1efa6fd9..c61a2bca 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = Скрипт підтримує тільки Windows 10 x64 UnsupportedOSBuild = Скрипт підтримує Windows 10 21H2/22H2+ -UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 2006 і вище +UpdateWarning = Встановлений накопичувальний пакет оновлення Windows 10: {0}. Підтримуваний накопичувальний пакет оновлення: 2364 і вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть ОС +SycnexWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows +Fs00Warning = Стабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows bin = У папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = Комп'ютер очікує на перезавантаження UnsupportedRelease = Виявлено нову версію diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index 4e3df075..f782aa38 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -1,13 +1,14 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBitness = 该脚本仅支持Windows 10 x64 UnsupportedOSBuild = 该脚本支持Windows 10版本21H2/22H2+和更高版本 -UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:2006及以上 +UpdateWarning = 安装了Windows 10累积更新:{0}. 支持的累积更新:2364及以上 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 -Windows10DebloaterWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +SycnexWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +Fs00Warning = 使用“Windows 10 Bloat Remover and Tweaker”可能会影响 Windows 稳定性。 预防性地,重新安装 Windows bin = bin文件夹中没有文件。请重新下载该档案 RebootPending = 计算机正在等待重新启动 UnsupportedRelease = 找到新版本 diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 index a7f73f51..6cc21733 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 @@ -13,7 +13,7 @@ .NOTES Supported Windows 10 versions Versions: 21H2/22H2+ - Builds: 19044.2006+ + Builds: 19044.2364+ Editions: Home/Pro/Enterprise Architecture: x64 @@ -68,11 +68,10 @@ function Checks { {($_ -ge 19044) -and ($_ -le 19048)} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2006) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2364) { - # Check whether the OS minor build version is 2006 minimum + # Check whether the OS minor build version is 2364 minimum # https://docs.microsoft.com/en-us/windows/release-health/release-information - # https://support.microsoft.com/en-us/topic/september-13-2022-kb5017308-os-builds-19042-2006-19043-2006-and-19044-2006-e4ea187e-28e8-4d4b-808b-2794babdce4c $Version = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR Write-Warning -Message ($Localization.UpdateWarning -f $Version) @@ -153,11 +152,21 @@ function Checks exit } - # Check whether the OS was destroyed by Sycnex's Windows10Debloater script + # Check whether Windows was destroyed by Windows10Debloater # https://github.com/Sycnex/Windows10Debloater if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) { - Write-Warning -Message $Localization.Windows10DebloaterWarning + Write-Warning -Message $Localization.SycnexWarning + Start-Process -FilePath "https://t.me/sophia_chat" + exit + } + + # Check whether Windows was destroyed by Win10BloatRemover + # https://github.com/Fs00/Win10BloatRemover + if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) + { + Write-Warning -Message $Localization.Fs00Warning + Start-Process -FilePath "https://t.me/sophia_chat" exit } @@ -298,8 +307,7 @@ function Checks $Localization.WindowsBroken exit } - [array]$notRunning = $Services | Where-Object -FilterScript {$_.Status -ne "running"} - $Script:DefenderServices = $notRunning.Count -eq 0 + $Script:DefenderServices = ($Services | Where-Object -FilterScript {$_.Status -ne "running"} | Measure-Object).Count -lt $Services.Count # Specifies whether Antispyware protection is enabled if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name EditionID) -ne "EnterpriseG") @@ -9118,10 +9126,10 @@ function InstallVCRedist <# .SYNOPSIS - Install the latest .NET Desktop Runtime 7 (x86/x64) + Install the latest .NET Desktop Runtime 6, 7 (x86/x64) .EXAMPLE - InstallDotNetRuntime7 + InstallDotNetRuntimes .LINK https://dotnet.microsoft.com/en-us/download/dotnet @@ -9129,7 +9137,7 @@ function InstallVCRedist .NOTES Machine-wide #> -function InstallDotNetRuntime7 +function InstallDotNetRuntimes { try { @@ -9147,13 +9155,58 @@ function InstallDotNetRuntime7 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 6 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements + + # .NET Desktop Runtime 7 x86 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements } else { + # Install .NET Desktop Runtime 6 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + + # .NET Desktop Runtime 6 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 6 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + + # .NET Desktop Runtime 7 # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json $Parameters = @{ Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" @@ -9162,7 +9215,7 @@ function InstallDotNetRuntime7 $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 7 x86 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" @@ -9173,7 +9226,7 @@ function InstallDotNetRuntime7 Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" @@ -9188,7 +9241,7 @@ function InstallDotNetRuntime7 $Paths = @( "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" + "$env:TEMP\Microsoft_.NET_Runtime*.log" ) Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore } diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 index 3b3a19b2..52c97a7b 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 @@ -27,7 +27,7 @@ .NOTES Supported Windows 10 versions Versions: 21H2/22H2 - Builds: 1904x.2006+ + Builds: 1904x.2364+ Editions: Home/Pro/Enterprise Architecture: x64 @@ -972,7 +972,7 @@ InstallVCRedist https://dotnet.microsoft.com/en-us/download/dotnet #> -InstallDotNetRuntime7 +InstallDotNetRuntimes # Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only # Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России diff --git a/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 index 89932fd3..d201bcc6 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/de-DE/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Das Skript unterstützt Windows 11 2004/20H2/21H1-Versionen und höher -UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.739, 22621 und höher +UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.1335, 22621 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -Windows10DebloaterWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater PowerShell-Skripts von Sycnex beeinträchtigt worden sein. Installieren Sie vorsorglich das gesamte Betriebssystem neu +SycnexWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +Fs00Warning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. bin = Im Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = Der PC wartet darauf, neu gestartet zu werden UnsupportedRelease = Neue Version gefunden diff --git a/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 index c3d9fb47..aa657d48 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/en-US/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = The script supports Windows 11 21H2 version and higher -UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.739, 22621 and higher +UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.1335, 22621 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor -Windows10DebloaterWarning = The Windows stability may have been compromised by using Sycnex's Windows10Debloater PowerShell script. Preventively, reinstall the entire OS +SycnexWarning = The Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows +Fs00Warning = The Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = There are no files in the bin folder. Please, re-download the archive RebootPending = The PC is waiting to be restarted UnsupportedRelease = A new version found diff --git a/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 index 3bf4e1f4..e09596c6 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/es-ES/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = El script es compatible con versión Windows 11 21H2 y superiores -UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.739, 22621 y superiores +UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.1335, 22621 y superiores UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -Windows10DebloaterWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale todo el sistema operativo +SycnexWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows +Fs00Warning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows bin = No hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = El PC está esperando a ser reiniciado UnsupportedRelease = Una nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 index 52768da1..e9a65f7e 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/fr-FR/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Le script supporte les versions Windows 11 21H2 et ultérieures -UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.739, 22621 et ultérieures +UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.1335, 22621 et ultérieures UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -Windows10DebloaterWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez l'ensemble de l'OS +SycnexWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows +Fs00Warning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows bin = Il n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = Le PC attend d'être redémarré UnsupportedRelease = Nouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 index f6d3c205..e572f02c 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/hu-HU/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = A szkript a Windows 11 21H2 és újabb kiadásokat támogatja -UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.739, 22621 és magasabb verziószámok +UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.1335, 22621 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -Windows10DebloaterWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a teljes operációs rendszert +SycnexWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows +Fs00Warning = A Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = A bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = A számítógép újraindításra vár UnsupportedRelease = Új verzió érhető el diff --git a/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 index 9f6255d9..880ae08e 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/it-IT/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Lo script supporta Windows 11 21H2 e versioni successive -UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.739, 22621 e successive +UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.1335, 22621 e successive UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -Windows10DebloaterWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il sistema operativo +SycnexWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows +Fs00Warning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows bin = Non ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = Il PC è in attesa di essere riavviato UnsupportedRelease = Nuova versione trovata diff --git a/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 index 32dedb25..1442608a 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/pl-PL/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Skrypt obsługuje tylko system Windows 11 21H2 version and higher -UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.739, 22621 i nowsze +UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.1335, 22621 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell UnsupportedISE = Skrypt nie może być uruchamiany w Windows PowerShell ISE Win10TweakerWarning = Prawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -Windows10DebloaterWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie system operacyjny +SycnexWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows +Fs00Warning = Stabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows bin = W folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = Komputer oczekuje na ponowne uruchomienie UnsupportedRelease = Znaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 index c499a39e..2ef6cbaa 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/pt-BR/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = O script suporta versões Windows 11 21H2 e superior -UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.739, 22621 e successive +UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.1335, 22621 e successive UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -Windows10DebloaterWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o sistema operacional +SycnexWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows +Fs00Warning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows bin = Não existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = O PC está esperando para ser reiniciado UnsupportedRelease = Nova versão encontrada @@ -49,7 +50,7 @@ RestartWarning = Certifique-se de reiniciar o PC ErrorsLine = Linha ErrorsFile = Arquivo ErrorsMessage = Erros/Avisos -Add = Adicionar +Add = Adicionar AllFilesFilter = Todos os arquivos (*.*)|*.* Browse = Procurar DialogBoxOpening = Exibindo a caixa de diálogo... @@ -59,7 +60,7 @@ EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*) FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos Install = Instalar -NoData = Nada à exibir +NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" NoResponse = Uma conexão não pôde ser estabelecida com {0} diff --git a/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 index b064a6f4..aa4b841c 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/ru-RU/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт поддерживает только Windows 11 21H2 и выше -UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.739, 22621 и выше +UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.1335, 22621 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабильность Вашей ОС могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +SycnexWarning = Стабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +Fs00Warning = Стабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС bin = В папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив RebootPending = Компьютер ожидает перезагрузки UnsupportedRelease = Обнаружена новая версия diff --git a/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 index 426ab9a6..ce81d9a7 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/tr-TR/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Bu betik sadece Windows 11 21H2 sürüm ve üstünü destekliyor -UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.739, 22621 ve üstünü destekliyor +UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.1335, 22621 ve üstünü destekliyor UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -Windows10DebloaterWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, tüm işletim sistemini yeniden yükleyin +SycnexWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +Fs00Warning = Windows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin bin = bin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = PC yeniden başlatılmayı bekliyor UnsupportedRelease = Yeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 index 03eb4aed..a502d12b 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/uk-UA/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 21H2 та вище -UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.739, 22621 та вище +UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.1335, 22621 та вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть ОС +SycnexWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows +Fs00Warning = Стабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows bin = У папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = Комп'ютер очікує на перезавантаження UnsupportedRelease = Виявлено нову версію diff --git a/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 index 943be6e1..bb6ca1e9 100644 --- a/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Localizations/zh-CN/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = 该脚本支持Windows 11版本21H2和更高版本 -UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.739, 22621和更高版本 +UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.1335, 22621和更高版本 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 -Windows10DebloaterWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +SycnexWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +Fs00Warning = 使用“Windows 10 Bloat Remover and Tweaker”可能会影响 Windows 稳定性。 预防性地,重新安装 Windows bin = bin文件夹中没有文件。请重新下载该档案 RebootPending = 计算机正在等待重新启动 UnsupportedRelease = 找到新版本 diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index f4f8bccb..8dcfbca8 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -13,7 +13,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2/23H2+ - Builds: 22000.739+, 22621+ + Builds: 22000.1335+, 22621+ Editions: Home/Pro/Enterprise .LINK GitHub @@ -60,11 +60,10 @@ function Checks { {$_ -eq 22000} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 978) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) { - # Check whether the OS minor build version is 739 minimum + # Check whether the OS minor build version is 1335 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information - # https://support.microsoft.com/en-us/topic/september-13-2022-kb5017328-os-build-22000-978-40843fca-a0be-4a60-b68b-6cb23a73a5aa $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR) @@ -91,9 +90,9 @@ function Checks } {$_ -ge 22621} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 521) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) { - # Check whether the OS minor build version is 521 minimum + # Check whether the OS minor build version is 1335 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR) @@ -175,11 +174,21 @@ function Checks exit } - # Check whether the OS was destroyed by Sycnex's Windows10Debloater script + # Check whether Windows was destroyed by Windows10Debloater # https://github.com/Sycnex/Windows10Debloater if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) { - Write-Warning -Message $Localization.Windows10DebloaterWarning + Write-Warning -Message $Localization.SycnexWarning + Start-Process -FilePath "https://t.me/sophia_chat" + exit + } + + # Check whether Windows was destroyed by Win10BloatRemover + # https://github.com/Fs00/Win10BloatRemover + if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) + { + Write-Warning -Message $Localization.Fs00Warning + Start-Process -FilePath "https://t.me/sophia_chat" exit } @@ -307,8 +316,7 @@ function Checks $Localization.WindowsBroken exit } - [array]$notRunning = $Services | Where-Object -FilterScript {$_.Status -ne "running"} - $Script:DefenderServices = $notRunning.Count -eq 0 + $Script:DefenderServices = ($Services | Where-Object -FilterScript {$_.Status -ne "running"} | Measure-Object).Count -lt $Services.Count # Specifies whether Antispyware protection is enabled if ((Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/microsoft/windows/defender).AntispywareEnabled) @@ -3687,6 +3695,68 @@ public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint } [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) } + +<# + .SYNOPSIS + Files and folders grouping + + .PARAMETER None + Do not group files and folder + + .PARAMETER Default + Group files and folder by date modified (default value) + + .EXAMPLE + FolderGroupBy -None + + .EXAMPLE + FolderGroupBy -Default + + .NOTES + Current user +#> +function FolderGroupBy +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "None" + )] + [switch] + $None, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "None" + { + # Clear any Common Dialog views + Get-ChildItem -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\*\Shell" -Recurse | Where-Object -FilterScript {$_.PSChildName -eq "{885A186E-A440-4ADA-812B-DB871B942259}"} | Remove-Item -Force + + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}")) + { + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force + } + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name ColumnList -PropertyType String -Value "prop:0(34)System.ItemNameDisplay;0System.DateModified;0System.ItemTypeText;0System.Size;1System.DateCreated;1System.Author;1System.Category;1System.Keywords;1System.Title" -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name LogicalViewMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Name -PropertyType String -Value NoName -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Order -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name SortByList -PropertyType String -Value "prop:System.ItemNameDisplay" -Force + } + "Default" + { + Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore + } + } +} #endregion UI & Personalization #region OneDrive @@ -8614,10 +8684,10 @@ function InstallVCRedist <# .SYNOPSIS - Install the latest .NET Desktop Runtime 7 (x86/x64) + Install the latest .NET Desktop Runtime 6, 7 (x86/x64) .EXAMPLE - InstallDotNetRuntime7 + InstallDotNetRuntimes .LINK https://dotnet.microsoft.com/en-us/download/dotnet @@ -8625,7 +8695,7 @@ function InstallVCRedist .NOTES Machine-wide #> -function InstallDotNetRuntime7 +function InstallDotNetRuntimes { try { @@ -8643,13 +8713,58 @@ function InstallDotNetRuntime7 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 6 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements + + # .NET Desktop Runtime 7 x86 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements } else { + # Install .NET Desktop Runtime 6 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + + # .NET Desktop Runtime 6 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 6 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + + # .NET Desktop Runtime 7 # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json $Parameters = @{ Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" @@ -8658,7 +8773,7 @@ function InstallDotNetRuntime7 $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 7 x86 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" @@ -8669,7 +8784,7 @@ function InstallDotNetRuntime7 Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" @@ -8684,7 +8799,7 @@ function InstallDotNetRuntime7 $Paths = @( "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" + "$env:TEMP\Microsoft_.NET_Runtime*.log" ) Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore } diff --git a/src/Sophia_Script_for_Windows_11/Sophia.ps1 b/src/Sophia_Script_for_Windows_11/Sophia.ps1 index e20d3e90..e7e760c2 100644 --- a/src/Sophia_Script_for_Windows_11/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11/Sophia.ps1 @@ -27,7 +27,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2 - Builds: 22000.739+, 22621+ + Builds: 22000.1335+, 22621+ Editions: Home/Pro/Enterprise .NOTES @@ -506,6 +506,14 @@ Cursors -Dark # Set default cursors (default value) # Установить курсоры по умолчанию (значение по умолчанию) # Cursors -Default + +# Do not group files and folder +# Не группировать файлы и папки +# FolderGroupBy -None + +# Group files and folder by date modified (default value) +# Группировать файлы и папки по дате изменения (значение по умолчанию) +# FolderGroupBy -Default #endregion UI & Personalization #region OneDrive @@ -899,7 +907,7 @@ InstallVCRedist https://dotnet.microsoft.com/en-us/download/dotnet #> -InstallDotNetRuntime7 +InstallDotNetRuntimes # Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only # Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 index 89932fd3..d201bcc6 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Das Skript unterstützt Windows 11 2004/20H2/21H1-Versionen und höher -UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.739, 22621 und höher +UpdateWarning = Ihr Windows 11-Build: {0}.{1}. Unterstützter Builds: 22000.1335, 22621 und höher UnsupportedLanguageMode = Die PowerShell-Sitzung wird in einem eingeschränkten Sprachmodus ausgeführt LoggedInUserNotAdmin = Der angemeldete Benutzer hat keine Administratorrechte UnsupportedPowerShell = Sie versuchen ein Skript über PowerShell {0}.{1} auszuführen. Das Skript in der entsprechenden PowerShell-Version ausführen UnsupportedISE = Das Skript unterstützt nicht die Ausführung über Windows PowerShell ISE Win10TweakerWarning = Wahrscheinlich wurde Ihr Betriebssystem über die Win 10 Tweaker-Hintertür infiziert -Windows10DebloaterWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater PowerShell-Skripts von Sycnex beeinträchtigt worden sein. Installieren Sie vorsorglich das gesamte Betriebssystem neu +SycnexWarning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des Windows10Debloater-Skripts beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. +Fs00Warning = Die Stabilität des Windows-Betriebssystems kann durch die Verwendung des "Windows 10 Bloat Remover and Tweaker" beeinträchtigt worden sein. Installieren Sie Windows zur Vorbeugung neu. bin = Im Ordner "bin" befinden sich keine Dateien. Bitte das Archiv erneut herunterladen RebootPending = Der PC wartet darauf, neu gestartet zu werden UnsupportedRelease = Neue Version gefunden diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 index c3d9fb47..aa657d48 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = The script supports Windows 11 21H2 version and higher -UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.739, 22621 and higher +UpdateWarning = Your Windows 11 build: {0}.{1}. Supported builds: 22000.1335, 22621 and higher UnsupportedLanguageMode = The PowerShell session in running in a limited language mode LoggedInUserNotAdmin = The logged-on user doesn't have admin rights UnsupportedPowerShell = You're trying to run script via PowerShell {0}.{1}. Run the script in the appropriate PowerShell version UnsupportedISE = The script doesn't support running via Windows PowerShell ISE Win10TweakerWarning = Probably your OS was infected via the Win 10 Tweaker backdoor -Windows10DebloaterWarning = The Windows stability may have been compromised by using Sycnex's Windows10Debloater PowerShell script. Preventively, reinstall the entire OS +SycnexWarning = The Windows stability may have been compromised by using Windows10Debloater script. Preventively, reinstall Windows +Fs00Warning = The Windows stability may have been compromised by using "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = There are no files in the bin folder. Please, re-download the archive RebootPending = The PC is waiting to be restarted UnsupportedRelease = A new version found diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 index 3bf4e1f4..e09596c6 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = El script es compatible con versión Windows 11 21H2 y superiores -UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.739, 22621 y superiores +UpdateWarning = Su build de Windows 11: {0}.{1}. Compilaciones compatibles: 22000.1335, 22621 y superiores UnsupportedLanguageMode = Sesión de PowerShell ejecutada en modo de lenguaje limitado LoggedInUserNotAdmin = El usuario que inició sesión no tiene derechos de administrador UnsupportedPowerShell = Estás intentando ejecutar el script a través de PowerShell {0}.{1}. Ejecute el script en la versión apropiada de PowerShell UnsupportedISE = El script no es compatible con la ejecución a través de Windows PowerShell ISE Win10TweakerWarning = Probablemente su sistema operativo fue infectado a través del backdoor Win 10 Tweaker -Windows10DebloaterWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale todo el sistema operativo +SycnexWarning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el script PowerShell Windows10Debloater de Sycnex. De forma preventiva, reinstale Windows +Fs00Warning = La estabilidad del sistema operativo Windows puede haberse visto comprometida al utilizar el "Windows 10 Bloat Remover and Tweaker". De forma preventiva, reinstale Windows bin = No hay archivos en la carpeta bin. Por favor, vuelva a descargar el archivo RebootPending = El PC está esperando a ser reiniciado UnsupportedRelease = Una nueva versión encontrada diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index 52768da1..e9a65f7e 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Le script supporte les versions Windows 11 21H2 et ultérieures -UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.739, 22621 et ultérieures +UpdateWarning = Votre version de Windows 11 : {0}.{1}. Versions prises en charge: 22000.1335, 22621 et ultérieures UnsupportedLanguageMode = La session PowerShell s'exécute dans un mode de langue limité LoggedInUserNotAdmin = L'utilisateur connecté n'a pas de droits d'administrateur UnsupportedPowerShell = Vous essayez d'exécuter le script via PowerShell {0}.{1}. Exécutez le script dans la version appropriée de PowerShell UnsupportedISE = Le script ne supporte pas l'exécution via Windows PowerShell ISE Win10TweakerWarning = Votre système d'exploitation a probablement été infecté par la porte dérobée Win 10 Tweaker -Windows10DebloaterWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez l'ensemble de l'OS +SycnexWarning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du script PowerShell Windows10Debloater de Sycnex. De manière préventive, réinstallez Windows +Fs00Warning = La stabilité de l'OS Windows peut avoir été compromise par l'utilisation du "Windows 10 Bloat Remover and Tweaker". De manière préventive, réinstallez Windows bin = Il n'y a pas de fichiers dans le dossier bin. Veuillez retélécharger l'archive RebootPending = Le PC attend d'être redémarré UnsupportedRelease = Nouvelle version trouvée diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index f6d3c205..e572f02c 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = A szkript a Windows 11 21H2 és újabb kiadásokat támogatja -UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.739, 22621 és magasabb verziószámok +UpdateWarning = Az Ön Windows 11 építése: {0}.{1}. Támogatott buildek: 22000.1335, 22621 és magasabb verziószámok UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal UnsupportedPowerShell = A PowerShell {0}.{1} segítségével próbálja futtatni a szkriptet. Futtassa a szkriptet a megfelelő PowerShell-verzióban UnsupportedISE = A szkript nem támogatja a Windows PowerShell ISE futtatását Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg -Windows10DebloaterWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a teljes operációs rendszert +SycnexWarning = A Windows operációs rendszer stabilitását veszélyeztethette a Sycnex Windows10Debloater PowerShell szkriptje. Megelőzésképpen telepítse újra a Windows +Fs00Warning = A Windows operációs rendszer stabilitását veszélyeztethette a "Windows 10 Bloat Remover and Tweaker". Preventively, reinstall Windows bin = A bin mappában nincsenek fájlok. Kérjük, töltse le újra az archívumot RebootPending = A számítógép újraindításra vár UnsupportedRelease = Új verzió érhető el diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 index 9f6255d9..880ae08e 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Lo script supporta Windows 11 21H2 e versioni successive -UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.739, 22621 e successive +UpdateWarning = La tua build di Windows 11 {0}.{1} non è supportata. Build supportate: 22000.1335, 22621 e successive UnsupportedLanguageMode = La sessione PowerShell è in esecuzione in modalità lingua limitata LoggedInUserNotAdmin = L'utente in suo non ha i diritti di amministratore UnsupportedPowerShell = Stai cercando di eseguire lo script tramite PowerShell {0}.{1}. Esegui lo script nella versione di PowerShell appropriata UnsupportedISE = Lo script non supporta l'esecuzione tramite Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite una backdoor in Win 10 Tweaker -Windows10DebloaterWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il sistema operativo +SycnexWarning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello script PowerShell Windows10Debloater di Sycnex. È consigliato reinstallare il Windows +Fs00Warning = La stabilità del sistema operativo Windows potrebbe essere stata compromessa dall'utilizzo dello "Windows 10 Bloat Remover and Tweaker". È consigliato reinstallare il Windows bin = Non ci sono file nella cartella bin. Per favore, scarica di nuovo l'archivio RebootPending = Il PC è in attesa di essere riavviato UnsupportedRelease = Nuova versione trovata diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 index 32dedb25..1442608a 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pl-PL/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Skrypt obsługuje tylko system Windows 11 21H2 version and higher -UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.739, 22621 i nowsze +UpdateWarning = Twoja wersja systemu Windows 11: {0}.{1}. Obsługiwane kompilacje: 22000.1335, 22621 i nowsze UnsupportedLanguageMode = Sesja PowerShell działa w trybie ograniczonego języka LoggedInUserNotAdmin = Zalogowany użytkownik nie posiada uprawnień administratora UnsupportedPowerShell = Próbujesz uruchomić skrypt przy użyciu PowerShell {0}.{1}. Uruchom skrypt używając odpowiedniej wersji PowerShell UnsupportedISE = Skrypt nie może być uruchamiany w Windows PowerShell ISE Win10TweakerWarning = Prawdopodobnie twój system operacyjny został zainfekowany przez backdoora pochodzącego z Win 10 Tweaker -Windows10DebloaterWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie system operacyjny +SycnexWarning = Stabilność systemu Windows mogła zostać naruszona przez użycie skryptu Windows10Debloater od Sycnex. Zapobiegawczo zainstaluj ponownie Windows +Fs00Warning = Stabilność systemu Windows mogła zostać naruszona przez użycie "Windows 10 Bloat Remover and Tweaker". Zapobiegawczo zainstaluj ponownie Windows bin = W folderze bin nie ma żadnych plików. Proszę pobrać archiwum ponownie RebootPending = Komputer oczekuje na ponowne uruchomienie UnsupportedRelease = Znaleziono nową wersję diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index c499a39e..2ef6cbaa 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = O script suporta versões Windows 11 21H2 e superior -UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.739, 22621 e successive +UpdateWarning = La tua build di Windows 11: {0}.{1}. Build suportadas: 22000.1335, 22621 e successive UnsupportedLanguageMode = A sessão PowerShell em funcionamento em um modo de linguagem limitada LoggedInUserNotAdmin = O usuário logado não tem direitos de administrador UnsupportedPowerShell = Você está tentando executar o script via PowerShell {0}.{1}. Execute o script na versão apropriada do PowerShell UnsupportedISE = O guião não suporta a execução através do Windows PowerShell ISE Win10TweakerWarning = Probabilmente il tuo sistema operativo è stato infettato tramite la backdoor Win 10 Tweaker -Windows10DebloaterWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o sistema operacional +SycnexWarning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do script Windows10Debloater PowerShell da Sycnex. Preventivamente, reinstale todo o Windows +Fs00Warning = A estabilidade do sistema operacional Windows pode ter sido comprometida pela utilização do "Windows 10 Bloat Remover and Tweaker". Preventivamente, reinstale todo o Windows bin = Não existem ficheiros na pasta bin. Por favor, volte a descarregar o arquivo RebootPending = O PC está esperando para ser reiniciado UnsupportedRelease = Nova versão encontrada @@ -49,7 +50,7 @@ RestartWarning = Certifique-se de reiniciar o PC ErrorsLine = Linha ErrorsFile = Arquivo ErrorsMessage = Erros/Avisos -Add = Adicionar +Add = Adicionar AllFilesFilter = Todos os arquivos (*.*)|*.* Browse = Procurar DialogBoxOpening = Exibindo a caixa de diálogo... @@ -59,7 +60,7 @@ EXEFilesFilter = *.exe|*.exe| Todos os arquivos (*.*) FolderSelect = Escolha uma pasta FilesWontBeMoved = Os arquivos não serão transferidos Install = Instalar -NoData = Nada à exibir +NoData = Nada à exibir NoInternetConnection = Sem conexão à Internet RestartFunction = Favor reiniciar a função "{0}" NoResponse = Uma conexão não pôde ser estabelecida com {0} diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index b064a6f4..aa4b841c 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт поддерживает только Windows 11 21H2 и выше -UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.739, 22621 и выше +UpdateWarning = Ваш билд Windows 11: {0}.{1}. Поддерживаемые сборки: 22000.1335, 22621 и выше UnsupportedLanguageMode = Сессия PowerShell работает в ограниченном режиме LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном. Подробнее: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабильность Вашей ОС могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +SycnexWarning = Стабильность Windows могла быть нарушена использованием скрипта Windows10Debloater от Sycnex. В целях профилактики переустановите ОС +Fs00Warning = Стабильность Windows могла быть нарушена использованием "Windows 10 Bloat Remover and Tweaker". В целях профилактики переустановите ОС bin = В папке bin отсутствутствуют файлы. Пожалуйста, перекачайте архив RebootPending = Компьютер ожидает перезагрузки UnsupportedRelease = Обнаружена новая версия diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index 426ab9a6..ce81d9a7 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Bu betik sadece Windows 11 21H2 sürüm ve üstünü destekliyor -UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.739, 22621 ve üstünü destekliyor +UpdateWarning = Windows 11 yapınız: {0}.{1}. Desteklenen yapılar: 22000.1335, 22621 ve üstünü destekliyor UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok UnsupportedPowerShell = Komut dosyasını PowerShell {0}.{1} aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın UnsupportedISE = Komut dosyası, Windows PowerShell ISE üzerinden çalıştırmayı desteklemiyor Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı -Windows10DebloaterWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, tüm işletim sistemini yeniden yükleyin +SycnexWarning = Windows işletim sistemi kararlılığı, Sycnex'in Windows10Debloater PowerShell betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin +Fs00Warning = Windows işletim sistemi kararlılığı, "Windows 10 Bloat Remover and Tweaker" betiği kullanılarak tehlikeye atılmış olabilir. Önleyici olarak, Windows'u yeniden yükleyin bin = bin klasöründe dosya yok. Lütfen arşivi yeniden indirin RebootPending = PC yeniden başlatılmayı bekliyor UnsupportedRelease = Yeni sürüm bulundu diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index 03eb4aed..a502d12b 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = Скрипт підтримує тільки Windows 11 21H2 та вище -UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.739, 22621 та вище +UpdateWarning = Ваш білд Windows 11: {0}.{1}. Підтримувані збірки: 22000.1335, 22621 та вище UnsupportedLanguageMode = Сесія PowerShell працює в обмеженому режимі LoggedInUserNotAdmin = Поточний користувач, що увійшов, не має прав адміністратора UnsupportedPowerShell = Ви намагаєтеся запустити скрипт в PowerShell {0}.{1}. Запустіть скрипт у відповідній версії PowerShell UnsupportedISE = Скрипт не підтримує роботу через Windows PowerShell ISE Win10TweakerWarning = Ваша ОС, можливо, через бекдор в Win 10 Tweaker інфікована трояном. Детальніше: https://itnan.ru/post.php?c=1&p=557388 -Windows10DebloaterWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть ОС +SycnexWarning = Стабільність вашої ОС могла бути порушена використанням скрипту Windows10Debloater від Sycnex. З метою профілактики перевстановіть Windows +Fs00Warning = Стабільність вашої ОС могла бути порушена використанням "Windows 10 Bloat Remover and Tweaker". З метою профілактики перевстановіть Windows bin = У папці bin відсутні файли. Будь ласка, повторно завантажте архів RebootPending = Комп'ютер очікує на перезавантаження UnsupportedRelease = Виявлено нову версію diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index 943be6e1..bb6ca1e9 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -1,12 +1,13 @@ ConvertFrom-StringData -StringData @' UnsupportedOSBuild = 该脚本支持Windows 11版本21H2和更高版本 -UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.739, 22621和更高版本 +UpdateWarning = 您的Windows 11构建。{0}.{1}。支持的构建: 22000.1335, 22621和更高版本 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 LoggedInUserNotAdmin = 登录的用户没有管理员的权利 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本。在适当的PowerShell版本中运行该脚本 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 Win10TweakerWarning = 可能你的操作系统是通过“Win 10 Tweaker”后门感染的 -Windows10DebloaterWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +SycnexWarning = 使用Sycnex的Windows10Debloater PowerShell脚本,Windows操作系统的稳定性可能已经受到影响。预防性地,重新安装整个操作系统 +Fs00Warning = 使用“Windows 10 Bloat Remover and Tweaker”可能会影响 Windows 稳定性。 预防性地,重新安装 Windows bin = bin文件夹中没有文件。请重新下载该档案 RebootPending = 计算机正在等待重新启动 UnsupportedRelease = 找到新版本 diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 index 35d52fa2..dc8e4247 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 @@ -13,7 +13,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2/23H2+ - Builds: 22000.739+, 22621+ + Builds: 22000.1335+, 22621+ Editions: Home/Pro/Enterprise .LINK GitHub @@ -60,11 +60,10 @@ function Checks { {$_ -eq 22000} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 978) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) { - # Check whether the OS minor build version is 739 minimum + # Check whether the OS minor build version is 1335 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information - # https://support.microsoft.com/en-us/topic/september-13-2022-kb5017328-os-build-22000-978-40843fca-a0be-4a60-b68b-6cb23a73a5aa $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR) @@ -91,9 +90,9 @@ function Checks } {$_ -ge 22621} { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 521) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 1335) { - # Check whether the OS minor build version is 521 minimum + # Check whether the OS minor build version is 1335 minimum # https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information $Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" Write-Warning -Message ($Localization.UpdateWarning -f $Version.CurrentBuild, $Version.UBR) @@ -175,11 +174,21 @@ function Checks exit } - # Check whether the OS was destroyed by Sycnex's Windows10Debloater script + # Check whether Windows was destroyed by Windows10Debloater # https://github.com/Sycnex/Windows10Debloater if (Test-Path -Path $env:SystemDrive\Temp\Windows10Debloater) { - Write-Warning -Message $Localization.Windows10DebloaterWarning + Write-Warning -Message $Localization.SycnexWarning + Start-Process -FilePath "https://t.me/sophia_chat" + exit + } + + # Check whether Windows was destroyed by Win10BloatRemover + # https://github.com/Fs00/Win10BloatRemover + if (Test-Path -Path $env:TEMP\.net\Win10BloatRemover) + { + Write-Warning -Message $Localization.Fs00Warning + Start-Process -FilePath "https://t.me/sophia_chat" exit } @@ -307,8 +316,7 @@ function Checks $Localization.WindowsBroken exit } - [array]$notRunning = $Services | Where-Object -FilterScript {$_.Status -ne "running"} - $Script:DefenderServices = $notRunning.Count -eq 0 + $Script:DefenderServices = ($Services | Where-Object -FilterScript {$_.Status -ne "running"} | Measure-Object).Count -lt $Services.Count # Specifies whether Antispyware protection is enabled if ((Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/microsoft/windows/defender).AntispywareEnabled) @@ -3689,6 +3697,68 @@ public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint } [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) } + +<# + .SYNOPSIS + Files and folders grouping + + .PARAMETER None + Do not group files and folder + + .PARAMETER Default + Group files and folder by date modified (default value) + + .EXAMPLE + FolderGroupBy -None + + .EXAMPLE + FolderGroupBy -Default + + .NOTES + Current user +#> +function FolderGroupBy +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "None" + )] + [switch] + $None, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "None" + { + # Clear any Common Dialog views + Get-ChildItem -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\*\Shell" -Recurse | Where-Object -FilterScript {$_.PSChildName -eq "{885A186E-A440-4ADA-812B-DB871B942259}"} | Remove-Item -Force + + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}")) + { + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force + } + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name ColumnList -PropertyType String -Value "prop:0(34)System.ItemNameDisplay;0System.DateModified;0System.ItemTypeText;0System.Size;1System.DateCreated;1System.Author;1System.Category;1System.Keywords;1System.Title" -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name LogicalViewMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Name -PropertyType String -Value NoName -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name Order -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Name SortByList -PropertyType String -Value "prop:System.ItemNameDisplay" -Force + } + "Default" + { + Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" -Force -ErrorAction Ignore + } + } +} #endregion UI & Personalization #region OneDrive @@ -8622,10 +8692,10 @@ function InstallVCRedist <# .SYNOPSIS - Install the latest .NET Desktop Runtime 7 (x86/x64) + Install the latest .NET Desktop Runtime 6, 7 (x86/x64) .EXAMPLE - InstallDotNetRuntime7 + InstallDotNetRuntimes .LINK https://dotnet.microsoft.com/en-us/download/dotnet @@ -8633,7 +8703,7 @@ function InstallVCRedist .NOTES Machine-wide #> -function InstallDotNetRuntime7 +function InstallDotNetRuntimes { try { @@ -8651,13 +8721,58 @@ function InstallDotNetRuntime7 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 6 x86 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements + # .NET Desktop Runtime 7 x64 + winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements + + # .NET Desktop Runtime 7 x86 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements } else { + # Install .NET Desktop Runtime 6 + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true + } + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + + # .NET Desktop Runtime 6 x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + + # .NET Desktop Runtime 6 x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + + # PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_.NET_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore + + # .NET Desktop Runtime 7 # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json $Parameters = @{ Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/7.0/releases.json" @@ -8666,7 +8781,7 @@ function InstallDotNetRuntime7 $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - # .NET Desktop Runtime x86 + # .NET Desktop Runtime 7 x86 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" @@ -8677,7 +8792,7 @@ function InstallDotNetRuntime7 Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait - # .NET Desktop Runtime x64 + # .NET Desktop Runtime 7 x64 $Parameters = @{ Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" @@ -8692,7 +8807,7 @@ function InstallDotNetRuntime7 $Paths = @( "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" + "$env:TEMP\Microsoft_.NET_Runtime*.log" ) Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore } diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 index 1eccbbf0..776ed233 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 @@ -27,7 +27,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2 - Builds: 22000.739+, 22621+ + Builds: 22000.1335+, 22621+ Editions: Home/Pro/Enterprise .NOTES @@ -515,6 +515,14 @@ Cursors -Dark # Set default cursors (default value) # Установить курсоры по умолчанию (значение по умолчанию) # Cursors -Default + +# Do not group files and folder +# Не группировать файлы и папки +# FolderGroupBy -None + +# Group files and folder by date modified (default value) +# Группировать файлы и папки по дате изменения (значение по умолчанию) +# FolderGroupBy -Default #endregion UI & Personalization #region OneDrive @@ -908,7 +916,7 @@ InstallVCRedist https://dotnet.microsoft.com/en-us/download/dotnet #> -InstallDotNetRuntime7 +InstallDotNetRuntimes # Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only # Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России