From 6673d3bd5d1d0d8f6434a438c1482ef1efe72518 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:20:51 +0300 Subject: [PATCH 01/12] Rename 200x/2004.cmd to 4.x (outdated)/200x/2004.cmd --- {200x => 4.x (outdated)/200x}/2004.cmd | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {200x => 4.x (outdated)/200x}/2004.cmd (100%) diff --git a/200x/2004.cmd b/4.x (outdated)/200x/2004.cmd similarity index 100% rename from 200x/2004.cmd rename to 4.x (outdated)/200x/2004.cmd From e68192a3c7dcb11332bac24dd5b888b0b9ed3ad5 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:22:05 +0300 Subject: [PATCH 02/12] Rename 200x/2004.ps1 to 4.x (outdated)/200x/2004.ps1 --- {200x => 4.x (outdated)/200x}/2004.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {200x => 4.x (outdated)/200x}/2004.ps1 (97%) diff --git a/200x/2004.ps1 b/4.x (outdated)/200x/2004.ps1 similarity index 97% rename from 200x/2004.ps1 rename to 4.x (outdated)/200x/2004.ps1 index dcb852d6..d34423c3 100644 --- a/200x/2004.ps1 +++ b/4.x (outdated)/200x/2004.ps1 @@ -3588,4 +3588,4 @@ if ($Error) } } } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() -} \ No newline at end of file +} From 11dda79c3cc95bacc061b5eda27a24525c78d7c7 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:22:25 +0300 Subject: [PATCH 03/12] Rename 190x/1903-1909.cmd to 4.x (outdated)/190x/1903-1909.cmd --- {190x => 4.x (outdated)/190x}/1903-1909.cmd | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {190x => 4.x (outdated)/190x}/1903-1909.cmd (100%) diff --git a/190x/1903-1909.cmd b/4.x (outdated)/190x/1903-1909.cmd similarity index 100% rename from 190x/1903-1909.cmd rename to 4.x (outdated)/190x/1903-1909.cmd From 8e889f967e7361afdf0128d6feb0836d31eea229 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:22:44 +0300 Subject: [PATCH 04/12] Rename 190x/1903-1909.ps1 to 4.x (outdated)/190x/1903-1909.ps1 --- {190x => 4.x (outdated)/190x}/1903-1909.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {190x => 4.x (outdated)/190x}/1903-1909.ps1 (97%) diff --git a/190x/1903-1909.ps1 b/4.x (outdated)/190x/1903-1909.ps1 similarity index 97% rename from 190x/1903-1909.ps1 rename to 4.x (outdated)/190x/1903-1909.ps1 index 4174a3a5..01a79659 100644 --- a/190x/1903-1909.ps1 +++ b/4.x (outdated)/190x/1903-1909.ps1 @@ -3518,4 +3518,4 @@ if ($Error) } } } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() -} \ No newline at end of file +} From 6022425596f729badcb0c5e6aa157222622fbb9f Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:25:33 +0300 Subject: [PATCH 05/12] Add files via upload --- Sophia/ru-RU/Sophia.psd1 | 348 ++++++++++++++++++++------------------- 1 file changed, 177 insertions(+), 171 deletions(-) diff --git a/Sophia/ru-RU/Sophia.psd1 b/Sophia/ru-RU/Sophia.psd1 index 4f20b357..b9cf0f2a 100644 --- a/Sophia/ru-RU/Sophia.psd1 +++ b/Sophia/ru-RU/Sophia.psd1 @@ -1,172 +1,178 @@ -ConvertFrom-StringData -StringData @' - # Не удаляйте двойные кавычки в строках с двойными кавычками, если они присутсвуют - - # Check - UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 - ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен - - # OneDrive - OneDriveUninstalling = Удаление OneDrive... - OneDriveNotEmptyFolder = "Папка $OneDriveUserFolder не пуста `nУдалите ее вручную" - OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll заблокирован `nУдалите его вручную" - OneDriveInstalling = Ждем выгрузку файла FileSyncShell64.dll - OneDriveDownloading = Скачивается OneDrive... ~33 МБ - NoInternetConnection = Отсутствует интернет-соединение - - # SetTempPath - LOCALAPPDATANotEmptyFolder = "Папка $env:LOCALAPPDATA\\Temp не пуста `nОчистите ее вручную и повторите попытку" - - # WSL - WSLUpdateDownloading = Скачивается пакет обновления ядра Linux... ~14 МБ - WSLUpdateInstalling = Установка пакета обновления ядра Linux... - - # DisableWindowsCapabilities - FODWindowTitle = Удалить дополнительные компоненты - FODWindowButton = Удалить - DialogBoxOpening = Диалоговое окно открывается... - NoData = Отсутствуют данные - - # EnableWindowsSandbox/DisableWindowsSandbox - EnableHardwareVT = Включите виртуализацию в UEFI - - # ChangeUserShellFolderLocation - UserShellFolderNotEmpty = "В папке $UserShellFolderRegValue осталась файлы `nПереместите их вручную в новое расположение" - RetrievingDrivesList = Получение списка дисков... - # Рабочий стол - DesktopChangeFolderRequest = Хотите изменить местоположение папки "Рабочий стол"? - DesktopFilesWontBeMoved = Файлы не будут перенесены - DesktopFolderChange = Изменить - DesktopFolderSkip = Пропустить - DesktopDriveSelect = Выберите диск, в корне которого будет создана папка для "Рабочий стол" - DesktopSkipped = Пропущено - # Документы - DocumentsChangeFolderRequest = Хотите изменить местоположение папки "Документы"? - DocumentsFilesWontBeMoved = Файлы не будут перенесены - DocumentsFolderChange = Изменить - DocumentsFolderSkip = Пропустить - DocumentsDriveSelect = Выберите диск, в корне которого будет создана папка для "Документы" - DocumentsSkipped = Пропущено - # Загрузки - DownloadsChangeFolderRequest = Хотите изменить местоположение папки "Загрузки"? - DownloadsFilesWontBeMoved = Файлы не будут перенесены - DownloadsFolderChange = Изменить - DownloadsFolderSkip = Пропустить - DownloadsDriveSelect = Выберите диск, в корне которого будет создана папка для "Загрузки" - DownloadsSkipped = Пропущено - # Музыка - MusicChangeFolderRequest = Хотите изменить местоположение папки "Музыка"? - MusicFilesWontBeMoved = Файлы не будут перенесены - MusicFolderChange = Изменить - MusicFolderSkip = Пропустить - MusicDriveSelect = Выберите диск, в корне которого будет создана папка для "Музыка" - MusicSkipped = Пропущено - # Изображения - PicturesChangeFolderRequest = Хотите изменить местоположение папки "Изображения"? - PicturesFilesWontBeMoved = Файлы не будут перенесены - PicturesFolderChange = Изменить - PicturesFolderSkip = Пропустить - PicturesDriveSelect = Выберите диск, в корне которого будет создана папка для "Изображения" - PicturesSkipped = Пропущено - # Видео - VideosChangeFolderRequest = Хотите изменить местоположение папки "Видео"? - VideosFilesWontBeMoved = Файлы не будут перенесены - VideosFolderChange = Изменить - VideosFolderSkip = Пропустить - VideosDriveSelect = Выберите диск, в корне которого будет создана папка для "Видео" - VideosSkipped = Пропущено - - # SetDefaultUserShellFolderLocation - # Рабочий стол - DesktopDefaultFolder = Хотите изменить местоположение папки "Рабочий стол" на значение по умолчанию? - # Документы - DocumentsDefaultFolder = Хотите изменить местоположение папки "Документы" на значение по умолчанию? - # Загрузки - DownloadsDefaultFolder = Хотите изменить местоположение папки "Загрузки" на значение по умолчанию? - # Музыка - MusicDefaultFolder = Хотите изменить местоположение папки "Музыка" на значение по умолчанию? - # Изображения - PicturesDefaultFolder = Хотите изменить местоположение папки "Изображения" на значение по умолчанию? - # Видео - VideosDefaultFolder = Хотите изменить местоположение папки "Видео" на значение по умолчанию? - - # DisableReservedStorage - ReservedStorageIsInUse = This operation is not supported when reserved storage is in use `nPlease wait for any servicing operations to complete and then try again later - - # PinControlPanel/PinDevicesPrinters/PinCommandPrompt - syspinDownloading = Скачивается syspin... ~20 КБ - ControlPanelPinning = "Ярлык `"$ControlPanelLocalizedName`" закрепляется на начальном экране" - DevicesPrintersPinning = "Ярлык `"$DevicesAndPrintersLocalizedName`" закрепляется на начальном экране" - CMDPinning = Ярлык "Командная строка" закрепляется на начальном экране - - # UninstallUWPApps - UninstallUWPForAll = Удалить для всех пользователей - UninstallUWPTitle = Удалить UWP-приложения - UninstallUWPUninstallButton = Удалить - - # SetAppGraphicsPerformance - GraphicsPerformanceTitle = Настройка производительности графики - GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? - GraphicsPerformanceAdd = Добавить - GraphicsPerformanceSkip = Пропустить - GraphicsPerformanceFilter = *.exe|*.exe|Все файлы (*.*)|*.* - GraphicsPerformanceSkipped = Пропущено - - # CreateCleanUpTask - CleanUpTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска. Чтобы расшифровать закодированную строку используйте [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("строка")) - - # CreateSoftwareDistributionTask - SoftwareDistributionTaskDescription = Очистка папки %SystemRoot%\\SoftwareDistribution\\Download - - # CreateTempTask - TempTaskDescription = Очистка папки %TEMP% - - # AddProtectedFolders - AddProtectedFoldersTitle = Контролируемый доступ к папкам - AddProtectedFoldersRequest = Хотите включить контролируемый доступ к папкаму и указать папку, которую Защитник Microsoft будет защищать от вредоносных приложений и угроз? - AddProtectedFoldersAdd = Добавить - AddProtectedFoldersSkip = Пропустить - AddProtectedFoldersDescription = Выберите папку - AddProtectedFoldersSkipped = Пропущено - - # RemoveProtectedFolders - RemoveProtectedFoldersList = Удаленные папки - - # AddAppControlledFolder - AddAppControlledFolderTitle = Контролируемый доступ к папкам - AddAppControlledFolderRequest = Указать приложение, которому разрешена работа через контролируемый доступ к папкам - AddAppControlledFolderAdd = Добавить - AddAppControlledFolderSkip = Пропустить - AddAppControlledFolderFilter = *.exe|*.exe|Все файлы (*.*)|*.* - AddAppControlledFolderSkipped = Пропущено - - # RemoveAllowedAppsControlledFolder - RemoveAllowedAppsControlledFolderList = Удаленные разрешенные приложения - - # AddDefenderExclusionFolder - AddDefenderExclusionFolderTitle = Microsoft Defender - AddDefenderExclusionFolderRequest = Указать папку, чтобы исключить ее из списка сканирования Microsoft Defender? - AddDefenderExclusionFolderAdd = Добавить - AddDefenderExclusionFolderSkip = Пропустить - AddDefenderExclusionFolderDescription = Выберите папку - AddDefenderExclusionFolderSkipped = Пропущено - - # AddDefenderExclusionFile - AddDefenderExclusionFileTitle = Microsoft Defender - AddDefenderExclusionFileRequest = Указать файл, чтобы исключить его из списка сканирования Microsoft Defender? - AddDefenderExclusionFileAdd = Добавить - AddDefenderExclusionFileSkip = Пропустить - AddDefenderExclusionFileFilter = Все файлы (*.*)|*.* - AddDefenderExclusionFileSkipped = Пропущено - - # CreateEventViewerCustomView - EventViewerCustomViewName = Создание процесса - EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки - - # Refresh - RestartWarning = Перезагрузите ваш ПК - - # Errors - ErrorsLine = Строка - ErrorsFile = Файл - ErrorsMessage = Ошибки/предупреждения +# Не удаляйте двойные кавычки в строках с двойными кавычками, если они присутсвуют + +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Скрипт поддерживает только Windows 10 x64 +ControlledFolderAccessDisabled = Контролируемый доступ к папкам выключен + +# OneDrive +OneDriveUninstalling = Удаление OneDrive... +OneDriveNotEmptyFolder = "Папка $OneDriveUserFolder не пуста. Удалите ее вручную" +OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll заблокирован. Удалите его вручную" +OneDriveInstalling = Ждем выгрузку файла FileSyncShell64.dll +OneDriveDownloading = Скачивается OneDrive... ~33 МБ +NoInternetConnection = Отсутствует интернет-соединение + +# SetTempPath +LOCALAPPDATANotEmptyFolder = "Папка $env:LOCALAPPDATA\\Temp не пуста. Очистите ее вручную и повторите попытку" + +# WSL +WSLUpdateDownloading = Скачивается пакет обновления ядра Linux... ~14 МБ +WSLUpdateInstalling = Установка пакета обновления ядра Linux... + +# DisableWindowsCapabilities +FODWindowTitle = Удалить дополнительные компоненты +FODWindowButton = Удалить +DialogBoxOpening = Диалоговое окно открывается... +NoData = Отсутствуют данные + +# EnableWindowsSandbox/DisableWindowsSandbox +EnableHardwareVT = Включите виртуализацию в UEFI + +# ChangeUserShellFolderLocation +UserShellFolderNotEmpty = "В папке $UserShellFolderRegValue осталась файлы. Переместите их вручную в новое расположение" +RetrievingDrivesList = Получение списка дисков... +# Рабочий стол +DesktopChangeFolderRequest = Хотите изменить местоположение папки "Рабочий стол"? +DesktopFilesWontBeMoved = Файлы не будут перенесены +DesktopFolderChange = Изменить +DesktopFolderSkip = Пропустить +DesktopDriveSelect = Выберите диск, в корне которого будет создана папка для "Рабочий стол" +DesktopSkipped = Пропущено +# Документы +DocumentsChangeFolderRequest = Хотите изменить местоположение папки "Документы"? +DocumentsFilesWontBeMoved = Файлы не будут перенесены +DocumentsFolderChange = Изменить +DocumentsFolderSkip = Пропустить +DocumentsDriveSelect = Выберите диск, в корне которого будет создана папка для "Документы" +DocumentsSkipped = Пропущено +# Загрузки +DownloadsChangeFolderRequest = Хотите изменить местоположение папки "Загрузки"? +DownloadsFilesWontBeMoved = Файлы не будут перенесены +DownloadsFolderChange = Изменить +DownloadsFolderSkip = Пропустить +DownloadsDriveSelect = Выберите диск, в корне которого будет создана папка для "Загрузки" +DownloadsSkipped = Пропущено +# Музыка +MusicChangeFolderRequest = Хотите изменить местоположение папки "Музыка"? +MusicFilesWontBeMoved = Файлы не будут перенесены +MusicFolderChange = Изменить +MusicFolderSkip = Пропустить +MusicDriveSelect = Выберите диск, в корне которого будет создана папка для "Музыка" +MusicSkipped = Пропущено +# Изображения +PicturesChangeFolderRequest = Хотите изменить местоположение папки "Изображения"? +PicturesFilesWontBeMoved = Файлы не будут перенесены +PicturesFolderChange = Изменить +PicturesFolderSkip = Пропустить +PicturesDriveSelect = Выберите диск, в корне которого будет создана папка для "Изображения" +PicturesSkipped = Пропущено +# Видео +VideosChangeFolderRequest = Хотите изменить местоположение папки "Видео"? +VideosFilesWontBeMoved = Файлы не будут перенесены +VideosFolderChange = Изменить +VideosFolderSkip = Пропустить +VideosDriveSelect = Выберите диск, в корне которого будет создана папка для "Видео" +VideosSkipped = Пропущено + +# SetDefaultUserShellFolderLocation +# Рабочий стол +DesktopDefaultFolder = Хотите изменить местоположение папки "Рабочий стол" на значение по умолчанию? +# Документы +DocumentsDefaultFolder = Хотите изменить местоположение папки "Документы" на значение по умолчанию? +# Загрузки +DownloadsDefaultFolder = Хотите изменить местоположение папки "Загрузки" на значение по умолчанию? +# Музыка +MusicDefaultFolder = Хотите изменить местоположение папки "Музыка" на значение по умолчанию? +# Изображения +PicturesDefaultFolder = Хотите изменить местоположение папки "Изображения" на значение по умолчанию? +# Видео +VideosDefaultFolder = Хотите изменить местоположение папки "Видео" на значение по умолчанию? + +# DisableReservedStorage +ReservedStorageIsInUse = This operation is not supported when reserved storage is in use. Please wait for any servicing operations to complete and then try again later + +# PinControlPanel/PinDevicesPrinters/PinCommandPrompt +syspinDownloading = Скачивается syspin... ~20 КБ +ControlPanelPinning = "Ярлык `"$ControlPanelLocalizedName`" закрепляется на начальном экране" +DevicesPrintersPinning = "Ярлык `"$DevicesAndPrintersLocalizedName`" закрепляется на начальном экране" +CMDPinning = Ярлык "Командная строка" закрепляется на начальном экране + +# UninstallUWPApps +UninstallUWPForAll = Удалить для всех пользователей +UninstallUWPTitle = Удалить UWP-приложения +UninstallUWPUninstallButton = Удалить + +# SetAppGraphicsPerformance +GraphicsPerformanceTitle = Настройка производительности графики +GraphicsPerformanceRequest = Установить для любого приложения по вашему выбору настройки производительности графики на "Высокая производительность"? +GraphicsPerformanceAdd = Добавить +GraphicsPerformanceSkip = Пропустить +GraphicsPerformanceFilter = *.exe|*.exe|Все файлы (*.*)|*.* +GraphicsPerformanceSkipped = Пропущено + +# CreateCleanUpTask +CleanUpTaskToast = Очистка неиспользуемых файлов и обновлений Windows начнется через минуту +CleanUpTaskDescription = Очистка неиспользуемых файлов и обновлений Windows, используя встроенную программу Очистка диска. Чтобы расшифровать закодированную строку используйте [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("строка")) + +# CreateSoftwareDistributionTask +SoftwareDistributionTaskDescription = Очистка папки %SystemRoot%\\SoftwareDistribution\\Download + +# CreateTempTask +TempTaskDescription = Очистка папки %TEMP% + +# AddProtectedFolders +AddProtectedFoldersTitle = Контролируемый доступ к папкам +AddProtectedFoldersRequest = Хотите включить контролируемый доступ к папкаму и указать папку, которую Защитник Microsoft будет защищать от вредоносных приложений и угроз? +AddProtectedFoldersAdd = Добавить +AddProtectedFoldersSkip = Пропустить +AddProtectedFoldersDescription = Выберите папку +AddProtectedFoldersSkipped = Пропущено + +# RemoveProtectedFolders +RemoveProtectedFoldersList = Удаленные папки + +# AddAppControlledFolder +AddAppControlledFolderTitle = Контролируемый доступ к папкам +AddAppControlledFolderRequest = Указать приложение, которому разрешена работа через контролируемый доступ к папкам +AddAppControlledFolderAdd = Добавить +AddAppControlledFolderSkip = Пропустить +AddAppControlledFolderFilter = *.exe|*.exe|Все файлы (*.*)|*.* +AddAppControlledFolderSkipped = Пропущено + +# RemoveAllowedAppsControlledFolder +RemoveAllowedAppsControlledFolderList = Удаленные разрешенные приложения + +# AddDefenderExclusionFolder +AddDefenderExclusionFolderTitle = Microsoft Defender +AddDefenderExclusionFolderRequest = Указать папку, чтобы исключить ее из списка сканирования Microsoft Defender? +AddDefenderExclusionFolderAdd = Добавить +AddDefenderExclusionFolderSkip = Пропустить +AddDefenderExclusionFolderDescription = Выберите папку +AddDefenderExclusionFolderSkipped = Пропущено + +# RemoveDefenderExclusionFolders +RemoveDefenderExclusionFoldersList = Excluded folders removed + +# AddDefenderExclusionFile +AddDefenderExclusionFileTitle = Microsoft Defender +AddDefenderExclusionFileRequest = Указать файл, чтобы исключить его из списка сканирования Microsoft Defender? +AddDefenderExclusionFileAdd = Добавить +AddDefenderExclusionFileSkip = Пропустить +AddDefenderExclusionFileFilter = Все файлы (*.*)|*.* +AddDefenderExclusionFileSkipped = Пропущено + +# RemoveDefenderExclusionFiles +RemoveDefenderExclusionFilesList = Excluded files removed + +# CreateEventViewerCustomView +EventViewerCustomViewName = Создание процесса +EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки + +# Refresh +RestartWarning = Перезагрузите ваш ПК + +# Errors +ErrorsLine = Строка +ErrorsFile = Файл +ErrorsMessage = Ошибки/предупреждения '@ From ec87fc3cff4ff691d3392d5f1771f1fc01ef7d45 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:26:20 +0300 Subject: [PATCH 06/12] 09.10.2020 v5.1.1 --- Sophia/Sophia.ps1 | 17 +- Sophia/Sophia.psd1 | Bin 0 -> 1494 bytes Sophia/Sophia.psm1 | 54 ++---- Sophia/de-DE/Sophia.psd1 | 178 ++++++++++++++++++++ Sophia/en-US/Sophia.psd1 | 348 ++++++++++++++++++++------------------- 5 files changed, 379 insertions(+), 218 deletions(-) create mode 100644 Sophia/Sophia.psd1 create mode 100644 Sophia/de-DE/Sophia.psd1 diff --git a/Sophia/Sophia.ps1 b/Sophia/Sophia.ps1 index 133044e7..80eb18aa 100644 --- a/Sophia/Sophia.ps1 +++ b/Sophia/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Windows 10 Sophia Script" - Version: v5.1 - Date: 05.10.2020 + Version: v5.1.1 + Date: 09.10.2020 Copyright (c) 2020 farag & oZ-Zo Thanks to all http://forum.ru-board.com members involved @@ -15,7 +15,7 @@ and comment out/uncomment those functions that you do/do not want to be executed Every tweak in a preset file has its' corresponding function to restore the default settings - Running the script is best done on a fresh install because running it on tweaked system may result in errors occurring + Running the script is best done on a fresh install because running it on wrong tweaked system may result in errors occurring PowerShell must be run with elevated privileges Set execution policy to be able to run scripts only in the current PowerShell session: @@ -34,8 +34,13 @@ https://github.com/farag2/Windows-10-Sophia-Script #> +#Requires -RunAsAdministrator +#Requires -Version 5.1 + +Clear-Host + Remove-Module -Name Sophia -Force -ErrorAction Ignore -Import-Module -Name .\Sophia.psm1 -Force +Import-Module -Name .\Sophia.psd1 -PassThru -Force Import-LocalizedData -BindingVariable Global:Localization @@ -492,11 +497,11 @@ SetTempPath # Enable Windows 260 character path limit # Включить ограничение Windows на 260 символов в пути -# EnableWin32LongPaths +EnableWin32LongPaths # Disable Windows 260 character path limit # Отключить ограничение Windows на 260 символов в пути -DisableWin32LongPaths +# DisableWin32LongPaths # Display the Stop error information on the BSoD # Отображать Stop-ошибку при появлении BSoD diff --git a/Sophia/Sophia.psd1 b/Sophia/Sophia.psd1 new file mode 100644 index 0000000000000000000000000000000000000000..0812e5478120b8889c7a1c6cb5f3df777bded869 GIT binary patch literal 1494 zcmc(fTW`}q5QWccka*$`SUi-A6uXWRAV^3=ON%b zIB`<(T&>nS>z&J)Gqd~m&wJhKu^y?R6BUewKJp#wQZuCrw#Ga5&-59M3r&?NQHWIP zmty{VKXvc_?Lw(he`ZdjM1cAJ5tX*|AV!UC*Y9h7O(iu`) z9gv+PC3?*+LFzDe*_m#aZ^K>Hql1eX`Bao$Ch8r^HE+6HSl< z4aoSMImXk~%KM&U>;}CIy(!lBV|ee+$>Rm5EzrhbeiE2uGpI!hw8Os8DVd$JhU|J& zY{t5dQMz3U|5k-7hbmlQ>a#D2X8IQ(+OCly^qA@uH58ts?^xt6&ujbyp!FE-Zwjsj zjOI>f!fE1kZ8e??I80p396kc1DK>_^aOd8K{ZH`ylUdbih{iR#bGp!MEa&Ym^Qe7y zt?kVB2#bdlmb@Wn`M3t5RR^w6EXrXCAGpKK9F{ zjlU5?&NBG7j8lBtnk;qK_phNLIsN~%p<}#Q200m|+!XU#?@a5fg}aY$6)`598?%?( ziV#a&eb(ci=n&IgTTdQG71gk~_x+Cqu#sK~O6=w}z7R$fT z5A=+?hrwO-f#Ep;iM?)yJ_WD6de#?J^&XbTaHDP!oPMBJ2Rek+V|`)`VSZd=_-^^~ I`t?r#0Lqr$!vFvP literal 0 HcmV?d00001 diff --git a/Sophia/Sophia.psm1 b/Sophia/Sophia.psm1 index 6906d4ce..b3347c97 100644 --- a/Sophia/Sophia.psm1 +++ b/Sophia/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS "Windows 10 Sophia Script" is a set of functions for Windows 10 fine-tuning and automating the routine tasks - Version: v5.1 - Date: 08.10.2020 + Version: v5.1.1 + Date: 09.10.2020 Copyright (c) 2020 farag & oZ-Zo Thanks to all http://forum.ru-board.com members involved @@ -37,11 +37,6 @@ #region Check function Check { - #Requires -RunAsAdministrator - #Requires -Version 5.1 - - Clear-Host - Set-StrictMode -Version Latest # Сlear the $Error variable @@ -57,7 +52,6 @@ function Check Write-Warning -Message $Localization.UnsupportedOSBitness break } - Default {} } # Turn off Controlled folder access to let the script proceed @@ -73,7 +67,6 @@ function Check # Открыть раздел "Защита от программ-шатажистов" Start-Process -FilePath windowsdefender://RansomwareProtection } - Default {} } } #endregion Check @@ -146,6 +139,7 @@ function DisableWindowsErrorReporting { if ((Get-WindowsEdition -Online).Edition -notmatch "Core*") { + Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } } @@ -154,6 +148,7 @@ function DisableWindowsErrorReporting # Включить отчеты об ошибках Windows для текущего пользователя function EnableWindowsErrorReporting { + Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction SilentlyContinue } @@ -228,10 +223,6 @@ function DisableScheduledTasks # Синхронизирует последние параметры со службой функций семьи учетных записей Майкрософт "FamilySafetyRefreshTask", - # Windows Error Reporting task to process queued reports - # Задача отчетов об ошибках обрабатывает очередь отчетов - "QueueReporting", - # XblGameSave Standby Task "XblGameSaveTask" ) @@ -300,10 +291,6 @@ function EnableScheduledTasks # Синхронизирует последние параметры со службой функций семьи учетных записей Майкрософт "FamilySafetyRefreshTask", - # Windows Error Reporting task to process queued reports - # Задача отчетов об ошибках обрабатывает очередь отчетов - "QueueReporting", - # XblGameSave Standby Task "XblGameSaveTask" ) @@ -1485,8 +1472,8 @@ function SetDefaultTempPath # Перезапустить службу "Диспетчер печати" (Spooler) Restart-Service -Name Spooler -Force - Stop-Process -Name OneDrive -Force -ErrorAction SilentlyContinue - Stop-Process -Name FileCoAuth -Force -ErrorAction SilentlyContinue + Stop-Process -Name OneDrive -Force -ErrorAction Ignore + Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore Remove-Item -Path $env:SystemDrive\Temp -Recurse -Force -ErrorAction Ignore } @@ -4129,30 +4116,15 @@ $app = "{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\cleanmgr.exe" $Template = [Windows.UI.Notifications.ToastTemplateType]::ToastImageAndText01 [xml]$ToastTemplate = ([Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent($Template).GetXml()) -if ($PSUICulture -eq "ru-RU") -{ - [xml]$ToastTemplate = @" +[xml]$ToastTemplate = @" - Очистка неиспользуемых файлов и обновлений Windows начнется через минуту + $($Localization.CleanUpTaskToast) "@ -} -else -{ - [xml]$ToastTemplate = @" - - - - Cleaning up unused Windows files and updates starts in a minute - - - -"@ -} $ToastXml = New-Object -TypeName Windows.Data.Xml.Dom.XmlDocument $ToastXml.LoadXml($ToastTemplate.OuterXml) @@ -4388,8 +4360,8 @@ function RemoveProtectedFolders if ($null -ne (Get-MpPreference).ControlledFolderAccessProtectedFolders) { Write-Verbose -Message $Localization.RemoveProtectedFoldersList -Verbose - Remove-MpPreference -ControlledFolderAccessProtectedFolders (Get-MpPreference).ControlledFolderAccessProtectedFolders -Force (Get-MpPreference).ControlledFolderAccessProtectedFolders | Format-Table -AutoSize -Wrap + Remove-MpPreference -ControlledFolderAccessProtectedFolders (Get-MpPreference).ControlledFolderAccessProtectedFolders -Force } } @@ -4498,8 +4470,8 @@ function RemoveDefenderExclusionFolders { if ($null -ne (Get-MpPreference).ExclusionPath) { - Write-Verbose -Message "Removed excluded folders:" -Verbose - $ExcludedFolders = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force | Where-Object -FilterScript {$_.Attributes -match "Directory"}).FullName + Write-Verbose -Message $Localization.RemoveDefenderExclusionFoldersList -Verbose + $ExcludedFolders = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.Attributes -match "Directory"}).FullName $ExcludedFolders | Format-Table -AutoSize -Wrap Remove-MpPreference -ExclusionPath $ExcludedFolders -Force } @@ -4555,8 +4527,8 @@ function RemoveDefenderExclusionFiles { if ($null -ne (Get-MpPreference).ExclusionPath) { - Write-Verbose -Message "Removed excluded files:" -Verbose - $ExcludedFiles = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force | Where-Object -FilterScript {$_.Attributes -notmatch "Directory"}).FullName + Write-Verbose -Message $Localization.RemoveDefenderExclusionFilesList -Verbose + $ExcludedFiles = (Get-Item -Path (Get-MpPreference).ExclusionPath -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.Attributes -notmatch "Directory"}).FullName $ExcludedFiles | Format-Table -AutoSize -Wrap Remove-MpPreference -ExclusionPath $ExcludedFiles -Force } diff --git a/Sophia/de-DE/Sophia.psd1 b/Sophia/de-DE/Sophia.psd1 new file mode 100644 index 00000000..f59c5e04 --- /dev/null +++ b/Sophia/de-DE/Sophia.psd1 @@ -0,0 +1,178 @@ +# Entfernen Sie keine doppelten Anführungszeichen, wenn diese vorhanden sind + +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = Das Skript unterstützt nur Windows 10 x64 +ControlledFolderAccessDisabled = Kontrollierter Ordnerzugriff deaktiviert + +# OneDrive +OneDriveUninstalling = Deinstalliere OneDrive... +OneDriveNotEmptyFolder = "Der Ordner $OneDriveUserFolder ist nicht leer.Löschen Sie ihn manuell. " +OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll ist blockiert. Löschen Sie es manuell" +OneDriveInstalling = OneDriveSetup.exe wird gestartet... +OneDriveDownloading = OneDrive herunterladen... ~33 MB +NoInternetConnection = Keine Internetverbindung + +# SetTempPath +LOCALAPPDATANotEmptyFolder = "Der Ordner $env:LOCALAPPDATA\\Temp ist nicht leer. Löschen Sie ihn manuell und versuchen Sie es erneut" + +# WSL +WSLUpdateDownloading = Herunterladen des Linux-Kernel-Update-Pakets... ~14 MB +WSLUpdateInstalling = Installieren des Linux-Kernel-Update-Pakets... + +# DisableWindowsCapabilities +FODWindowTitle = Optionale Funktionen (FODv2) zum Entfernen +FODWindowButton = Deinstallieren +DialogBoxOpening = Dialogfeld anzeigen... +NoData = Nichts zum Anzeigen + +# EnableWindowsSandbox/DisableWindowsSandbox +EnableHardwareVT = Virtualisierung in UEFI aktivieren + +# ChangeUserShellFolderLocation +UserShellFolderNotEmpty = "Der Ordner $UserShellFolderRegValue ist nicht leer. Verschieben Sie sie manuell an einen neuen Speicherort" +RetrievingDrivesList = Laufwerksliste abrufen... +# Desktop +DesktopChangeFolderRequest = Möchten Sie den Speicherort des Desktop Ordners ändern? +DesktopFilesWontBeMoved = Dateien werden nicht verschoben +DesktopFolderChange = Ändern +DesktopFolderSkip = Überspringen +DesktopDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Desktop Ordner erstellt werden soll +DesktopSkipped = Übersprungen +# Documents +DocumentsChangeFolderRequest = Möchten Sie den Speicherort des Ordners Dokumente ändern? +DocumentsFilesWontBeMoved = Dateien werden nicht verschoben +DocumentsFolderChange = Ändern +DocumentsFolderSkip = Überspringen +DocumentsDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Dokumente erstellt werden soll +DocumentsSkipped = Übersprungen +# Downloads +DownloadsChangeFolderRequest = Möchten Sie den Speicherort des Download Ordners ändern? +DownloadsFilesWontBeMoved = Dateien werden nicht verschoben +DownloadsFolderChange = Ändern +DownloadsFolderSkip = Überspringen +DownloadsDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Downloads erstellt werden soll +DownloadsSkipped = Übersprungen +# Music +MusicChangeFolderRequest = Möchten Sie den Speicherort des Musikordners ändern? +MusicFilesWontBeMoved = Dateien werden nicht verschoben +MusicFolderChange = Ändern +MusicFolderSkip = Überspringen +MusicDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Musikordner erstellt werden soll +MusicSkipped = Übersprungen +# Pictures +PicturesChangeFolderRequest = Möchten Sie den Speicherort des Ordner Bilder ändern? +PicturesFilesWontBeMoved = Dateien werden nicht verschoben +PicturesFolderChange = Ändern +PicturesFolderSkip = Überspringen +PicturesDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Bilder erstellt werden soll +PicturesSkipped = Übersprungen +# Videos +VideosChangeFolderRequest = Möchten Sie den Speicherort des Video Ordners ändern? +VideosFilesWontBeMoved = Dateien werden nicht verschoben +VideosFolderChange = Ändern +VideosFolderSkip = Überspringen +VideosDriveSelect = Wählen Sie das Laufwerk aus, in dessen Stammverzeichnis der Ordner Videos erstellt werden soll +VideosSkipped = Übersprungen + +# SetDefaultUserShellFolderLocation +# Desktop +DesktopDefaultFolder = Möchten Sie den Speicherort des Desktop Ordners auf den Standardwert ändern? +# Documents +DocumentsDefaultFolder = Möchten Sie den Speicherort des Ordners Dokumente auf den Standardwert ändern? +# Downloads +DownloadsDefaultFolder = Möchten Sie den Speicherort des Download Ordners auf den Standardwert ändern? +# Music +MusicDefaultFolder = Möchten Sie den Speicherort des Musikordners auf den Standardwert ändern? +# Pictures +PicturesDefaultFolder = Möchten Sie den Speicherort des Ordners Bilder auf den Standardwert ändern? +# Videos +VideosDefaultFolder = Möchten Sie den Speicherort des Video Ordners auf den Standardwert ändern? + +# DisableReservedStorage +ReservedStorageIsInUse = Dieser Vorgang wird nicht unterstützt, wenn reservierter Speicher verwendet wird. Bitte warten Sie, bis alle Wartungsvorgänge abgeschlossen sind, und versuchen Sie es später erneut + +# PinControlPanel/PinDevicesPrinters/PinCommandPrompt +syspinDownloading = Syspin herunterladen... ~20 KB +ControlPanelPinning = "Die Verknüpfung $ControlPanelLocalizedName wird an Start angeheftet" +DevicesPrintersPinning = "Die Verknüpfung $DevicesAndPrintersLocalizedName wird an Start angeheftet" +CMDPinning = Die Verknüpfung zur Eingabeaufforderung wird an Start angeheftet + +# UninstallUWPApps +UninstallUWPForAll = Deinstallieren für alle Benutzer +UninstallUWPTitle = Zu deinstallierende UWP-Pakete +UninstallUWPUninstallButton = Deinstallieren + +# SetAppGraphicsPerformance +GraphicsPerformanceTitle = Grafik-Leistungspräferenz +GraphicsPerformanceRequest = Möchten Sie die Grafikleistungseinstellung einer App Ihrer Wahl auf "Hohe Leistung" setzen?"? +GraphicsPerformanceAdd = Hinzufügen +GraphicsPerformanceSkip = Überspringen +GraphicsPerformanceFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* +GraphicsPerformanceSkipped = Übersprungen + +# CreateCleanUpTask +CleanUpTaskToast = Die Bereinigung nicht verwendeter Windows-Dateien und -Updates beginnt in einer Minute +CleanUpTaskDescription = Bereinigen nicht verwendeter Windows-Dateien und -Updates mithilfe der integrierten App zur Datenträgerbereinigung. Verwenden Sie zum Dekodieren des codierten Befehls [System.Text.Encoding] :: UTF8.GetString ([System.Convert] :: FromBase64String ("string")). + +# CreateSoftwareDistributionTask +SoftwareDistributionTaskDescription = Der %SystemRoot%\\SoftwareDistribution\\Download + +# CreateTempTask +TempTaskDescription = Bereinigen des %TEMP% Ordners + +# AddProtectedFolders +AddProtectedFoldersTitle = Kontrollierter Ordnerzugriff +AddProtectedFoldersRequest = Möchten Sie den kontrollierten Ordnerzugriff aktivieren und den Ordner angeben, den Microsoft Defender vor schädlichen Apps und Bedrohungen schützt?? +AddProtectedFoldersAdd = Hinzufügen +AddProtectedFoldersSkip = Überspringen +AddProtectedFoldersDescription = Wählen Sie einen Ordner +AddProtectedFoldersSkipped = Übersprungen + +# RemoveProtectedFolders +RemoveProtectedFoldersList = Ordner entfernt + +# AddAppControlledFolder +AddAppControlledFolderTitle = Kontrollierter Ordnerzugriff +AddAppControlledFolderRequest = Möchten Sie eine App angeben, die über den Zugriff auf kontrollierte Ordner zulässig ist? +AddAppControlledFolderAdd = Hinzufügen +AddAppControlledFolderSkip = Überspringen +AddAppControlledFolderFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* +AddAppControlledFolderSkipped = Übersprungen + +# RemoveAllowedAppsControlledFolder +RemoveAllowedAppsControlledFolderList = Zulässige Apps entfernt + +# AddDefenderExclusionFolder +AddDefenderExclusionFolderTitle = Microsoft Defender +AddDefenderExclusionFolderRequest = Möchten Sie einen Ordner angeben, der von Microsoft Defender-Malware-Scans ausgeschlossen werden soll? +AddDefenderExclusionFolderAdd = Hinzufügen +AddDefenderExclusionFolderSkip = Überspringen +AddDefenderExclusionFolderDescription = Wählen Sie einen Ordner +AddDefenderExclusionFolderSkipped = Übersprungen + +# RemoveDefenderExclusionFolders +RemoveDefenderExclusionFoldersList = Ausgeschlossene Ordner entfernt + +# AddDefenderExclusionFile +AddDefenderExclusionFileTitle = Microsoft Defender +AddDefenderExclusionFileRequest = Möchten Sie eine Datei angeben, die von Microsoft Defender-Malware-Scans ausgeschlossen werden soll? +AddDefenderExclusionFileAdd = Hinzufügen +AddDefenderExclusionFileSkip = Überspringen +AddDefenderExclusionFileFilter = Alle Dateien (*.*)|*.* +AddDefenderExclusionFileSkipped = Übersprungen + +# RemoveDefenderExclusionFiles +RemoveDefenderExclusionFilesList = Ausgeschlossene Dateien entfernt + +# CreateEventViewerCustomView +EventViewerCustomViewName = Prozesserstellung +EventViewerCustomViewDescription = Neue Prozessereignisse und Befehlszeilenüberwachung + +# Refresh +RestartWarning = Starten Sie Ihren PC neu + +# Errors +ErrorsLine = Zeile +ErrorsFile = Datei +ErrorsMessage = Fehler/Warnungen +'@ diff --git a/Sophia/en-US/Sophia.psd1 b/Sophia/en-US/Sophia.psd1 index ac466536..2c73cc27 100644 --- a/Sophia/en-US/Sophia.psd1 +++ b/Sophia/en-US/Sophia.psd1 @@ -1,172 +1,178 @@ -ConvertFrom-StringData -StringData @' - # Do not remove double quotes in double-quoted strings where they are present - - # Check - UnsupportedOSBitness = The script supports Windows 10 x64 only - ControlledFolderAccessDisabled = Controlled folder access disabled - - # OneDrive - OneDriveUninstalling = Uninstalling OneDrive... - OneDriveNotEmptyFolder = "The $OneDriveUserFolder folder is not empty `nDelete it manually" - OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll is blocked `nDelete it manually" - OneDriveInstalling = OneDriveSetup.exe is starting... - OneDriveDownloading = Downloading OneDrive... ~33 MB - NoInternetConnection = No Internet connection - - # SetTempPath - LOCALAPPDATANotEmptyFolder = "The $env:LOCALAPPDATA\\Temp folder is not empty `nDeleteClear it manually and try again" - - # WSL - WSLUpdateDownloading = Downloading the Linux kernel update package... ~14 MB - WSLUpdateInstalling = Installing the Linux kernel update package... - - # DisableWindowsCapabilities - FODWindowTitle = Optional features (FODv2) to remove - FODWindowButton = Uninstall - DialogBoxOpening = Displaying the dialog box... - NoData = Nothing to display - - # EnableWindowsSandbox/DisableWindowsSandbox - EnableHardwareVT = Enable Virtualization in UEFI - - # ChangeUserShellFolderLocation function - UserShellFolderNotEmpty = "Some files left in the $UserShellFolderRegValue folder `nMove them manually to a new location" - RetrievingDrivesList = Retrieving drives list... - # Desktop - DesktopChangeFolderRequest = Would you like to change the location of the Desktop folder? - DesktopFilesWontBeMoved = Files will not be moved - DesktopFolderChange = Change - DesktopFolderSkip = Skip - DesktopDriveSelect = Select the drive within the root of which the Desktop folder will be created - DesktopSkipped = Skipped - # Documents - DocumentsChangeFolderRequest = Would you like to change the location of the Documents folder? - DocumentsFilesWontBeMoved = Files will not be moved - DocumentsFolderChange = Change - DocumentsFolderSkip = Skip - DocumentsDriveSelect = Select the drive within the root of which the Documents folder will be created - DocumentsSkipped = Skipped - # Downloads - DownloadsChangeFolderRequest = Would you like to change the location of the Downloads folder? - DownloadsFilesWontBeMoved = Files will not be moved - DownloadsFolderChange = Change - DownloadsFolderSkip = Skip - DownloadsDriveSelect = Select the drive within the root of which the Downloads folder will be created - DownloadsSkipped = Skipped - # Music - MusicChangeFolderRequest = Would you like to change the location of the Music folder? - MusicFilesWontBeMoved = Files will not be moved - MusicFolderChange = Change - MusicFolderSkip = Skip - MusicDriveSelect = Select the drive within the root of which the Music folder will be created - MusicSkipped = Skipped - # Pictures - PicturesChangeFolderRequest = Would you like to change the location of the Pictures folder? - PicturesFilesWontBeMoved = Files will not be moved - PicturesFolderChange = Change - PicturesFolderSkip = Skip - PicturesDriveSelect = Select the drive within the root of which the Pictures folder will be created - PicturesSkipped = Skipped - # Videos - VideosChangeFolderRequest = Would you like to change the location of the Videos folder? - VideosFilesWontBeMoved = Files will not be moved - VideosFolderChange = Change - VideosFolderSkip = Skip - VideosDriveSelect = Select the drive within the root of which the Videos folder will be created - VideosSkipped = Skipped - - # SetDefaultUserShellFolderLocation - # Desktop - DesktopDefaultFolder = Would you like to change the location of the Desktop folder to the default value? - # Documents - DocumentsDefaultFolder = Would you like to change the location of the Documents folder to the default value? - # Downloads - DownloadsDefaultFolder = Would you like to change the location of the Downloads folder to the default value? - # Music - MusicDefaultFolder = Would you like to change the location of the Music folder to the default value? - # Pictures - PicturesDefaultFolder = Would you like to change the location of the Pictures folder to the default value? - # Videos - VideosDefaultFolder = Would you like to change the location of the Videos folder to the default value? - - # DisableReservedStorage - ReservedStorageIsInUse = This operation is not supported when reserved storage is in use `nPlease wait for any servicing operations to complete and then try again later - - # PinControlPanel/PinDevicesPrinters/PinCommandPrompt - syspinDownloading = Downloading syspin... ~20 KB - ControlPanelPinning = "$ControlPanelLocalizedName shortcut is being pinned to Start" - DevicesPrintersPinning = "$DevicesAndPrintersLocalizedName shortcut is being pinned to Start" - CMDPinning = Command Prompt shortcut is being pinned to Start - - # UninstallUWPApps - UninstallUWPForAll = Uninstall for All Users - UninstallUWPTitle = UWP Packages to Uninstall - UninstallUWPUninstallButton = Uninstall - - # SetAppGraphicsPerformance - GraphicsPerformanceTitle = Graphics performance preference - GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? - GraphicsPerformanceAdd = Add - GraphicsPerformanceSkip = Skip - GraphicsPerformanceFilter = *.exe|*.exe|All Files (*.*)|*.* - GraphicsPerformanceSkipped = Skipped - - # CreateCleanUpTask - CleanUpTaskDescription = Cleaning up unused Windows files and updates using built-in Disk cleanup app. To decode encoded command use [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("string")) - - # CreateSoftwareDistributionTask - SoftwareDistributionTaskDescription = The %SystemRoot%\\SoftwareDistribution\\Download - - # CreateTempTask - TempTaskDescription = The %TEMP% folder cleaning - - # AddProtectedFolders - AddProtectedFoldersTitle = Controlled folder access - AddProtectedFoldersRequest = Would you like to enable Controlled folder access and specify the folder that Microsoft Defender will protect from malicious apps and threats? - AddProtectedFoldersAdd = Add - AddProtectedFoldersSkip = Skip - AddProtectedFoldersDescription = Select a folder - AddProtectedFoldersSkipped = Skipped - - # RemoveProtectedFolders - RemoveProtectedFoldersList = Removed folders - - # AddAppControlledFolder - AddAppControlledFolderTitle = Controlled folder access - AddAppControlledFolderRequest = Would you like to specify an app that is allowed through Controlled Folder access? - AddAppControlledFolderAdd = Add - AddAppControlledFolderSkip = Skip - AddAppControlledFolderFilter = *.exe|*.exe|All Files (*.*)|*.* - AddAppControlledFolderSkipped = Skipped - - # RemoveAllowedAppsControlledFolder - RemoveAllowedAppsControlledFolderList = Removed allowed apps - - # AddDefenderExclusionFolder - AddDefenderExclusionFolderTitle = Microsoft Defender - AddDefenderExclusionFolderRequest = Would you like to specify a folder to be excluded from Microsoft Defender malware scans? - AddDefenderExclusionFolderAdd = Add - AddDefenderExclusionFolderSkip = Skip - AddDefenderExclusionFolderDescription = Select a folder - AddDefenderExclusionFolderSkipped = Skipped - - # AddDefenderExclusionFile - AddDefenderExclusionFileTitle = Microsoft Defender - AddDefenderExclusionFileRequest = Would you like to specify a file to be excluded from Microsoft Defender malware scans? - AddDefenderExclusionFileAdd = Add - AddDefenderExclusionFileSkip = Skip - AddDefenderExclusionFileFilter = All Files (*.*)|*.* - AddDefenderExclusionFileSkipped = Skipped - - # CreateEventViewerCustomView - EventViewerCustomViewName = Process Creation - EventViewerCustomViewDescription = События содания нового процесса и аудит командной строки - - # Refresh - RestartWarning = Restart your PC - - # Errors - ErrorsLine = Line - ErrorsFile = File - ErrorsMessage = Errors/Warnings +# Do not remove double quotes in double-quoted strings where they are present + +ConvertFrom-StringData -StringData @' +UnsupportedOSBitness = The script supports Windows 10 x64 only +ControlledFolderAccessDisabled = Controlled folder access disabled + +# OneDrive +OneDriveUninstalling = Uninstalling OneDrive... +OneDriveNotEmptyFolder = "The $OneDriveUserFolder folder is not empty `nDelete it manually" +OneDriveFileSyncShell64dllBlocked = "$FileSyncShell64dll is blocked `nDelete it manually" +OneDriveInstalling = OneDriveSetup.exe is starting... +OneDriveDownloading = Downloading OneDrive... ~33 MB +NoInternetConnection = No Internet connection + +# SetTempPath +LOCALAPPDATANotEmptyFolder = "The $env:LOCALAPPDATA\\Temp folder is not empty `nDeleteClear it manually and try again" + +# WSL +WSLUpdateDownloading = Downloading the Linux kernel update package... ~14 MB +WSLUpdateInstalling = Installing the Linux kernel update package... + +# DisableWindowsCapabilities +FODWindowTitle = Optional features (FODv2) to remove +FODWindowButton = Uninstall +DialogBoxOpening = Displaying the dialog box... +NoData = Nothing to display + +# EnableWindowsSandbox/DisableWindowsSandbox +EnableHardwareVT = Enable Virtualization in UEFI + +# ChangeUserShellFolderLocation +UserShellFolderNotEmpty = "Some files left in the $UserShellFolderRegValue folder `nMove them manually to a new location" +RetrievingDrivesList = Retrieving drives list... +# Desktop +DesktopChangeFolderRequest = Would you like to change the location of the Desktop folder? +DesktopFilesWontBeMoved = Files will not be moved +DesktopFolderChange = Change +DesktopFolderSkip = Skip +DesktopDriveSelect = Select the drive within the root of which the Desktop folder will be created +DesktopSkipped = Skipped +# Documents +DocumentsChangeFolderRequest = Would you like to change the location of the Documents folder? +DocumentsFilesWontBeMoved = Files will not be moved +DocumentsFolderChange = Change +DocumentsFolderSkip = Skip +DocumentsDriveSelect = Select the drive within the root of which the Documents folder will be created +DocumentsSkipped = Skipped +# Downloads +DownloadsChangeFolderRequest = Would you like to change the location of the Downloads folder? +DownloadsFilesWontBeMoved = Files will not be moved +DownloadsFolderChange = Change +DownloadsFolderSkip = Skip +DownloadsDriveSelect = Select the drive within the root of which the Downloads folder will be created +DownloadsSkipped = Skipped +# Music +MusicChangeFolderRequest = Would you like to change the location of the Music folder? +MusicFilesWontBeMoved = Files will not be moved +MusicFolderChange = Change +MusicFolderSkip = Skip +MusicDriveSelect = Select the drive within the root of which the Music folder will be created +MusicSkipped = Skipped +# Pictures +PicturesChangeFolderRequest = Would you like to change the location of the Pictures folder? +PicturesFilesWontBeMoved = Files will not be moved +PicturesFolderChange = Change +PicturesFolderSkip = Skip +PicturesDriveSelect = Select the drive within the root of which the Pictures folder will be created +PicturesSkipped = Skipped +# Videos +VideosChangeFolderRequest = Would you like to change the location of the Videos folder? +VideosFilesWontBeMoved = Files will not be moved +VideosFolderChange = Change +VideosFolderSkip = Skip +VideosDriveSelect = Select the drive within the root of which the Videos folder will be created +VideosSkipped = Skipped + +# SetDefaultUserShellFolderLocation +# Desktop +DesktopDefaultFolder = Would you like to change the location of the Desktop folder to the default value? +# Documents +DocumentsDefaultFolder = Would you like to change the location of the Documents folder to the default value? +# Downloads +DownloadsDefaultFolder = Would you like to change the location of the Downloads folder to the default value? +# Music +MusicDefaultFolder = Would you like to change the location of the Music folder to the default value? +# Pictures +PicturesDefaultFolder = Would you like to change the location of the Pictures folder to the default value? +# Videos +VideosDefaultFolder = Would you like to change the location of the Videos folder to the default value? + +# DisableReservedStorage +ReservedStorageIsInUse = This operation is not supported when reserved storage is in use `nPlease wait for any servicing operations to complete and then try again later + +# PinControlPanel/PinDevicesPrinters/PinCommandPrompt +syspinDownloading = Downloading syspin... ~20 KB +ControlPanelPinning = "$ControlPanelLocalizedName shortcut is being pinned to Start" +DevicesPrintersPinning = "$DevicesAndPrintersLocalizedName shortcut is being pinned to Start" +CMDPinning = Command Prompt shortcut is being pinned to Start + +# UninstallUWPApps +UninstallUWPForAll = Uninstall for All Users +UninstallUWPTitle = UWP Packages to Uninstall +UninstallUWPUninstallButton = Uninstall + +# SetAppGraphicsPerformance +GraphicsPerformanceTitle = Graphics performance preference +GraphicsPerformanceRequest = Would you like to set the graphics performance setting of an app of your choice to "High performance"? +GraphicsPerformanceAdd = Add +GraphicsPerformanceSkip = Skip +GraphicsPerformanceFilter = *.exe|*.exe|All Files (*.*)|*.* +GraphicsPerformanceSkipped = Skipped + +# CreateCleanUpTask +CleanUpTaskToast = Cleaning up unused Windows files and updates starts in a minute +CleanUpTaskDescription = Cleaning up unused Windows files and updates using built-in Disk cleanup app. To decode encoded command use [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("string")) + +# CreateSoftwareDistributionTask +SoftwareDistributionTaskDescription = The %SystemRoot%\\SoftwareDistribution\\Download + +# CreateTempTask +TempTaskDescription = The %TEMP% folder cleaning + +# AddProtectedFolders +AddProtectedFoldersTitle = Controlled folder access +AddProtectedFoldersRequest = Would you like to enable Controlled folder access and specify the folder that Microsoft Defender will protect from malicious apps and threats? +AddProtectedFoldersAdd = Add +AddProtectedFoldersSkip = Skip +AddProtectedFoldersDescription = Select a folder +AddProtectedFoldersSkipped = Skipped + +# RemoveProtectedFolders +RemoveProtectedFoldersList = Removed folders + +# AddAppControlledFolder +AddAppControlledFolderTitle = Controlled folder access +AddAppControlledFolderRequest = Would you like to specify an app that is allowed through Controlled Folder access? +AddAppControlledFolderAdd = Add +AddAppControlledFolderSkip = Skip +AddAppControlledFolderFilter = *.exe|*.exe|All Files (*.*)|*.* +AddAppControlledFolderSkipped = Skipped + +# RemoveAllowedAppsControlledFolder +RemoveAllowedAppsControlledFolderList = Removed allowed apps + +# AddDefenderExclusionFolder +AddDefenderExclusionFolderTitle = Microsoft Defender +AddDefenderExclusionFolderRequest = Would you like to specify a folder to be excluded from Microsoft Defender malware scans? +AddDefenderExclusionFolderAdd = Add +AddDefenderExclusionFolderSkip = Skip +AddDefenderExclusionFolderDescription = Select a folder +AddDefenderExclusionFolderSkipped = Skipped + +# RemoveDefenderExclusionFolders +RemoveDefenderExclusionFoldersList = Excluded folders removed + +# AddDefenderExclusionFile +AddDefenderExclusionFileTitle = Microsoft Defender +AddDefenderExclusionFileRequest = Would you like to specify a file to be excluded from Microsoft Defender malware scans? +AddDefenderExclusionFileAdd = Add +AddDefenderExclusionFileSkip = Skip +AddDefenderExclusionFileFilter = All Files (*.*)|*.* +AddDefenderExclusionFileSkipped = Skipped + +# RemoveDefenderExclusionFiles +RemoveDefenderExclusionFilesList = Excluded files removed + +# CreateEventViewerCustomView +EventViewerCustomViewName = Process Creation +EventViewerCustomViewDescription = Process Creation and Command-line Auditing Events + +# Refresh +RestartWarning = Restart your PC + +# Errors +ErrorsLine = Line +ErrorsFile = File +ErrorsMessage = Errors/Warnings '@ From 7e00137b03d231fcab43daf92fcc2210aba75479 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:30:57 +0300 Subject: [PATCH 10/12] Add files via upload --- Sophia/de-DE/Sophia.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sophia/de-DE/Sophia.psd1 b/Sophia/de-DE/Sophia.psd1 index f59c5e04..6ab814c9 100644 --- a/Sophia/de-DE/Sophia.psd1 +++ b/Sophia/de-DE/Sophia.psd1 @@ -111,7 +111,7 @@ GraphicsPerformanceFilter = *.exe|*.exe|Alle Dateien (*.*)|*.* GraphicsPerformanceSkipped = Übersprungen # CreateCleanUpTask -CleanUpTaskToast = Die Bereinigung nicht verwendeter Windows-Dateien und -Updates beginnt in einer Minute +CleanUpTaskToast = Die Bereinigung nicht verwendeter Windows-Dateien und -Updates beginnt in einer Minute CleanUpTaskDescription = Bereinigen nicht verwendeter Windows-Dateien und -Updates mithilfe der integrierten App zur Datenträgerbereinigung. Verwenden Sie zum Dekodieren des codierten Befehls [System.Text.Encoding] :: UTF8.GetString ([System.Convert] :: FromBase64String ("string")). # CreateSoftwareDistributionTask From 8b735f97275ea81916a33bfa66e939309a99d69e Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 15:43:24 +0300 Subject: [PATCH 11/12] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ba419b6f..fbaddfe4 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,10 @@ **"Windows 10 Sophia Script" is a module for Windows 10 fine-tuning and automating the routine tasks** 🏆 +![Minimum Supported PowerShell Version](https://img.shields.io/badge/PowerShell-5.1-brightgreen.svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b1ce4ce852f148a88c47ea33ad172044)](https://www.codacy.com/manual/farag2/Windows-10-Sophia-Script) ![GitHub All Releases](https://img.shields.io/github/downloads/farag2/Windows-10-Setup-Script/total) + [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Q5Q51QUJC) From 59ce14e36a4d36e9cb155bef2547ef3e5c15cd13 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov <10544660+farag2@users.noreply.github.com> Date: Fri, 9 Oct 2020 20:42:28 +0300 Subject: [PATCH 12/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fbaddfe4..cb3aa281 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ * Due to the fact that the script includes more than **270** functions, you must read the entire **preset file** carefully and **comment out/uncomment** those functions that you do/do not want to be executed. Every tweak in a preset file has its' corresponding function to **restore the default settings**. * Running the script is best done on a fresh install because running it on **wrong** tweaked system may result in errors occurring. -* Some third-party antiviruses flag this script or its' part as malicious one. This is a false positive due to [$EncodedScript](https://github.com/farag2/Windows-10-Sophia-Script/blob/0f9bbee7e1d43f487eb0855e0d1e44ff569fc4a9/200x/2004.ps1#L2837) variable. You can read more about in "CreateCleanUpTask" function. You might need to disable tamper protection from your antivirus settings, re-enable it after running the script, and reboot. +* Some third-party antiviruses flag this script or its' part as malicious one. This is a **false positive/** due to [$EncodedScript](https://github.com/farag2/Windows-10-Sophia-Script/blob/0f9bbee7e1d43f487eb0855e0d1e44ff569fc4a9/200x/2004.ps1#L2837) variable. You can read more about in "CreateCleanUpTask" function. You might need to disable tamper protection from your antivirus settings, re-enable it after running the script, and reboot. ## Screenshots