Browse Source

05.10.2021 v5.2.15

pull/264/head
Dmitry Nefedov 4 years ago
committed by GitHub
parent
commit
cff2607ee0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Sophia Script/Sophia Script for Windows 10 LTSC/Functions.ps1
  2. 20
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/de-DE/Sophia.psd1
  3. 2
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/en-US/Sophia.psd1
  4. 2
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/es-ES/Sophia.psd1
  5. 2
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/fr-FR/Sophia.psd1
  6. 4
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/hu-HU/Sophia.psd1
  7. 2
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/it-IT/Sophia.psd1
  8. 2
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/pt-BR/Sophia.psd1
  9. 4
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/ru-RU/Sophia.psd1
  10. 4
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/tr-TR/Sophia.psd1
  11. 4
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/uk-UA/Sophia.psd1
  12. 4
      Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/zh-CN/Sophia.psd1
  13. 2
      Sophia Script/Sophia Script for Windows 10 LTSC/Manifest/Sophia.psd1
  14. 200
      Sophia Script/Sophia Script for Windows 10 LTSC/Module/Sophia.psm1
  15. 8
      Sophia Script/Sophia Script for Windows 10 LTSC/Sophia.ps1

6
Sophia Script/Sophia Script for Windows 10 LTSC/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
The TAB completion for functions and their arguments The TAB completion for functions and their arguments
Version: v5.2.13 Version: v5.2.15
Date: 25.08.2021 Date: 05.10.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic Copyright (c) 20192021 farag & Inestic
@ -54,7 +54,7 @@ function Sophia
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.13 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014–2021" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.15 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

20
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/de-DE/Sophia.psd1

@ -13,22 +13,23 @@ ScheduledTasks = Geplante Aufgaben
WindowsFeaturesTitle = Windows Eigenschaften WindowsFeaturesTitle = Windows Eigenschaften
OptionalFeaturesTitle = Optionale Eigenschaften OptionalFeaturesTitle = Optionale Eigenschaften
EnableHardwareVT = Virtualisierung in UEFI aktivieren EnableHardwareVT = Virtualisierung in UEFI aktivieren
UserShellFolderNotEmpty = Einige im Ordner "{0}" verbliebene Dateien \nVerschieben Sie sie manuell an einen neuen Ort UserShellFolderNotEmpty = Im Ordner "{0}" befinden sich noch Dateien \nVerschieben Sie sie manuell an einen neuen Ort
RetrievingDrivesList = Abrufen der Laufwerksliste... RetrievingDrivesList = Abrufen der Laufwerksliste...
DriveSelect = Wählen Sie das Laufwerk, in dessen Stammverzeichnis der "{0}"-Ordner erstellt werden soll DriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner "{0}" erstellt werden soll
UserFolderRequest = Möchten Sie den Speicherort des "{0}"-Ordners ändern? CurrentUserFolderLocation = Der aktuelle Speicherort des Ordners "{0}" lautet: "{1}"
UserFolderRequest = Möchten Sie den Speicherort des Ordners "{0}" ändern?
UserFolderSelect = Wählen Sie einen Ordner für den Ordner "{0}" UserFolderSelect = Wählen Sie einen Ordner für den Ordner "{0}"
UserDefaultFolder = Möchten Sie den Speicherort des "{0}"-Ordners auf den Standardwert ändern? UserDefaultFolder = Möchten Sie den Speicherort des "{0}"-Ordners auf den Standardwert ändern?
GraphicsPerformanceTitle = Bevorzugte Grafikleistung GraphicsPerformanceTitle = Bevorzugte Grafikleistung
GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" setzen? GraphicsPerformanceRequest = Möchten Sie die Einstellung der Grafikleistung einer App Ihrer Wahl auf "Hohe Leistung" setzen?
TaskNotificationTitle = Benachrichtigung TaskNotificationTitle = Benachrichtigung
CleanupTaskNotificationTitle = Wichtige informationen CleanupTaskNotificationTitle = Wichtige informationen
CleanupTaskDescription = Bereinigung ungenutzter Windows-Dateien und -Updates mit der integrierten Festplatten-Bereinigungsanwendung CleanupTaskDescription = Bereinigung ungenutzter Windows-Dateien und -Updates mit der integrierten Datenträgerbereinigung
CleanupTaskNotificationEventTitle = Aufgabe ausführen, um nicht verwendete Windows-Dateien und -Updates zu bereinigen? CleanupTaskNotificationEventTitle = Aufgabe ausführen, um nicht verwendete Windows-Dateien und -Updates zu bereinigen?
CleanupTaskNotificationEvent = Die Windows-Bereinigung dauert nicht lange. Das nächste Mal wird die Benachrichtigung in 30 Tagen angezeigt CleanupTaskNotificationEvent = Die Datenträgerbereinigung dauert nicht lange. Das nächste Mal wird die Benachrichtigung in 30 Tagen angezeigt
CleanupTaskNotificationSnoozeInterval = Wählen Sie ein Erinnerungsintervall CleanupTaskNotificationSnoozeInterval = Wählen Sie einen Erinnerungsintervall
CleanupNotificationTaskDescription = Bereinigung ungenutzter Windows-Dateien und -Updates mit der integrierten Festplatten-Bereinigungsanwendung CleanupNotificationTaskDescription = Bereinigung ungenutzter Windows-Dateien und -Updates mit der integrierten Datenträgerbereinigung
SoftwareDistributionTaskNotificationEvent = Der Windows Update-Cache wurde erfolgreich gelöscht SoftwareDistributionTaskNotificationEvent = Der Cache von Windows Update wurde erfolgreich gelöscht
TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt TempTaskNotificationEvent = Der Ordner mit den temporären Dateien wurde erfolgreich bereinigt
FolderTaskDescription = Die Bereinigung des Ordners "{0}" FolderTaskDescription = Die Bereinigung des Ordners "{0}"
EventViewerCustomViewName = Prozess-Erstellung EventViewerCustomViewName = Prozess-Erstellung
@ -39,7 +40,7 @@ ErrorsFile = Datei
ErrorsMessage = Fehler/Warnungen ErrorsMessage = Fehler/Warnungen
Add = Hinzufügen Add = Hinzufügen
AllFilesFilter = Alle Dateien (*.*)|*.* AllFilesFilter = Alle Dateien (*.*)|*.*
Browse = Durchsuche Browse = Durchsuchen
Change = Ändern Change = Ändern
DialogBoxOpening = Anzeigen des Dialogfensters... DialogBoxOpening = Anzeigen des Dialogfensters...
Disable = Deaktivieren Disable = Deaktivieren
@ -64,6 +65,7 @@ Run = Starten
SelectAll = Wählen Sie Alle SelectAll = Wählen Sie Alle
Skip = Überspringen Skip = Überspringen
Skipped = Übersprungen Skipped = Übersprungen
FileExplorerRestartPrompt = Manchmal muss der Datei-Explorer neu gestartet werden, damit die Änderungen wirksam werden
TelegramGroupTitle = Treten Sie unserer offiziellen Telegram-Gruppe bei TelegramGroupTitle = Treten Sie unserer offiziellen Telegram-Gruppe bei
TelegramChannelTitle = Treten Sie unserem offiziellen Telegram-Kanal bei TelegramChannelTitle = Treten Sie unserem offiziellen Telegram-Kanal bei
Uninstall = Deinstallieren Uninstall = Deinstallieren

2
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/en-US/Sophia.psd1

@ -16,6 +16,7 @@ EnableHardwareVT = Enable Virtualization in UEFI
UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location
RetrievingDrivesList = Retrieving drives list... RetrievingDrivesList = Retrieving drives list...
DriveSelect = Select the drive within the root of which the "{0}" folder will be created DriveSelect = Select the drive within the root of which the "{0}" folder will be created
CurrentUserFolderLocation = The current "{0}" folder location: "{1}"
UserFolderRequest = Would you like to change the location of the "{0}" folder? UserFolderRequest = Would you like to change the location of the "{0}" folder?
UserFolderSelect = Select a folder for the "{0}" folder UserFolderSelect = Select a folder for the "{0}" folder
UserDefaultFolder = Would you like to change the location of the "{0}" folder to the default value? UserDefaultFolder = Would you like to change the location of the "{0}" folder to the default value?
@ -64,6 +65,7 @@ Run = Run
SelectAll = Select all SelectAll = Select all
Skip = Skip Skip = Skip
Skipped = Skipped Skipped = Skipped
FileExplorerRestartPrompt = Sometimes in order for the changes to take effect the File Explorer process has to be restarted
TelegramGroupTitle = Join our official Telegram group TelegramGroupTitle = Join our official Telegram group
TelegramChannelTitle = Join our official Telegram channel TelegramChannelTitle = Join our official Telegram channel
Uninstall = Uninstall Uninstall = Uninstall

2
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/es-ES/Sophia.psd1

@ -16,6 +16,7 @@ EnableHardwareVT = Habilitar la virtualización en UEFI
UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación UserShellFolderNotEmpty = Algunos archivos quedan en la carpeta "{0}". Moverlos manualmente a una nueva ubicación
RetrievingDrivesList = Recuperando lista de unidades... RetrievingDrivesList = Recuperando lista de unidades...
DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creó la carpeta "{0}" DriveSelect = Seleccione la unidad dentro de la raíz de la cual se creó la carpeta "{0}"
CurrentUserFolderLocation = La ubicación actual de la carpeta "{0}": "{1}"
UserFolderRequest = ¿Le gustaría cambiar la ubicación de la "{0}" carpeta? UserFolderRequest = ¿Le gustaría cambiar la ubicación de la "{0}" carpeta?
UserFolderSelect = Seleccione una carpeta para la carpeta "{0}" UserFolderSelect = Seleccione una carpeta para la carpeta "{0}"
UserDefaultFolder = ¿Le gustaría cambiar la ubicación de la carpeta "{0}" para el valor por defecto? UserDefaultFolder = ¿Le gustaría cambiar la ubicación de la carpeta "{0}" para el valor por defecto?
@ -64,6 +65,7 @@ Run = Iniciar
SelectAll = Seleccionar todo SelectAll = Seleccionar todo
Skip = Omitir Skip = Omitir
Skipped = Omitido Skipped = Omitido
FileExplorerRestartPrompt = A veces, para que los cambios surtan efecto, hay que reiniciar el proceso del Explorador de archivos
TelegramGroupTitle = Únete a nuestro grupo oficial de Telegram TelegramGroupTitle = Únete a nuestro grupo oficial de Telegram
TelegramChannelTitle = Únete a nuestro canal oficial de Telegram TelegramChannelTitle = Únete a nuestro canal oficial de Telegram
Uninstall = Desinstalar Uninstall = Desinstalar

2
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/fr-FR/Sophia.psd1

@ -16,6 +16,7 @@ EnableHardwareVT = Activer la virtualisation dans UEFI
UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}". Déplacer les manuellement vers un nouvel emplacement UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}". Déplacer les manuellement vers un nouvel emplacement
RetrievingDrivesList = Récupération de la liste des lecteurs... RetrievingDrivesList = Récupération de la liste des lecteurs...
DriveSelect = Sélectionnez le disque à la racine dans lequel le dossier "{0}" sera créé. DriveSelect = Sélectionnez le disque à la racine dans lequel le dossier "{0}" sera créé.
CurrentUserFolderLocation = L'emplacement actuel du dossier "{0}": "{1}"
UserFolderRequest = Voulez vous changer est placé le dossier "{0}" ? UserFolderRequest = Voulez vous changer est placé le dossier "{0}" ?
UserFolderSelect = Sélectionnez un dossier pour le dossier "{0}" UserFolderSelect = Sélectionnez un dossier pour le dossier "{0}"
UserDefaultFolder = Voulez vous changer est placé le dossier "{0}" à sa valeur par défaut? UserDefaultFolder = Voulez vous changer est placé le dossier "{0}" à sa valeur par défaut?
@ -64,6 +65,7 @@ Run = Démarrer
SelectAll = Tout sélectionner SelectAll = Tout sélectionner
Skip = Passer Skip = Passer
Skipped = Passé Skipped = Passé
FileExplorerRestartPrompt = Parfois, pour que les modifications soient prises en compte, il faut redémarrer l'Explorateur de fichiers
TelegramGroupTitle = Rejoignez notre groupe Telegram officiel TelegramGroupTitle = Rejoignez notre groupe Telegram officiel
TelegramChannelTitle = Rejoignez notre canal Telegram officiel TelegramChannelTitle = Rejoignez notre canal Telegram officiel
Uninstall = Désinstaller Uninstall = Désinstaller

4
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/hu-HU/Sophia.psd1

@ -3,7 +3,7 @@ UnsupportedOSBitness = A szkript csak a Windows 10 64 bites
UnsupportedOSBuild = A szkript támogatja a Windows 10 1809 Enterprise LTSC kiadást UnsupportedOSBuild = A szkript támogatja a Windows 10 1809 Enterprise LTSC kiadást
UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut UnsupportedLanguageMode = A PowerShell munkamenet korlátozott nyelvi üzemmódban fut
LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal LoggedInUserNotAdmin = A bejelentkezett felhasználó nem rendelkezik admin jogokkal
UnsupportedPowerShell = A szkriptet a PowerShell 7 segítségével próbálja futtatni. Futtassa a szkriptet a megfelelő PowerShell verzióban 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 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 Win10TweakerWarning = Valószínűleg az operációs rendszerét a Win 10 Tweaker backdoor segítségével fertőzték meg
UnsupportedRelease = Új verzió érhető el UnsupportedRelease = Új verzió érhető el
@ -16,6 +16,7 @@ EnableHardwareVT = Virtualizáció engedélyezése UEFI
UserShellFolderNotEmpty = Néhány fájl maradt a "{0}" könyvtárban. Kérem helyezze át ezeket egy új helyre UserShellFolderNotEmpty = Néhány fájl maradt a "{0}" könyvtárban. Kérem helyezze át ezeket egy új helyre
RetrievingDrivesList = A meghajtók listájának lekérése... RetrievingDrivesList = A meghajtók listájának lekérése...
DriveSelect = Válassza ki a meghajtó jelét a gyökérkönyvtárban ahol a "{0}" könyvtár létre lesz hozva DriveSelect = Válassza ki a meghajtó jelét a gyökérkönyvtárban ahol a "{0}" könyvtár létre lesz hozva
CurrentUserFolderLocation = Az aktuális "{0}" mappa helye: "{1}"
UserFolderRequest = Kívánja megváltoztatni a "{0}" könyvtár helyét? UserFolderRequest = Kívánja megváltoztatni a "{0}" könyvtár helyét?
UserFolderSelect = Válasszon ki egy könyvtárat a "{0}" könyvtárhoz UserFolderSelect = Válasszon ki egy könyvtárat a "{0}" könyvtárhoz
UserDefaultFolder = Szeretné visszaállítani a "{0}" könyvtár helyét a gyári értékekre? UserDefaultFolder = Szeretné visszaállítani a "{0}" könyvtár helyét a gyári értékekre?
@ -64,6 +65,7 @@ Run = Futtatás
SelectAll = Összes kijelölése SelectAll = Összes kijelölése
Skip = Átugrás Skip = Átugrás
Skipped = Átugorva Skipped = Átugorva
FileExplorerRestartPrompt = Néha ahhoz, hogy a módosítások hatályba lépjenek, a File Explorer folyamatot újra kell indítani
TelegramGroupTitle = Pridružite se našoj službenoj grupi Telegram TelegramGroupTitle = Pridružite se našoj službenoj grupi Telegram
TelegramChannelTitle = Pridružite se našem službenom kanalu Telegram TelegramChannelTitle = Pridružite se našem službenom kanalu Telegram
Uninstall = Eltávolít Uninstall = Eltávolít

2
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/it-IT/Sophia.psd1

@ -16,6 +16,7 @@ EnableHardwareVT = Abilita virtualizzazione in UEFI
UserShellFolderNotEmpty = Alcuni file lasciati nella cartella "{0}". li spostare manualmente in una nuova posizione UserShellFolderNotEmpty = Alcuni file lasciati nella cartella "{0}". li spostare manualmente in una nuova posizione
RetrievingDrivesList = Recupero lista unità... RetrievingDrivesList = Recupero lista unità...
DriveSelect = Selezionare l'unità all'interno della radice del quale verrà creato il "{0}" cartella DriveSelect = Selezionare l'unità all'interno della radice del quale verrà creato il "{0}" cartella
CurrentUserFolderLocation = La posizione attuale della cartella "{0}": "{1}"
UserFolderRequest = Volete cambiare la posizione del "{0}" cartella? UserFolderRequest = Volete cambiare la posizione del "{0}" cartella?
UserFolderSelect = Selezionare una cartella per la cartella "{0}" UserFolderSelect = Selezionare una cartella per la cartella "{0}"
UserDefaultFolder = Volete cambiare la posizione della cartella "{0}" al valore di default? UserDefaultFolder = Volete cambiare la posizione della cartella "{0}" al valore di default?
@ -64,6 +65,7 @@ Run = Eseguire
SelectAll = Seleziona tutto SelectAll = Seleziona tutto
Skip = Salta Skip = Salta
Skipped = Saltato Skipped = Saltato
FileExplorerRestartPrompt = A volte, affinché le modifiche abbiano effetto, il processo di File Explorer deve essere riavviato
TelegramGroupTitle = Unisciti al nostro gruppo ufficiale Telegram TelegramGroupTitle = Unisciti al nostro gruppo ufficiale Telegram
TelegramChannelTitle = Unisciti al nostro canale ufficiale di Telegram TelegramChannelTitle = Unisciti al nostro canale ufficiale di Telegram
Uninstall = Disinstallare Uninstall = Disinstallare

2
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/pt-BR/Sophia.psd1

@ -16,6 +16,7 @@ EnableHardwareVT = Habilitar virtualização em UEFI
UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local UserShellFolderNotEmpty = Alguns arquivos deixados na pasta "{0}". Movê-los manualmente para um novo local
RetrievingDrivesList = Recuperando lista de unidades... RetrievingDrivesList = Recuperando lista de unidades...
DriveSelect = Selecione a unidade dentro da raiz da qual a pasta "{0}" será criada DriveSelect = Selecione a unidade dentro da raiz da qual a pasta "{0}" será criada
CurrentUserFolderLocation = A localização actual da pasta "{0}": "{1}"
UserFolderRequest = Gostaria de alterar a localização da pasta "{0}"? UserFolderRequest = Gostaria de alterar a localização da pasta "{0}"?
UserFolderSelect = Selecione uma pasta para a pasta "{0}" UserFolderSelect = Selecione uma pasta para a pasta "{0}"
UserDefaultFolder = Gostaria de alterar a localização da pasta "{0}" para o valor padrão? UserDefaultFolder = Gostaria de alterar a localização da pasta "{0}" para o valor padrão?
@ -64,6 +65,7 @@ Run = Executar
SelectAll = Selecionar tudo SelectAll = Selecionar tudo
Skip = Pular Skip = Pular
Skipped = Ignorados Skipped = Ignorados
FileExplorerRestartPrompt = Por vezes, para que as alterações tenham efeito, o processo File Explorer tem de ser reiniciado
TelegramGroupTitle = Entre no grupo oficial do Telegram TelegramGroupTitle = Entre no grupo oficial do Telegram
TelegramChannelTitle = Entre no canal oficial do Telegram TelegramChannelTitle = Entre no canal oficial do Telegram
Uninstall = Desinstalar Uninstall = Desinstalar

4
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/ru-RU/Sophia.psd1

@ -5,7 +5,7 @@ UnsupportedLanguageMode = Сессия PowerShell работа
LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора LoggedInUserNotAdmin = Текущий вошедший пользователь не обладает правами администратора
UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell UnsupportedPowerShell = Вы пытаетесь запустить скрипт в PowerShell {0}.{1}. Запустите скрипт в соответствующей версии PowerShell
UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE UnsupportedISE = Скрипт не поддерживает работу через Windows PowerShell ISE
Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker заражена трояном Win10TweakerWarning = Ваша ОС, возможно, через бэкдор в Win 10 Tweaker была заражена трояном
UnsupportedRelease = Обнаружена новая версия UnsupportedRelease = Обнаружена новая версия
CustomizationWarning = \nВы настроили все функции в пресет-файле Sophia.ps1 перед запуском Sophia Script? CustomizationWarning = \nВы настроили все функции в пресет-файле Sophia.ps1 перед запуском Sophia Script?
ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен
@ -16,6 +16,7 @@ EnableHardwareVT = Включите виртуализ
UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение
RetrievingDrivesList = Получение списка дисков... RetrievingDrivesList = Получение списка дисков...
DriveSelect = Выберите диск, в корне которого будет создана папка "{0}" DriveSelect = Выберите диск, в корне которого будет создана папка "{0}"
CurrentUserFolderLocation = Текущее расположение папки "{0}": "{1}"
UserFolderRequest = Хотите изменить расположение папки "{0}"? UserFolderRequest = Хотите изменить расположение папки "{0}"?
UserFolderSelect = Выберите папку для "{0}" UserFolderSelect = Выберите папку для "{0}"
UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию? UserDefaultFolder = Хотите изменить расположение папки "{0}" на значение по умолчанию?
@ -64,6 +65,7 @@ Run = Запустить
SelectAll = Выбрать всё SelectAll = Выбрать всё
Skip = Пропустить Skip = Пропустить
Skipped = Пропущено Skipped = Пропущено
FileExplorerRestartPrompt = Иногда для того, чтобы изменения вступили в силу, процесс проводника необходимо перезапустить
TelegramGroupTitle = Присоединяйтесь к нашей официальной группе в Telegram TelegramGroupTitle = Присоединяйтесь к нашей официальной группе в Telegram
TelegramChannelTitle = Присоединяйтесь к нашему официальному каналу в Telegram TelegramChannelTitle = Присоединяйтесь к нашему официальному каналу в Telegram
Uninstall = Удалить Uninstall = Удалить

4
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/tr-TR/Sophia.psd1

@ -3,7 +3,7 @@ UnsupportedOSBitness = Bu betik sadece Windows 10 x64 deste
UnsupportedOSBuild = Bu betik sadece Windows 10 1809 Enterprise LTSC UnsupportedOSBuild = Bu betik sadece Windows 10 1809 Enterprise LTSC
UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu UnsupportedLanguageMode = Sınırlı bir dil modunda çalışan PowerShell oturumu
LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok LoggedInUserNotAdmin = Oturum açan kullanıcının yönetici hakları yok
UnsupportedPowerShell = Komut dosyasını PowerShell 7 aracılığıyla çalıştırmaya çalışıyorsunuz. Komut dosyasını uygun PowerShell sürümünde çalıştırın. 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 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ı Win10TweakerWarning = Muhtemelen işletim sisteminize Win 10 Tweaker arka kapısı yoluyla bulaştı
UnsupportedRelease = Yeni sürüm bulundu UnsupportedRelease = Yeni sürüm bulundu
@ -16,6 +16,7 @@ EnableHardwareVT = UEFI'dan sanallaştırmayı aktifle
UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. \nKendiniz yeni konuma taşıyın
RetrievingDrivesList = Sürücü listesi alınıyor... RetrievingDrivesList = Sürücü listesi alınıyor...
DriveSelect = "{0}" klasörünün oluşturulacağı kök içindeki sürücüyü seçin DriveSelect = "{0}" klasörünün oluşturulacağı kök içindeki sürücüyü seçin
CurrentUserFolderLocation = Geçerli "{0}" klasör konumu: "{1}"
UserFolderRequest = "{0}" klasörünün yerini değiştirmek ister misiniz? UserFolderRequest = "{0}" klasörünün yerini değiştirmek ister misiniz?
UserFolderSelect = "{0}" klasörü için bir klasör seçin UserFolderSelect = "{0}" klasörü için bir klasör seçin
UserDefaultFolder = "{0}" klasörünün konumunu varsayılan değerle değiştirmek ister misiniz? UserDefaultFolder = "{0}" klasörünün konumunu varsayılan değerle değiştirmek ister misiniz?
@ -64,6 +65,7 @@ Run = Başlat
SelectAll = Hepsini seç SelectAll = Hepsini seç
Skip = Atla Skip = Atla
Skipped = Atlandı Skipped = Atlandı
FileExplorerRestartPrompt = Bazen değişikliklerin geçerli olması için Dosya Gezgini işleminin yeniden başlatılması gerekir
TelegramGroupTitle = Resmi Telegram grubumuza katılın TelegramGroupTitle = Resmi Telegram grubumuza katılın
TelegramChannelTitle = Resmi Telegram kanalımıza katılın TelegramChannelTitle = Resmi Telegram kanalımıza katılın
Uninstall = Kaldır Uninstall = Kaldır

4
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/uk-UA/Sophia.psd1

@ -16,6 +16,7 @@ EnableHardwareVT = Увімкніть віртуалі
UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування
RetrievingDrivesList = Отримання списку дисків... RetrievingDrivesList = Отримання списку дисків...
DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}" DriveSelect = Виберіть диск, в корні якого буде створена папка для "{0}"
CurrentUserFolderLocation = Текуще розташування папок "{0}": "{1}"
UserFolderRequest = Хочете змінити розташування папки "{0}"? UserFolderRequest = Хочете змінити розташування папки "{0}"?
UserFolderSelect = Виберіть папку для "{0}" UserFolderSelect = Виберіть папку для "{0}"
UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням? UserDefaultFolder = Хочете змінити розташування папки "{0}" на значення за замовчуванням?
@ -64,7 +65,8 @@ Run = Запустити
SelectAll = Вибрати все SelectAll = Вибрати все
Skip = Пропустити Skip = Пропустити
Skipped = Пропущено Skipped = Пропущено
TelegramGroupTitle = Приєднуйтесь до нашої офіційної групи Telegram FileExplorerRestartPrompt = Іноді для того, щоб зміни вступили в силу, процес провідника необхідно перезапустити
TelegramGroupTitle = Приєднуйтесь до нашої офіційної групи в Telegram
TelegramChannelTitle = Приєднуйтесь до нашого офіційного каналу в Telegram TelegramChannelTitle = Приєднуйтесь до нашого офіційного каналу в Telegram
Uninstall = Видалити Uninstall = Видалити
'@ '@

4
Sophia Script/Sophia Script for Windows 10 LTSC/Localizations/zh-CN/Sophia.psd1

@ -3,7 +3,7 @@ UnsupportedOSBitness = 该脚本仅支持Windows 10 x64
UnsupportedOSBuild = 该脚本支持Windows 10版本1809 Enterprise LTSC UnsupportedOSBuild = 该脚本支持Windows 10版本1809 Enterprise LTSC
UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行 UnsupportedLanguageMode = PowerShell会话在有限的语言模式下运行
LoggedInUserNotAdmin = 登录的用户没有管理员的权利 LoggedInUserNotAdmin = 登录的用户没有管理员的权利
UnsupportedPowerShell = 你想通过PowerShell {0}运行脚本在适当的PowerShell版本中运行该脚本 UnsupportedPowerShell = 你想通过PowerShell {0}.{1}运行脚本在适当的PowerShell版本中运行该脚本
UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行 UnsupportedISE = 该脚本不支持通过Windows PowerShell ISE运行
Win10TweakerWarning = 可能你的操作系统是通过Win 10 Tweaker后门感染的 Win10TweakerWarning = 可能你的操作系统是通过Win 10 Tweaker后门感染的
UnsupportedRelease = 找到新版本 UnsupportedRelease = 找到新版本
@ -16,6 +16,7 @@ EnableHardwareVT = UEFI中开启虚拟化
UserShellFolderNotEmpty = 一些文件留在了{0}文件夹请手动将它们移到一个新位置 UserShellFolderNotEmpty = 一些文件留在了{0}文件夹请手动将它们移到一个新位置
RetrievingDrivesList = 取得驱动器列表 RetrievingDrivesList = 取得驱动器列表
DriveSelect = 选择将在其根目录中创建{0}文件夹的驱动器 DriveSelect = 选择将在其根目录中创建{0}文件夹的驱动器
CurrentUserFolderLocation = 当前"{0}"文件夹的位置:"{1}"
UserFolderRequest = 是否要更改{0}文件夹位置 UserFolderRequest = 是否要更改{0}文件夹位置
UserFolderSelect = {0}文件夹选择一个文件夹 UserFolderSelect = {0}文件夹选择一个文件夹
UserDefaultFolder = 您想将{0}文件夹的位置更改为默认值吗 UserDefaultFolder = 您想将{0}文件夹的位置更改为默认值吗
@ -64,6 +65,7 @@ Run = 运行
SelectAll = 全选 SelectAll = 全选
Skip = 跳过 Skip = 跳过
Skipped = 已跳过 Skipped = 已跳过
FileExplorerRestartPrompt = 有时为了使更改生效必须重新启动文件管理器进程
TelegramGroupTitle = 加入我们的官方Telegram TelegramGroupTitle = 加入我们的官方Telegram
TelegramChannelTitle = 加入我们的官方Telegram 频道 TelegramChannelTitle = 加入我们的官方Telegram 频道
Uninstall = 卸载 Uninstall = 卸载

2
Sophia Script/Sophia Script for Windows 10 LTSC/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{ @{
RootModule = '..\Module\Sophia.psm1' RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.2.14' ModuleVersion = '5.2.15'
GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01' GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01'
Author = 'Dmitry "farag" Nefedov' Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014–2021 farag & Inestic. All rights reserved' Copyright = '(c) 2014–2021 farag & Inestic. All rights reserved'

200
Sophia Script/Sophia Script for Windows 10 LTSC/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks
Version: v5.2.14 Version: v5.2.15
Date: 19.09.2021 Date: 05.10.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic Copyright (c) 20192021 farag & Inestic
@ -135,7 +135,11 @@ function Checkings
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# https://github.com/farag2/Sophia-Script-for-Windows/blob/master/sophia_script_versions.json # https://github.com/farag2/Sophia-Script-for-Windows/blob/master/sophia_script_versions.json
$LatestRelease = (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json" -UseBasicParsing).Sophia_Script_Windows_10_LTSC $Parameters = @{
Uri = "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json"
UseBasicParsing = $true
}
$LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC
$CurrentRelease = (Get-Module -Name Sophia).Version.ToString() $CurrentRelease = (Get-Module -Name Sophia).Version.ToString()
switch ([System.Version]$LatestRelease -gt [System.Version]$CurrentRelease) switch ([System.Version]$LatestRelease -gt [System.Version]$CurrentRelease)
{ {
@ -206,6 +210,9 @@ function Checkings
$Script:ControlledFolderAccess = $false $Script:ControlledFolderAccess = $false
} }
} }
# Save all opened folders in order to restore them after File Explorer restart
$Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke()
} }
#endregion Checkings #endregion Checkings
@ -484,7 +491,7 @@ function FeedbackFrequency
} }
"Automatically" "Automatically"
{ {
Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction SilentlyContinue Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore
} }
} }
} }
@ -809,12 +816,12 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
# Show window, if minimized # Show window, if minimized
[WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 10) [WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 10)
Start-Sleep -Milliseconds 100 Start-Sleep -Seconds 1
# Force move the console window to the foreground # Force move the console window to the foreground
[WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle) [WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle)
Start-Sleep -Milliseconds 100 Start-Sleep -Seconds 1
# Emulate the Backspace key sending # Emulate the Backspace key sending
[System.Windows.Forms.SendKeys]::SendWait("{BACKSPACE 1}") [System.Windows.Forms.SendKeys]::SendWait("{BACKSPACE 1}")
@ -1251,11 +1258,11 @@ function MergeConflicts
{ {
"Show" "Show"
{ {
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force
} }
"Hide" "Hide"
{ {
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force
} }
} }
} }
@ -1588,24 +1595,6 @@ function 3DObjects
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" -Name ThisPCPolicy -Force -ErrorAction Ignore Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" -Name ThisPCPolicy -Force -ErrorAction Ignore
} }
} }
# Save all opened folders in order to restore them after File Explorer restart
Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore
$OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke()
# In order for the changes to take effect the File Explorer process has to be restarted
Stop-Process -Name explorer -Force
Start-Sleep -Seconds 3
# Restoring closed folders
foreach ($OpenedFolder in $OpenedFolders)
{
if (Test-Path -Path $OpenedFolder)
{
Invoke-Item -Path $OpenedFolder
}
}
} }
<# <#
@ -1988,24 +1977,6 @@ function NotificationAreaIcons
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force
} }
} }
# Save all opened folders in order to restore them after File Explorer restart
Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore
$OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke()
# In order for the changes to take effect the File Explorer process has to be restarted
Stop-Process -Name explorer -Force
Start-Sleep -Seconds 3
# Restoring closed folders
foreach ($OpenedFolder in $OpenedFolders)
{
if (Test-Path -Path $OpenedFolder)
{
Invoke-Item -Path $OpenedFolder
}
}
} }
@ -3739,12 +3710,12 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
# Show window, if minimized # Show window, if minimized
[WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 10) [WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 10)
Start-Sleep -Milliseconds 100 Start-Sleep -Seconds 1
# Force move the console window to the foreground # Force move the console window to the foreground
[WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle) [WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle)
Start-Sleep -Milliseconds 100 Start-Sleep -Seconds 1
# Emulate the Backspace key sending # Emulate the Backspace key sending
[System.Windows.Forms.SendKeys]::SendWait("{BACKSPACE 1}") [System.Windows.Forms.SendKeys]::SendWait("{BACKSPACE 1}")
@ -4036,18 +4007,17 @@ function WindowsCapabilities
{ {
"Install" "Install"
{ {
# Check the internet connection
try try
{ {
(Invoke-WebRequest -Uri https://www.google.com -UseBasicParsing -DisableKeepAlive -Method Head).StatusDescription # Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
} }
catch [System.Net.WebException] if (-not (Invoke-RestMethod @Parameters).StatusDescription)
{ {
Write-Warning -Message $Localization.NoInternetConnection
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue
return return
} }
@ -4055,6 +4025,14 @@ function WindowsCapabilities
$ButtonContent = $Localization.Install $ButtonContent = $Localization.Install
$ButtonAdd_Click = {InstallButton} $ButtonAdd_Click = {InstallButton}
} }
catch [System.Net.WebException]
{
Write-Warning -Message $Localization.NoInternetConnection
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue
}
}
"Uninstall" "Uninstall"
{ {
$State = "Installed" $State = "Installed"
@ -4113,12 +4091,12 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
# Show window, if minimized # Show window, if minimized
[WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 10) [WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 10)
Start-Sleep -Milliseconds 100 Start-Sleep -Seconds 1
# Force move the console window to the foreground # Force move the console window to the foreground
[WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle) [WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle)
Start-Sleep -Milliseconds 100 Start-Sleep -Seconds 1
# Emulate the Backspace key sending # Emulate the Backspace key sending
[System.Windows.Forms.SendKeys]::SendWait("{BACKSPACE 1}") [System.Windows.Forms.SendKeys]::SendWait("{BACKSPACE 1}")
@ -4402,14 +4380,26 @@ function IPv6Component
$Enable $Enable
) )
# Check the internet connection
try try
{ {
if ((Invoke-WebRequest -Uri https://www.google.com -UseBasicParsing -DisableKeepAlive -Method Head).StatusDescription) # Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{ {
return
}
# Check whether the ISP supports IPv6 protocol using https://ipv6-test.com # Check whether the ISP supports IPv6 protocol using https://ipv6-test.com
$IPv6Test = Invoke-RestMethod -Uri "https://v4v6.ipv6-test.com/api/myip.php?json" | Where-Object -FilterScript {$_.proto -eq "ipv6"} $Parameters = @{
Uri = "https://v4v6.ipv6-test.com/api/myip.php?json"
UseBasicParsing = $true
} }
$IPv6Test = Invoke-RestMethod @Parameters | Where-Object -FilterScript {$_.proto -eq "ipv6"}
} }
catch [System.Net.WebException] catch [System.Net.WebException]
{ {
@ -4417,8 +4407,6 @@ function IPv6Component
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue
return
} }
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)
@ -5541,24 +5529,6 @@ function WinPrtScrFolder
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore
} }
} }
# Save all opened folders in order to restore them after File Explorer restart
Clear-Variable -Name OpenedFolders -Force -ErrorAction Ignore
$OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke()
# In order for the changes to take effect the File Explorer process has to be restarted
Stop-Process -Name explorer -Force
Start-Sleep -Seconds 3
# Restoring closed folders
foreach ($OpenedFolder in $OpenedFolders)
{
if (Test-Path -Path $OpenedFolder)
{
Invoke-Item -Path $OpenedFolder
}
}
} }
<# <#
@ -7175,8 +7145,8 @@ while (`$true)
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore
Unregister-ScheduledTask -TaskName "Windows Cleanup" -Confirm:$false Unregister-ScheduledTask -TaskName "Windows Cleanup" -Confirm:$false -ErrorAction Ignore
Unregister-ScheduledTask -TaskName "Windows Cleanup Notification" -Confirm:$false Unregister-ScheduledTask -TaskName "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore
Remove-Item -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Recurse -Force -ErrorAction Ignore Remove-Item -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Recurse -Force -ErrorAction Ignore
} }
@ -8752,10 +8722,22 @@ function BitmapImageNewContext
{ {
try try
{ {
if ((Invoke-WebRequest -Uri https://www.google.com -UseBasicParsing -DisableKeepAlive -Method Head).StatusDescription) # Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{ {
Get-WindowsCapability -Online -Name "Microsoft.Windows.MSPaint*" | Add-WindowsCapability -Online return
} }
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose
Get-WindowsCapability -Online -Name "Microsoft.Windows.MSPaint*" | Add-WindowsCapability -Online
} }
catch [System.Net.WebException] catch [System.Net.WebException]
{ {
@ -8763,8 +8745,6 @@ function BitmapImageNewContext
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue
return
} }
} }
} }
@ -8833,10 +8813,22 @@ function RichTextDocumentNewContext
{ {
try try
{ {
if ((Invoke-WebRequest -Uri https://www.google.com -UseBasicParsing -DisableKeepAlive -Method Head).StatusDescription) # Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{ {
Get-WindowsCapability -Online -Name "Microsoft.Windows.WordPad*" | Add-WindowsCapability -Online return
} }
Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message $Localization.Patient -Verbose
Get-WindowsCapability -Online -Name "Microsoft.Windows.WordPad*" | Add-WindowsCapability -Online
} }
catch [System.Net.WebException] catch [System.Net.WebException]
{ {
@ -8844,8 +8836,6 @@ function RichTextDocumentNewContext
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue
return
} }
} }
} }
@ -9083,6 +9073,38 @@ public static void PostMessage()
Set-MpPreference -EnableControlledFolderAccess Enabled Set-MpPreference -EnableControlledFolderAccess Enabled
} }
# In order for the changes to take effect the File Explorer process has to be restarted
$Title = ""
$Message = $Localization.FileExplorerRestartPrompt
$Yes = $Localization.Yes
$No = $Localization.No
$Options = "&$No", "&$Yes"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)
switch ($Result)
{
"0"
{
continue
}
"1"
{
Stop-Process -Name explorer -Force
Start-Sleep -Seconds 3
# Restoring closed folders
foreach ($Script:OpenedFolder in $Script:OpenedFolders)
{
if (Test-Path -Path $Script:OpenedFolder)
{
Invoke-Item -Path $Script:OpenedFolder
}
}
}
}
Write-Information -MessageData "" -InformationAction Continue Write-Information -MessageData "" -InformationAction Continue
Write-Warning -Message $Localization.RestartWarning Write-Warning -Message $Localization.RestartWarning

8
Sophia Script/Sophia Script for Windows 10 LTSC/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS .SYNOPSIS
Default preset file for "Sophia Script for Windows 10 LTSC" Default preset file for "Sophia Script for Windows 10 LTSC"
Version: v5.2.14 Version: v5.2.15
Date: 19.09.2021 Date: 05.10.2021
Copyright (c) 20142021 farag Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic Copyright (c) 20192021 farag & Inestic
@ -21,7 +21,7 @@
.EXAMPLE Run the script by specifying the module functions as an argument .EXAMPLE Run the script by specifying the module functions as an argument
.\Sophia.ps1 -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps .\Sophia.ps1 -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps
.EXAMPLE Download and expand the archive (without running) the latest Sophia Script according which Windows and PowerShell versions it is run on .EXAMPLE Download and expand the latest Sophia Script version archive (without running) according which Windows and PowerShell versions it is run on
irm script.sophi.app | iex irm script.sophi.app | iex
Invoke-RestMethod -Uri script.sophi.app | Invoke-Expression Invoke-RestMethod -Uri script.sophi.app | Invoke-Expression
@ -72,7 +72,7 @@ param
Clear-Host Clear-Host
$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.14 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021" $Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC v5.2.15 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force

Loading…
Cancel
Save