diff --git a/Sophia/LTSC/Sophia.ps1 b/Sophia/LTSC/Sophia.ps1 index 7aaeddd2..f1d470be 100644 --- a/Sophia/LTSC/Sophia.ps1 +++ b/Sophia/LTSC/Sophia.ps1 @@ -2,27 +2,26 @@ .SYNOPSIS Default preset file for "Windows 10 Sophia Script" (LTSC version) - Version: v5.0.3 - Date: 04.02.2021 + Version: v5.0.4 + Date: 20.02.2021 Copyright (c) 2021 farag & oZ-Zo + https://github.com/farag2 + https://github.com/oz-zo + Thanks to all https://forum.ru-board.com members involved .DESCRIPTION - Supported Windows 10 versions: 1809 Enterprise LTSC, 17763 build, x64 - - Due to the fact that the script includes more than 120 functions with different arguments, you must read the entire Sophia.ps1 carefully and - comment out/uncomment those functions that you do/do not want to be executed + Read carefully and configure the preset file before running Every tweak in the 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 - PowerShell must be run with elevated privileges - Set execution policy to be able to run scripts only in the current PowerShell session: - Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force + .EXAMPLE + .\Sophia.ps1 .EXAMPLE - PS C:\> .\Sophia.ps1 + .\Sophia.ps1 -Functions CreateRestorePoint, "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal" .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 @@ -30,6 +29,17 @@ https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ + .NOTES + Supported Windows 10 + Version: 1809 + Build: 17763 + Editions: Enterprise LTSC + Architecture: x64 + + .NOTES + Set execution policy to be able to run scripts only in the current PowerShell session: + Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force + .LINK https://github.com/farag2/Windows-10-Sophia-Script #> @@ -47,7 +57,7 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.0.3 | ©️ farag & oz-zo, 2015–2021" +$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.0.4 | $([char]0x00A9) farag & oz-zo, 2015–2021" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force @@ -60,7 +70,7 @@ Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia Добавляет возможность запускать скрипт, указывая в качестве параметров функции модуля .EXAMPLE - .\Sophia.ps1 -Functions "FunctionName1 -Parameter", "FunctionName2 -Parameter", FunctionName3 + .\Sophia.ps1 -Functions CreateRestorePoint, "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal" .NOTES Regardless of the functions entered as an argument, the "Checkings" function will be executed first, and the "Refresh" and "Errors" functions will be executed at the end @@ -80,8 +90,13 @@ if ($Functions) exit } -# Checkings -# Проверки +<# + Checkings + Please, do not touch this function + + Проверки + Пожалуйста, не комментируйте данную функцию +#> Checkings <# @@ -114,234 +129,234 @@ DiagnosticDataLevel -Minimal # Установить уровень сбора диагностических сведений ОС по умолчанию # DiagnosticDataLevel -Default -# Turn off Windows Error Reporting for the current user -# Отключить отчеты об ошибках Windows для текущего пользователя +# Turn off the Windows Error Reporting +# Отключить отчеты об ошибках Windows ErrorReporting -Disable -# Turn on Windows Error Reporting for the current user (default value) -# Включить отчеты об ошибках Windows для текущего пользователя (значение по умолчанию) +# Turn on the Windows Error Reporting (default value) +# Включить отчеты об ошибках Windows (значение по умолчанию) # ErrorReporting -Enable -# Change Windows feedback frequency to "Never" for the current user -# Изменить частоту формирования отзывов на "Никогда" для текущего пользователя +# Change the Windows feedback frequency to "Never" +# Изменить частоту формирования отзывов на "Никогда" WindowsFeedback -Disable -# Change Windows Feedback frequency to "Automatically" for the current user (default value) -# Изменить частоту формирования отзывов на "Автоматически" для текущего пользователя (значение по умолчанию) +# Change the Windows Feedback frequency to "Automatically" (default value) +# Изменить частоту формирования отзывов на "Автоматически" (значение по умолчанию) # WindowsFeedback -Enable -# Turn off diagnostics tracking scheduled tasks +# Turn off the diagnostics tracking scheduled tasks # Отключить задачи диагностического отслеживания ScheduledTasks -Disable -# Turn on diagnostics tracking scheduled tasks (default value) +# Turn on the diagnostics tracking scheduled tasks (default value) # Включить задачи диагностического отслеживания (значение по умолчанию) # ScheduledTasks -Enable -# Do not use sign-in info to automatically finish setting up device and reopen apps after an update or restart (current user only) -# Не использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления (только для текущего пользователя) +# Do not use sign-in info to automatically finish setting up device and reopen apps after an update or restart +# Не использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления SigninInfo -Disable -# Use sign-in info to automatically finish setting up device and reopen apps after an update or restart (current user only) (default value) -# Использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления (только для текущего пользователя) (значение по умолчанию) +# Use sign-in info to automatically finish setting up device and reopen apps after an update or restart (default value) +# Использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления (значение по умолчанию) # SigninInfo -Enable -# Do not let websites provide locally relevant content by accessing language list (current user only) -# Не позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков (только для текущего пользователя) +# Do not let websites provide locally relevant content by accessing language list +# Не позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков LanguageListAccess -Disable -# Let websites provide locally relevant content by accessing language list (current user only) (default value) -# Позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков (только для текущего пользователя) (значение по умолчанию) +# Let websites provide locally relevant content by accessing language list (default value) +# Позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков (значение по умолчанию) # LanguageListAccess -Enable -# Do not allow apps to use advertising ID (current user only) -# Не разрешать приложениям использовать идентификатор рекламы (только для текущего пользователя) +# Do not allow apps to use advertising ID +# Не разрешать приложениям использовать идентификатор рекламы AdvertisingID -Disable -# Allow apps to use advertising ID (current user only) (default value) -# Разрешать приложениям использовать идентификатор рекламы (только для текущего пользователя) (значение по умолчанию) +# Allow apps to use advertising ID (default value) +# Разрешать приложениям использовать идентификатор рекламы (значение по умолчанию) # AdvertisingID -Enable -# Do not let apps on other devices open and message apps on this device, and vice versa (current user only) -# Не разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот (только для текущего пользователя) +# Do not let apps on other devices open and message apps on this device, and vice versa +# Не разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот ShareAcrossDevices -Disable -# Let apps on other devices open and message apps on this device, and vice versa (current user only) (default value) -# Разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот (только для текущего пользователя) (значение по умолчанию) +# Let apps on other devices open and message apps on this device, and vice versa (default value) +# Разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот (значение по умолчанию) # ShareAcrossDevices -Enable #endregion Privacy & Telemetry #region UI & Personalization -# Show "This PC" on Desktop (current user only) -# Отобразить "Этот компьютер" на рабочем столе (только для текущего пользователя) +# Show the "This PC" icon on Desktop +# Отобразить значок "Этот компьютер" на рабочем столе ThisPC -Show -# Hide "This PC" on Desktop (current user only) (default value) -# Скрывать "Этот компьютер" на рабочем столе (только для текущего пользователя) (значение по умолчанию) +# Hide the "This PC" icon on Desktop (default value) +# Скрывать "Этот компьютер" на рабочем столе (значение по умолчанию) # ThisPC -Hide -# Do not use check boxes to select items (current user only) -# Не использовать флажки для выбора элементов (только для текущего пользователя) +# Do not use check boxes to select items +# Не использовать флажки для выбора элементов CheckBoxes -Disable -# Use check boxes to select items (current user only) (default value) -# Использовать флажки для выбора элементов (только для текущего пользователя) (значение по умолчанию) +# Use check boxes to select items (default value) +# Использовать флажки для выбора элементов (значение по умолчанию) # CheckBoxes -Enable -# Show hidden files, folders, and drives (current user only) -# Отображать скрытые файлы, папки и диски (только для текущего пользователя) +# Show hidden files, folders, and drives +# Отображать скрытые файлы, папки и диски HiddenItems -Enable -# Do not show hidden files, folders, and drives (current user only) (default value) -# Не отображать скрытые файлы, папки и диски (только для текущего пользователя) (значение по умолчанию) +# Do not show hidden files, folders, and drives (default value) +# Не отображать скрытые файлы, папки и диски (значение по умолчанию) # HiddenItems -Disable -# Show file name extensions (current user only) -# Отображать расширения имён файлов (только для текущего пользователя) +# Show file name extensions +# Отображать расширения имён файлов FileExtensions -Show -# Hide file name extensions (current user only) (default value) -# Скрывать расширения имён файлов файлов (только для текущего пользователя) (значение по умолчанию) +# Hide file name extensions (default value) +# Скрывать расширения имён файлов файлов (значение по умолчанию) # FileExtensions -Hide -# Do not hide folder merge conflicts (current user only) -# Не скрывать конфликт слияния папок (только для текущего пользователя) +# Do not hide folder merge conflicts +# Не скрывать конфликт слияния папок MergeConflicts -Show -# Hide folder merge conflicts (current user only) (default value) -# Скрывать конфликт слияния папок (только для текущего пользователя) (значение по умолчанию) +# Hide folder merge conflicts (default value) +# Скрывать конфликт слияния папок (значение по умолчанию) # MergeConflicts -Hide -# Open File Explorer to: "This PC" (current user only) -# Открывать проводник для: "Этот компьютер" (только для текущего пользователя) +# Open File Explorer to: "This PC" +# Открывать проводник для: "Этот компьютер" OpenFileExplorerTo -ThisPC -# Open File Explorer to: "Quick access" (current user only) (default value) -# Открывать проводник для: "Быстрый доступ" (только для текущего пользователя) (значение по умолчанию) +# Open File Explorer to: "Quick access" (default value) +# Открывать проводник для: "Быстрый доступ" (значение по умолчанию) # OpenFileExplorerTo -QuickAccess -# Hide Task View button on the taskbar (current user only) -# Скрывать кнопку Просмотра задач (только для текущего пользователя) +# Hide Task View button on the taskbar +# Скрывать кнопку Просмотра задач TaskViewButton -Hide -# Show Task View button on the taskbar (current user only) (default value) -# Показывать кнопку Просмотра задач (только для текущего пользователя) (значение по умолчанию) +# Show Task View button on the taskbar (default value) +# Показывать кнопку Просмотра задач (значение по умолчанию) # TaskViewButton -Show -# Hide People button on the taskbar (current user only) -# Скрывать панель "Люди" на панели задач (только для текущего пользователя) +# Hide People button on the taskbar +# Скрывать панель "Люди" на панели задач PeopleTaskbar -Hide -# Show People button on the taskbar (current user only) (default value) -# Показывать панель "Люди" на панели задач (только для текущего пользователя) (значение по умолчанию) +# Show People button on the taskbar (default value) +# Показывать панель "Люди" на панели задач (значение по умолчанию) # PeopleTaskbar -Show -# Show seconds on the taskbar clock (current user only) -# Отображать секунды в системных часах на панели задач (только для текущего пользователя) +# Show seconds on the taskbar clock +# Отображать секунды в системных часах на панели задач SecondsInSystemClock -Show -# Hide seconds on the taskbar clock (current user only) (default value) -# Скрывать секунды в системных часах на панели задач (только для текущего пользователя) (значение по умолчанию) +# Hide seconds on the taskbar clock (default value) +# Скрывать секунды в системных часах на панели задач (значение по умолчанию) # SecondsInSystemClock -Hide -# When I snap a window, do not show what I can snap next to it (current user only) -# При прикреплении окна не показывать, что можно прикрепить рядом с ним (только для текущего пользователя) +# When I snap a window, do not show what I can snap next to it +# При прикреплении окна не показывать, что можно прикрепить рядом с ним SnapAssist -Disable -# When I snap a window, show what I can snap next to it (current user only) (default value) -# При прикреплении окна не показывать/показывать, что можно прикрепить рядом с ним (только для текущего пользователя) (значение по умолчанию) +# When I snap a window, show what I can snap next to it (default value) +# При прикреплении окна не показывать/показывать, что можно прикрепить рядом с ним (значение по умолчанию) # SnapAssist -Enable -# Always open the file transfer dialog box in the detailed mode (current user only) -# Всегда открывать диалоговое окно передачи файлов в развернутом виде (только для текущего пользователя) +# Always open the file transfer dialog box in the detailed mode +# Всегда открывать диалоговое окно передачи файлов в развернутом виде FileTransferDialog -Detailed -# Always open the file transfer dialog box in the compact mode (current user only) (default value) -# Всегда открывать диалоговое окно передачи файлов в свернутом виде (только для текущего пользователя) (значение по умолчанию) +# Always open the file transfer dialog box in the compact mode (default value) +# Всегда открывать диалоговое окно передачи файлов в свернутом виде (значение по умолчанию) # FileTransferDialog -Compact -# Always expand the ribbon in the File Explorer (current user only) -# Всегда разворачивать ленту в проводнике (только для текущего пользователя) +# Expand the File Explorer ribbon +# Развернуть ленут проводника FileExplorerRibbon -Expanded -# Always minimize the ribbon in the File Explorer (current user only) (default value) -# Не отображать ленту проводника в развернутом виде (только для текущего пользователя) (значение по умолчанию) +# Minimize the File Explorer ribbon (default value) +# Свернуть ленут проводника (значение по умолчанию) # FileExplorerRibbon -Minimized -# Display recycle bin files delete confirmation +# Display the recycle bin files delete confirmation # Запрашивать подтверждение на удаление файлов в корзину RecycleBinDeleteConfirmation -Enable -# Do not display recycle bin files delete confirmation (default value) +# Do not display the recycle bin files delete confirmation (default value) # Не запрашивать подтверждение на удаление файлов в корзину (значение по умолчанию) # RecycleBinDeleteConfirmation -Disable -# Hide the "3D Objects" folder in "This PC" and "Quick access" (current user only) -# Скрыть папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа (только для текущего пользователя) +# Hide the "3D Objects" folder in "This PC" and "Quick access" +# Скрыть папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа 3DObjects -Hide -# Show the "3D Objects" folder in "This PC" and "Quick access" (current user only) (default value) -# Отобразить папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа (только для текущего пользователя) (значение по умолчанию) +# Show the "3D Objects" folder in "This PC" and "Quick access" (default value) +# Отобразить папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа (значение по умолчанию) # 3DObjects -Show -# Hide frequently used folders in "Quick access" (current user only) -# Скрыть недавно используемые папки на панели быстрого доступа (только для текущего пользователя) +# Hide frequently used folders in "Quick access" +# Скрыть недавно используемые папки на панели быстрого доступа QuickAccessFrequentFolders -Hide -# Show frequently used folders in "Quick access" (current user only) (default value) -# Показывать недавно используемые папки на панели быстрого доступа (только для текущего пользователя) (значение по умолчанию) +# Show frequently used folders in "Quick access" (default value) +# Показать недавно используемые папки на панели быстрого доступа (значение по умолчанию) # QuickAccessFrequentFolders -Show -# Do not show recently used files in Quick access (current user only) -# Не показывать недавно использовавшиеся файлы на панели быстрого доступа (только для текущего пользователя) +# Do not show recently used files in Quick access +# Не показывать недавно использовавшиеся файлы на панели быстрого доступа QuickAccessRecentFiles -Hide -# Show recently used files in Quick access (current user only) (default value) -# Показывать недавно использовавшиеся файлы на панели быстрого доступа (только для текущего пользователя) (значение по умолчанию) +# Show recently used files in Quick access (default value) +# Показать недавно использовавшиеся файлы на панели быстрого доступа (значение по умолчанию) # QuickAccessRecentFiles -Show -# Hide the search box or the search icon from the taskbar (current user only) -# Скрыть поле или значок поиска на панели задач (только для текущего пользователя) +# Hide the search on the taskbar +# Скрыть поле или значок поиска на панели задач TaskbarSearch -Hide -# Show the search box on the taskbar (current user only) -# Показать поле поиска на панели задач (только для текущего пользователя) +# Show the search icon on the taskbar +# Показать значок поиска на панели задач # TaskbarSearch -SearchIcon -# Show the search icon on the taskbar (current user only) (default value) -# Показать поле поиска на панели задач (только для текущего пользователя) (значение по умолчанию) +# Show the search box on the taskbar (default value) +# Показать поле поиска на панели задач (значение по умолчанию) # TaskbarSearch -SearchBox -# Always show all icons in the notification area (current user only) -# Всегда отображать все значки в области уведомлений (только для текущего пользователя) +# Always show all icons in the notification area +# Всегда отображать все значки в области уведомлений TrayIcons -Show -# Do not show all icons in the notification area (current user only) (default value) -# Не отображать все значки в области уведомлений (только для текущего пользователя) (значение по умолчанию) +# Do not show all icons in the notification area (default value) +# Не отображать все значки в области уведомлений (значение по умолчанию) # TrayIcons -Hide -# View the Control Panel icons by: large icons (current user only) -# Просмотр иконок Панели управления как: крупные значки (только для текущего пользователя) +# View the Control Panel icons by: large icons +# Просмотр иконок Панели управления как: крупные значки ControlPanelView -LargeIcons -# View the Control Panel icons by: category (current user only) (default value) -# Просмотр значки Панели управления как "категория" (только для текущего пользователя) (значение по умолчанию) +# View the Control Panel icons by: category (default value) +# Просмотр значки Панели управления как "категория" (значение по умолчанию) # ControlPanelView -Category -# Set the Windows mode color scheme to the dark (current user only) -# Установить цвет режима Windows по умолчанию на темный (только для текущего пользователя) +# Set the Windows mode color scheme to the dark +# Установить цвет режима Windows по умолчанию на темный WindowsColorScheme -Dark -# Set the Windows mode color scheme to the light (current user only) -# Установить режим цвета для Windows на светлый (только для текущего пользователя) +# Set the Windows mode color scheme to the light +# Установить режим цвета для Windows на светлый # WindowsColorScheme -Light -# Set the default app mode color scheme to the dark (current user only) -# Установить цвет режима приложений по умолчанию на темный (только для текущего пользователя) +# Set the default app mode color scheme to the dark +# Установить цвет режима приложений по умолчанию на темный AppMode -Dark -# Set the default app mode color scheme to the light (current user only) -# Установить цвет режима приложений по умолчанию на светлый (только для текущего пользователя) +# Set the default app mode color scheme to the light +# Установить цвет режима приложений по умолчанию на светлый # AppMode -Light # Do not show the "New App Installed" indicator @@ -352,28 +367,28 @@ NewAppInstalledNotification -Hide # Показывать уведомление "Установлено новое приложение" (значение по умолчанию) # NewAppInstalledNotification -Show -# Hide user first sign-in animation after the upgrade +# Hide first sign-in animation after the upgrade # Скрывать анимацию при первом входе в систему после обновления FirstLogonAnimation -Disable -# Show user first sign-in animation after the upgrade (default value) +# Show first sign-in animation after the upgrade (default value) # Показывать анимацию при первом входе в систему после обновления (значение по умолчанию) # FirstLogonAnimation -Enable -# Set the quality factor of the JPEG desktop wallpapers to maximum (current user only) -# Установить коэффициент качества обоев рабочего стола в формате JPEG на максимальный (только для текущего пользователя) +# Set the quality factor of the JPEG desktop wallpapers to maximum +# Установить коэффициент качества обоев рабочего стола в формате JPEG на максимальный JPEGWallpapersQuality -Max -# Set the quality factor of the JPEG desktop wallpapers to default (current user only) -# Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию (только для текущего пользователя) +# Set the quality factor of the JPEG desktop wallpapers to default +# Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию # JPEGWallpapersQuality -Default -# Start Task Manager in expanded mode (current user only) -# Запускать Диспетчера задач в развернутом виде (только для текущего пользователя) +# Start Task Manager in expanded mode +# Запускать Диспетчера задач в развернутом виде TaskManagerWindow -Expanded -# Start Task Manager in compact mode (current user only) (default value) -# Запускать Диспетчера задач в свернутом виде (только для текущего пользователя) (значение по умолчанию) +# Start Task Manager in compact mode (default value) +# Запускать Диспетчера задач в свернутом виде (значение по умолчанию) # TaskManagerWindow -Compact # Show a notification when your PC requires a restart to finish updating @@ -384,63 +399,63 @@ RestartNotification -Show # Не показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления (значение по умолчанию) # RestartNotification -Hide -# Do not add the "- Shortcut" suffix to the file name of created shortcuts (current user only) -# Нe дoбaвлять "- яpлык" к имени coздaвaeмых яpлыков (только для текущего пользователя) +# Do not add the "- Shortcut" suffix to the file name of created shortcuts +# Нe дoбaвлять "- яpлык" к имени coздaвaeмых яpлыков ShortcutsSuffix -Disable -# Add the "- Shortcut" suffix to the file name of created shortcuts (current user only) (default value) -# Дoбaвлять "- яpлык" к имени coздaвaeмых яpлыков (только для текущего пользователя) (значение по умолчанию) +# Add the "- Shortcut" suffix to the file name of created shortcuts (default value) +# Дoбaвлять "- яpлык" к имени coздaвaeмых яpлыков (значение по умолчанию) # ShortcutsSuffix -Enable -# Use the PrtScn button to open screen snipping (current user only) -# Использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана (только для текущего пользователя) +# Use the PrtScn button to open screen snipping +# Использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана PrtScnSnippingTool -Enable -# Do not use the PrtScn button to open screen snipping (current user only) (default value) -# Не использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана (только для текущего пользователя) (значение по умолчанию) +# Do not use the PrtScn button to open screen snipping (default value) +# Не использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана (значение по умолчанию) # PrtScnSnippingTool -Disable -# Let me use a different input method for each app window (current user only) -# Позволить выбирать метод ввода для каждого окна (только для текущего пользователя) +# Let me use a different input method for each app window +# Позволить выбирать метод ввода для каждого окна AppsLanguageSwitch -Enable -# Do not let use a different input method for each app window (current user only) (default value) -# Не позволять выбирать метод ввода для каждого окна (только для текущего пользователя) (значение по умолчанию) +# Do not let use a different input method for each app window (default value) +# Не позволять выбирать метод ввода для каждого окна (значение по умолчанию) # AppsLanguageSwitch -Disable #endregion UI & Personalization #region System #region StorageSense -# Turn on Storage Sense (current user only) -# Включить Контроль памяти (только для текущего пользователя) +# Turn on Storage Sense +# Включить Контроль памяти StorageSense -Enable -# Turn off Storage Sense (current user only) (default value) -# Выключить Контроль памяти (только для текущего пользователя) (значение по умолчанию) +# Turn off Storage Sense (default value) +# Выключить Контроль памяти (значение по умолчанию) # StorageSense -Disable -# Run Storage Sense every month (current user only) -# Запускать Контроль памяти каждый месяц (только для текущего пользователя) +# Run Storage Sense every month +# Запускать Контроль памяти каждый месяц StorageSenseFrequency -Month -# Run Storage Sense during low free disk space (default value) (current user only) -# Запускать Контроль памяти, когда остается мало место на диске (значение по умолчанию) (только для текущего пользователя) +# Run Storage Sense during low free disk space (default value) +# Запускать Контроль памяти, когда остается мало место на диске (значение по умолчанию) # StorageSenseFrequency -Default -# Delete temporary files that apps aren't using (current user only) -# Удалять временные файлы, не используемые в приложениях (только для текущего пользователя) +# Delete temporary files that apps aren't using +# Удалять временные файлы, не используемые в приложениях StorageSenseTempFiles -Enable -# Do not delete temporary files that apps aren't using (current user only) -# Не удалять временные файлы, не используемые в приложениях (только для текущего пользователя) +# Do not delete temporary files that apps aren't using +# Не удалять временные файлы, не используемые в приложениях # StorageSenseTempFiles -Disable -# Delete files in recycle bin if they have been there for over 30 days (current user only) -# Удалять файлы из корзины, если они находятся в корзине более 30 дней (только для текущего пользователя) +# Delete files in recycle bin if they have been there for over 30 days +# Удалять файлы из корзины, если они находятся в корзине более 30 дней StorageSenseRecycleBin -Enable -# Do not delete files in recycle bin if they have been there for over 30 days (current user only) -# Не удалять файлы из корзины, если они находятся в корзине более 30 дней (только для текущего пользователя) +# Do not delete files in recycle bin if they have been there for over 30 days +# Не удалять файлы из корзины, если они находятся в корзине более 30 дней # StorageSenseRecycleBin -Disable #endregion StorageSense @@ -452,19 +467,19 @@ Hibernate -Disable # Включить режим гибернации (значение по умолчанию) # Hibernate -Enable -# Change the %TEMP% environment variable path to "%SystemDrive%\Temp" (both machine-wide, and for the current user) -# Изменить путь переменной среды для %TEMP% на "%SystemDrive%\Temp" (для всех пользователей) +# Change the %TEMP% environment variable path to "%SystemDrive%\Temp" +# Изменить путь переменной среды для %TEMP% на "%SystemDrive%\Temp" # TempFolder -SystemDrive -# Change %TEMP% environment variable path to "%LOCALAPPDATA%\Temp" (both machine-wide, and for the current user) (default value) -# Изменить путь переменной среды для %TEMP% на "LOCALAPPDATA%\Temp" (для всех пользователей) (значение по умолчанию) +# Change %TEMP% environment variable path to "%LOCALAPPDATA%\Temp" (default value) +# Изменить путь переменной среды для %TEMP% на "LOCALAPPDATA%\Temp" (значение по умолчанию) # TempFolder -Default -# Disable Windows 260 characters path limit +# Disable the Windows 260 characters path limit # Отключить ограничение Windows на 260 символов в пути Win32LongPathLimit -Disable -# Enable Windows 260 character path limit (default value) +# Enable the Windows 260 character path limit (default value) # Включить ограничение Windows на 260 символов в пути (значение по умолчанию) # Win32LongPathLimit -Enable @@ -476,12 +491,12 @@ BSoDStopError -Enable # Не отображать Stop-ошибку при появлении BSoD (значение по умолчанию) # BSoDStopError -Disable -# Change "Behavior of the elevation prompt for administrators in Admin Approval Mode" to "Elevate without prompting" -# Изменить "Поведение запроса на повышение прав для администраторов в режиме одобрения администратором" на "Повышение прав без запроса" +# Choose when to be notified about changes to your computer: never notify +# Настройка уведомления об изменении параметров компьютера: никогда не уведомлять AdminApprovalMode -Disable -# Change "Behavior of the elevation prompt for administrators in Admin Approval Mode" to "Prompt for consent for non-Windows binaries" (default value) -# Изменить "Поведение запроса на повышение прав для администраторов в режиме одобрения администратором" на "Запрос согласия для исполняемых файлов, отличных от Windows" (значение по умолчанию) +# Choose when to be notified about changes to your computer: notify me only when apps try to make changes to my computer (default value) +# Настройка уведомления об изменении параметров компьютера: уведомлять меня только при попытках приложений внести изменения в компьютер (значение по умолчанию) # AdminApprovalMode -Enable # Turn on access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled @@ -492,12 +507,12 @@ MappedDrivesAppElevatedAccess -Enable # Выключить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами (значение по умолчанию) # MappedDrivesAppElevatedAccess -Disable -# Opt out of the Delivery Optimization-assisted updates downloading -# Отказаться от загрузки обновлений с помощью оптимизации доставки +# Turn off Delivery Optimization +# Выключить оптимизацию доставки DeliveryOptimization -Disable -# Opt-in to the Delivery Optimization-assisted updates downloading (default value) -# Включить загрузку обновлений с помощью оптимизации доставки (значение по умолчанию) +# Turn on Delivery Optimization (default value) +# Включить оптимизацию доставки (значение по умолчанию) # DeliveryOptimization -Enable # Always wait for the network at computer startup and logon for workgroup networks @@ -508,20 +523,20 @@ WaitNetworkStartup -Enable # Никогда не ждать сеть при запуске и входе в систему для рабочих групп (значение по умолчанию) # WaitNetworkStartup -Disable -# Do not let Windows decide which printer should be the default one (current user only) -# Не разрешать Windows решать, какой принтер должен использоваться по умолчанию (только для текущего пользователя) +# Do not let Windows decide which printer should be the default one +# Не разрешать Windows решать, какой принтер должен использоваться по умолчанию WindowsManageDefaultPrinter -Disable -# Let Windows decide which printer should be the default one (current user only) (default value) -# Разрешать Windows решать, какой принтер должен использоваться по умолчанию (только для текущего пользователя) (значение по умолчанию) +# Let Windows decide which printer should be the default one (default value) +# Разрешать Windows решать, какой принтер должен использоваться по умолчанию (значение по умолчанию) # WindowsManageDefaultPrinter -Enable <# Disable the Windows features using the pop-up dialog box Отключить компоненты Windows, используя всплывающее диалоговое окно - If you want to leave "Multimedia settings" element in the advanced settings of Power Options do not uninstall the "MediaPlayback" feature - Если вы хотите оставить параметр "Параметры мультимедиа" в дополнительных параметрах электропитания, не удаляйте компонент "MediaPlayback" + If you want to leave "Multimedia settings" element in the advanced settings of Power Options do not disable the "MediaPlayback" feature + Если вы хотите оставить параметр "Параметры мультимедиа" в дополнительных параметрах электропитания, не удаляйте отключайте "MediaPlayback" #> WindowsFeatures -Disable @@ -530,24 +545,24 @@ WindowsFeatures -Disable # WindowsFeatures -Enable <# - Uninstall Features On Demand v2 (FODv2) capabilities using the pop-up dialog box - Удалить компоненты "Функции по требованию" (FODv2), используя всплывающее диалоговое окно + Uninstall optional features using the pop-up dialog box + Удалить дополнительные компоненты, используя всплывающее диалоговое окно If you want to leave "Multimedia settings" element in the advanced settings of Power Options do not uninstall the "MediaPlayback" feature Если вы хотите оставить параметр "Параметры мультимедиа" в дополнительных параметрах электропитания, не удаляйте компонент "MediaPlayback" #> WindowsCapabilities -Uninstall -# Install Features On Demand v2 (FODv2) capabilities using the pop-up dialog box -# Установить компоненты "Функции по требованию" (FODv2), используя всплывающее диалоговое окно +# Install optional features using the pop-up dialog box +# Установить дополнительные компоненты, используя всплывающее диалоговое окно # WindowsCapabilities -Install -# Opt-in to Microsoft Update service, so to receive updates for other Microsoft products -# Подключаться к службе Microsoft Update так, чтобы при обновлении Windows получать обновления для других продуктов Майкрософт +# Receive updates for other Microsoft products when you update Windows +# При обновлении Windows получать обновления для других продуктов Майкрософт UpdateMicrosoftProducts -Enable -# Opt-out of Microsoft Update service, so not to receive updates for other Microsoft products (default value) -# Не подключаться к службе Microsoft Update так, чтобы при обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию) +# Do not receive updates for other Microsoft products when you update Windows (default value) +# При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию) # UpdateMicrosoftProducts -Disable # Set the power management scheme on "High performance" if device is a desktop @@ -574,63 +589,63 @@ PCTurnOffDevice -Disable # Разрешить отключение всех сетевых адаптеров для экономии энергии (значение по умолчанию) # PCTurnOffDevice -Enable -# Set the default input method to the English language -# Установить метод ввода по умолчанию на английский язык +# Override for default input method: English +# Переопределить метод ввода по умолчанию: английский SetInputMethod -English -# Reset the default input method -# Сбросить метод ввода по умолчанию +# Override for default input method: use langiage list (default value) +# Переопределить метод ввода по умолчанию: использовать список языков (значение по умолчанию) # SetInputMethod -Default <# - Change the location of the user folders to any disks root of your choice using the interactive menu (current user only) + Move user folders location to the root of any drive using the interactive menu User files or folders won't me moved to a new location - Изменить расположение пользовательских папок в корень любого диска на выбор с помощью интерактивного меню (только для текущего пользователя) + Переместить пользовательские папки в корень любого диска на выбор с помощью интерактивного меню Пользовательские файлы и папки не будут перемещены в новое расположение #> SetUserShellFolderLocation -Root <# - Select a folder for the location of the user folders manually using a folder browser dialog (current user only) + Select folders for user folders location manually using a folder browser dialog User files or folders won't me moved to a new location - Выбрать папку для расположения пользовательских папок вручную, используя диалог "Обзор папок" (только для текущего пользователя) + Выбрать папки для расположения пользовательских папок вручную, используя диалог "Обзор папок" Пользовательские файлы и папки не будут перемещены в новое расположение #> # SetUserShellFolderLocation -Custom <# - Change the location of the user folders to the default values (current user only) + Change user folders location to the default values User files or folders won't me moved to the new location - Изменить расположение пользовательских папок на значения по умолчанию (только для текущего пользователя) + Изменить расположение пользовательских папок на значения по умолчанию Пользовательские файлы и папки не будут перемещены в новое расположение #> # SetUserShellFolderLocation -Default -# Save screenshots by pressing Win+PrtScr to the Desktop folder (current user only) -# Сохранять скриншоты по нажатию Win+PrtScr в папку "рабочий стол" (только для текущего пользователя) +# Save screenshots by pressing Win+PrtScr on the Desktop +# Сохранять скриншоты по нажатию Win+PrtScr на рабочий столе WinPrtScrFolder -Desktop -# Save screenshots by pressing Win+PrtScr to the Pictures folder (current user only) (default value) -# Cохранять скриншоты по нажатию Win+PrtScr в папку "Изображения" (только для текущего пользователя) (значение по умолчанию) +# Save screenshots by pressing Win+PrtScr on the Pictures folder (default value) +# Cохранять скриншоты по нажатию Win+PrtScr в папку "Изображения" (значение по умолчанию) # WinPrtScrFolder -Default -# Launch folder windows in a separate process (current user only) -# Запускать окна с папками в отдельном процессе (только для текущего пользователя) +# Launch folder windows in a separate process +# Запускать окна с папками в отдельном процессе FoldersLaunchSeparateProcess -Enable -# Do not launch folder windows in a separate process (current user only) (default value) -# Не запускать окна с папками в отдельном процессе (только для текущего пользователя) (значение по умолчанию) +# Do not launch folder windows in a separate process (default value) +# Не запускать окна с папками в отдельном процессе (значение по умолчанию) # FoldersLaunchSeparateProcess -Disable -# Disable help lookup via F1 (current user only) -# Отключить открытие справки по нажатию F1 (только для текущего пользователя) +# Disable help look up via F1 +# Отключить открытие справки по нажатию F1 F1HelpPage -Disable -# Enable help lookup via F1 (current user only) (default value) -# Включить открытие справки по нажатию F1 (только для текущего пользователя) (значение по умолчанию) +# Enable help look up via F1 (default value) +# Включить открытие справки по нажатию F1 (значение по умолчанию) # F1HelpPage -Enable # Enable Num Lock at startup @@ -649,20 +664,20 @@ NumLock -Enable # Выключить Caps Lock (значение по умолчанию) # CapsLock -Disable -# Disable StickyKey after tapping the Shift key 5 times (current user only) -# Выключить залипание клавиши Shift после 5 нажатий (только для текущего пользователя) +# Disable StickyKey after tapping the Shift key 5 times +# Выключить залипание клавиши Shift после 5 нажатий StickyShift -Disable -# Enable StickyKey after tapping the Shift key 5 times (current user only) (default value) -# Включить залипание клавиши Shift после 5 нажатий (только для текущего пользователя) (значение по умолчанию) +# Enable StickyKey after tapping the Shift key 5 times (default value) +# Включить залипание клавиши Shift после 5 нажатий (значение по умолчанию) # StickyShift -Enable -# Disable AutoPlay for all media and devices (current user only) -# Выключать автозапуск для всех носителей и устройств (только для текущего пользователя) +# Disable AutoPlay for all media and devices +# Выключать автозапуск для всех носителей и устройств Autoplay -Disable -# Enable AutoPlay for all media and devices (current user only) (default value) -# Включить автозапуск для всех носителей и устройств (только для текущего пользователя) (значение по умолчанию) +# Enable AutoPlay for all media and devices (default value) +# Включить автозапуск для всех носителей и устройств (значение по умолчанию) # Autoplay -Enable # Disable thumbnail cache removal @@ -707,13 +722,13 @@ AppSuggestions -Hide # Показывать рекомендации в меню "Пуск" (значение по умолчанию) # AppSuggestions -Show -# Run the Command Prompt shortcut from the Start menu as Administrator -# Запускать ярлык командной строки в меню "Пуск" от имени Администратора -RunCMDShortcut -Elevated +# Run the Windows PowerShell shortcut from the Start menu as Administrator +# Запускать ярлык Windows PowerShell в меню "Пуск" от имени Администратора +RunPowerShellShortcut -Elevated -# Run the Command Prompt shortcut from the Start menu as user (default value) -# Запускать ярлык командной строки в меню "Пуск" от имени пользователя (значение по умолчанию) -# RunCMDShortcut -NonElevated +# Run the Windows PowerShell shortcut from the Start menu as user (default value) +# Запускать ярлык Windows PowerShell в меню "Пуск" от имени пользователя (значение по умолчанию) +# RunPowerShellShortcut -NonElevated #endregion Start menu #region Gaming @@ -745,35 +760,35 @@ SetAppGraphicsPerformance #region Scheduled tasks <# - Create the "Windows Cleanup" task to clean up unused files and Windows updates in the Task Scheduler + Create the "Windows Cleanup" scheduled task for cleaning up unused files and Windows updates A minute before the task starts, a warning in the Windows action center will appear The task runs every 90 days - Создать задачу "Windows Cleanup" в Планировщике задач по очистке неиспользуемых файлов и обновлений Windows + Создать задачу "Windows Cleanup" по очистке неиспользуемых файлов и обновлений Windows в Планировщике задач За минуту до выполнения задачи в Центре уведомлений Windows появится предупреждение Задача выполняется каждые 90 дней #> CleanUpTask -Register -# Delete the "Windows Cleanup" task to clean up unused files and Windows updates in the Task Scheduler -# Удалить задачу "Windows Cleanup" в Планировщике задач по очистке неиспользуемых файлов и обновлений Windows +# Delete the "Windows Cleanup" scheduled task for cleaning up unused files and Windows updates +# Удалить задачу "Windows Cleanup" по очистке неиспользуемых файлов и обновлений Windows из Планировщика задач # CleanUpTask -Delete <# - Create the "SoftwareDistribution" task to clear the %SystemRoot%\SoftwareDistribution\Download folder in the Task Scheduler + Create the "SoftwareDistribution" scheduled task for cleaning up the %SystemRoot%\SoftwareDistribution\Download folder The task runs on Thursdays every 4 weeks - Создать задачу "SoftwareDistribution" в Планировщике задач по очистке папки %SystemRoot%\SoftwareDistribution\Download + Создать задачу "SoftwareDistribution" по очистке папки %SystemRoot%\SoftwareDistribution\Download в Планировщике задач Задача выполняется по четвергам каждую 4 неделю #> SoftwareDistributionTask -Register -# Delete the "SoftwareDistribution" task to clear the %SystemRoot%\SoftwareDistribution\Download folder in the Task Scheduler -# Удалить задачу "SoftwareDistributionp" в Планировщике задач по очистке папки %SystemRoot%\SoftwareDistribution\Download +# Delete the "SoftwareDistribution" scheduled task for cleaning up the %SystemRoot%\SoftwareDistribution\Download folder +# Удалить задачу "SoftwareDistributionp" по очистке папки %SystemRoot%\SoftwareDistribution\Download из Планировщика задач # SoftwareDistributionTask -Delete <# - Create the "Temp" task to clear the %TEMP% folder in the Task Scheduler + Create the "Temp" scheduled task for cleaning up the %TEMP% folder The task runs every 62 days Создать задачу "Temp" в Планировщике задач по очистке папки %TEMP% @@ -781,8 +796,8 @@ SoftwareDistributionTask -Register #> TempTask -Register -# Delete a task to clear the %TEMP% folder in the Task Scheduler -# Удалить задачу в Планировщике задач по очистке папки %TEMP% +# Delete the "Temp" scheduled task for cleaning up the %TEMP% folder +# Удалить задачу "Temp" по очистке папки %TEMP% из Планировщика задач # TempTask -Delete #endregion Scheduled tasks @@ -914,25 +929,25 @@ AppsSmartScreen -Disable # Включить проверку приложений и файлов фильтром SmartScreen в Microsoft Defender (значение по умолчанию) # AppsSmartScreen -Enable -# Disable the Attachment Manager marking files that have been downloaded from the Internet as unsafe (current user only) -# Выключить проверку Диспетчером вложений файлов, скачанных из интернета, как небезопасные (только для текущего пользователя) +# Disable the Attachment Manager marking files that have been downloaded from the Internet as unsafe +# Выключить проверку Диспетчером вложений файлов, скачанных из интернета, как небезопасные SaveZoneInformation -Disable -# Enable the Attachment Manager marking files that have been downloaded from the Internet as unsafe (current user only) (default value) -# Включить проверку Диспетчера вложений файлов, скачанных из интернета как небезопасные (только для текущего пользователя) (значение по умолчанию) +# Enable the Attachment Manager marking files that have been downloaded from the Internet as unsafe (default value) +# Включить проверку Диспетчера вложений файлов, скачанных из интернета как небезопасные (значение по умолчанию) # SaveZoneInformation -Enable <# - Disable Windows Script Host (current user only) + Disable Windows Script Host Blocks WSH from executing .js and .vbs files - Отключить Windows Script Host (только для текущего пользователя) + Отключить Windows Script Host Блокирует запуск файлов .js и .vbs #> # WindowsScriptHost -Disable -# Enable Windows Script Host (current user only) (default value) -# Включить Windows Script Host (только для текущего пользователя) (значение по умолчанию) +# Enable Windows Script Host (default value) +# Включить Windows Script Host (значение по умолчанию) # WindowsScriptHost -Enable # Enable Windows Sandbox @@ -1029,7 +1044,7 @@ BitLockerContext -Hide # Удалить пункт "Точечный рисунок" из контекстного меню "Создать" BitmapImageNewContext -Remove -# Add the "Bitmap image" item in the "New" context menu (default value) +# Add the "Bitmap image" item to the "New" context menu (default value) # Восстановить пункт "Точечный рисунок" в контекстного меню "Создать" (значение по умолчанию) # BitmapImageNewContext -Add @@ -1037,7 +1052,7 @@ BitmapImageNewContext -Remove # Удалить пункт "Документ в формате RTF" из контекстного меню "Создать" RichTextDocumentNewContext -Remove -# Add the "Rich Text Document" item in the "New" context menu (default value) +# Add the "Rich Text Document" item to the "New" context menu (default value) # Восстановить пункт "Документ в формате RTF" в контекстного меню "Создать" (значение по умолчанию) # RichTextDocumentNewContext -Add @@ -1045,7 +1060,7 @@ RichTextDocumentNewContext -Remove # Удалить пункт "Сжатая ZIP-папка" из контекстного меню "Создать" CompressedFolderNewContext -Remove -# Add the "Compressed (zipped) Folder" item from the "New" context menu (default value) +# Add the "Compressed (zipped) Folder" item to the "New" context menu (default value) # Восстановить пункт "Сжатая ZIP-папка" в контекстном меню "Создать" (значение по умолчанию) # CompressedFolderNewContext -Add @@ -1065,7 +1080,7 @@ UseStoreOpenWith -Hide # Отображать пункт "Поиск приложения в Microsoft Store" в диалоге "Открыть с помощью" (значение по умолчанию) # UseStoreOpenWith -Show -# Hide the "Previous Versions" tab from files and folders context menu and also the "Restore previous versions" context menu item +# Hide the "Previous Versions" tab from the files and folders context menu and the "Restore previous versions" context menu item # Скрыть вкладку "Предыдущие версии" в свойствах файлов и папок, а также пункт контекстного меню "Восстановить прежнюю версию" PreviousVersionsPage -Hide @@ -1078,13 +1093,20 @@ PreviousVersionsPage -Hide Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar Restart the Start menu + Please, do not touch this function Симулировать нажатие F5 для обновления рабочего стола Обновить иконки рабочего стола, переменные среды, панель задач Перезапустить меню "Пуск" + Пожалуйста, не комментируйте данную функцию #> Refresh -# Errors output -# Вывод ошибок +<# + Errors output + Please, do not touch this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> Errors diff --git a/Sophia/LTSC/Sophia.psd1 b/Sophia/LTSC/Sophia.psd1 index 81c0c068..2d1ac390 100644 Binary files a/Sophia/LTSC/Sophia.psd1 and b/Sophia/LTSC/Sophia.psd1 differ diff --git a/Sophia/LTSC/Sophia.psm1 b/Sophia/LTSC/Sophia.psm1 index 4896f0e6..952d1db3 100644 --- a/Sophia/LTSC/Sophia.psm1 +++ b/Sophia/LTSC/Sophia.psm1 @@ -2,30 +2,35 @@ .SYNOPSIS "Windows 10 Sophia Script" (LTSC version) is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks - Version: v5.0.3 - Date: 04.02.2021 - Copyright (c) 2021 farag & oZ-Zo + Version: v5.0.4 + Date: 20.02.2021 + Copyright (c) 2015–2021 farag & oZ-Zo + + https://github.com/farag2 + https://github.com/oz-zo Thanks to all https://forum.ru-board.com members involved .DESCRIPTION - Supported Windows 10 versions: 1809 Enterprise LTSC, 17763 build, x64 - 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: - Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force - - .EXAMPLE - PS C:\> .\Sophia.ps1 - .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/post/521202/ https://forums.mydigitallife.net/threads/powershell-windows-10-sophia-script.81675/ https://www.reddit.com/r/PowerShell/comments/go2n5v/powershell_script_setup_windows_10/ + .NOTES + Supported Windows 10 + Version: 1809 + Build: 17763 + Edition: Enterprise LTSC + Architecture: x64 + + .NOTES + Set execution policy to be able to run scripts only in the current PowerShell session: + Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force + .LINK https://github.com/farag2/Windows-10-Sophia-Script #> @@ -36,11 +41,9 @@ function Checkings Set-StrictMode -Version Latest # Сlear the $Error variable - # Очистка переменной $Error $Global:Error.Clear() # Detect the OS bitness - # Определить разрядность ОС switch ([System.Environment]::Is64BitOperatingSystem) { $false @@ -51,7 +54,6 @@ function Checkings } # Detect the OS build version - # Определить номер билда ОС switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -eq 17763) { $false @@ -62,16 +64,15 @@ function Checkings } # Checking whether the current module version is the latest - # Проверка: используется ли последняя версия модуля try { $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - Invoke-WebRequest -Uri "https://raw.githubusercontent.com/farag2/Windows-10-Sophia-Script/master/LTSC/Sophia.psd1" -OutFile $DownloadsFolder\Manifest.psd1 -UseBasicParsing + Invoke-WebRequest -Uri "https://raw.githubusercontent.com/farag2/Windows-10-Sophia-Script/master/Sophia/LTSC/Sophia.psd1" -OutFile $DownloadsFolder\Manifest.psd1 -UseBasicParsing $LatestRelease = (Import-PowerShellDataFile -Path $DownloadsFolder\Manifest.psd1).ModuleVersion $CurrentRelease = (Get-Module -Name Sophia).Version.ToString() Remove-Item -Path $DownloadsFolder\Manifest.psd1 -Force - switch ([System.Version]$LatestRelease -lt [System.Version]$CurrentRelease) + switch ([System.Version]$LatestRelease -gt [System.Version]$CurrentRelease) { $true { @@ -91,11 +92,9 @@ function Checkings } # Unblock all files in the folder by removing the Zone.Identifier alternate data stream with a value of "3" - # Разблокировать все файлы в папке, удалив альтернативный потоки данных Zone.Identifier со значением "3" Get-ChildItem -Path $PSScriptRoot -Recurse -Force | Unblock-File -Confirm:$false # Turn off Controlled folder access to let the script proceed - # Отключить контролируемый доступ к папкам switch ((Get-MpPreference).EnableControlledFolderAccess) { "1" @@ -105,7 +104,6 @@ function Checkings Set-MpPreference -EnableControlledFolderAccess Disabled # Open "Ransomware protection" page - # Открыть раздел "Защита от программ-шантажистов" Start-Process -FilePath windowsdefender://RansomwareProtection } "0" @@ -116,13 +114,8 @@ function Checkings } #endregion Checkings -<# - Enable script logging. The log will be being recorded into the script folder - To stop logging just close the console or type "Stop-Transcript" - - Включить логирование работы скрипта. Лог будет записываться в папку скрипта - Чтобы остановить логгирование, закройте консоль или наберите "Stop-Transcript" -#> +# Enable script logging. The log will be being recorded into the script folder +# To stop logging just close the console or type "Stop-Transcript" function Logging { $TrascriptFilename = "Log-$((Get-Date).ToString("dd.MM.yyyy-HH-mm"))" @@ -130,7 +123,6 @@ function Logging } # Create a restore point for the system drive -# Создать точку восстановления для системного диска function CreateRestorePoint { $SystemDriveUniqueID = (Get-Volume | Where-Object {$_.DriveLetter -eq "$($env:SystemDrive[0])"}).UniqueID @@ -148,17 +140,14 @@ function CreateRestorePoint } # Never skip creating a restore point - # Никогда не пропускать создание точек восстановления New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" -Name SystemRestorePointCreationFrequency -PropertyType DWord -Value 0 -Force Checkpoint-Computer -Description "Windows 10 Sophia Script" -RestorePointType MODIFY_SETTINGS # Revert the System Restore checkpoint creation frequency to 1440 minutes - # Вернуть частоту создания точек восстановления на 1440 минут New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" -Name SystemRestorePointCreationFrequency -PropertyType DWord -Value 1440 -Force # Turn off System Protection for the system drive if it was turned off without deleting existing restore points - # Отключить защиту системы для диска C:\, если был отключен, не удаляя точки восстановления if ($ComputerRestorePoint) { Disable-ComputerRestore -Drive $env:SystemDrive @@ -168,16 +157,13 @@ function CreateRestorePoint #region Privacy & Telemetry <# .SYNOPSIS - Disable/enable the DiagTrack service, firewall rule for Unified Telemetry Client Outbound Traffic and block connection - Отключить/включить службу DiagTrack, правила брандмауэра для исходящего трафик клиента единой телеметрии и заблокировать соединение + Configure the DiagTrack service, firewall rule for Unified Telemetry Client Outbound Traffic and block connection .PARAMETER Disable Disable the DiagTrack service, firewall rule for Unified Telemetry Client Outbound Traffic and block connection - Отключить службу DiagTrack, правила брандмауэра для исходящего трафик клиента единой телеметрии и заблокировать соединение .PARAMETER Enable Enable the DiagTrack service, firewall rule for Unified Telemetry Client Outbound Traffic and allow connection - Включить службу DiagTrack, правила брандмауэра для исходящего трафик клиента единой телеметрии и разрешить соединение .EXAMPLE DiagTrackService -Disable @@ -186,8 +172,7 @@ function CreateRestorePoint DiagTrackService -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function DiagTrackService { @@ -216,7 +201,6 @@ function DiagTrackService Get-Service -Name DiagTrack | Start-Service # Enable firewall rule for Unified Telemetry Client Outbound Traffic and allow connection - # Включить правила брандмауэра для исходящего трафика клиента единой телеметрии и разрешить соединение Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled True -Action Allow } "Disable" @@ -225,7 +209,6 @@ function DiagTrackService Get-Service -Name DiagTrack | Set-Service -StartupType Disabled # Disable firewall rule for Unified Telemetry Client Outbound Traffic and block connection - # Отключить правила брандмауэра для исходящего трафик клиента единой телеметрии и заблокировать соединение Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled False -Action Block } } @@ -233,22 +216,22 @@ function DiagTrackService <# .SYNOPSIS - Set the OS level of diagnostic data gathering to minimum/default - Установить уровень сбора диагностических сведений ОС на минимальный/по умолчанию + Configure the OS level of diagnostic data gathering .PARAMETER Minimal Set the OS level of diagnostic data gathering to minimum - Установить уровень сбора диагностических сведений ОС на минимальный .PARAMETER Default Set the OS level of diagnostic data gathering to minimum - Установить уровень сбора диагностических сведений ОС на минимальный .EXAMPLE DiagnosticDataLevel -Minimal .EXAMPLE DiagnosticDataLevel -Default + + .NOTES + Machine-wide #> function DiagnosticDataLevel { @@ -284,16 +267,13 @@ function DiagnosticDataLevel <# .SYNOPSIS - Turn off/turn on Windows Error Reporting for the current user - Отключить/включить отчеты об ошибках Windows для текущего пользователя + Configure the Windows Error Reporting .PARAMETER Disable - Turn off Windows Error Reporting for the current user - Отключить отчеты об ошибках Windows для текущего пользователя + Turn off Windows Error Reporting .PARAMETER Enable - Turn on Windows Error Reporting for the current user - Включить отчеты об ошибках Windows для текущего пользователя + Turn on Windows Error Reporting .EXAMPLE ErrorReporting -Disable @@ -302,8 +282,7 @@ function DiagnosticDataLevel ErrorReporting -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function ErrorReporting { @@ -344,16 +323,13 @@ function ErrorReporting <# .SYNOPSIS - Change Windows feedback frequency to "Never"/"Automatically" for the current user - Изменить частоту формирования отзывов на "Никогда"/"Автоматически" для текущего пользователя + Configure the Windows feedback frequency .PARAMETER Disable - Change Windows feedback frequency to "Never" for the current user - Изменить частоту формирования отзывов на "Никогда" для текущего пользователя + Change Windows feedback frequency to "Never" .PARAMETER Enable - Change Windows feedback frequency to "Automatically" for the current user - Изменить частоту формирования отзывов на "Автоматически" для текущего пользователя + Change Windows feedback frequency to "Automatically" .EXAMPLE WindowsFeedback -Disable @@ -362,8 +338,7 @@ function ErrorReporting WindowsFeedback -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function WindowsFeedback { @@ -403,16 +378,13 @@ function WindowsFeedback <# .SYNOPSIS - Turn off/turn on diagnostics tracking scheduled tasks - Отключить/включить задачи диагностического отслеживания + Configure the diagnostics tracking scheduled tasks .PARAMETER Disable - Turn off on diagnostics tracking scheduled tasks - Отключить задачи диагностического отслеживания + Turn off the diagnostics tracking scheduled tasks .PARAMETER Enable - Turn on diagnostics tracking scheduled tasks - Включить задачи диагностического отслеживания + Turn on the diagnostics tracking scheduled tasks .EXAMPLE ScheduledTasks -Disable @@ -422,12 +394,7 @@ function WindowsFeedback .NOTES A pop-up dialog box enables the user to select tasks - Current user only - - Используется всплывающее диалоговое окно, позволяющее пользователю отмечать задачи - Только для текущего пользователя - - Made by https://github.com/oz-zo + Current user #> function ScheduledTasks { @@ -452,11 +419,9 @@ function ScheduledTasks #region Variables # Initialize an array list to store the selected scheduled tasks - # Создать массив для выбранных задач $SelectedTasks = New-Object -TypeName System.Collections.ArrayList($null) # The following tasks will have their checkboxes checked - # Следующие задачи будут иметь чекбоксы отмеченными [string[]]$CheckedScheduledTasks = @( # Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program # Сбор телеметрических данных программы при участии в программе улучшения качества ПО @@ -509,7 +474,6 @@ function ScheduledTasks #region XAML Markup # The section defines the design of the upcoming dialog box - # Раздел, определяющий форму диалогового окна [xml]$XAML = ' function SigninInfo { @@ -754,16 +712,13 @@ function SigninInfo <# .SYNOPSIS - Do not let/let websites provide locally relevant content by accessing language list - Не позволять/позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков + Configure the provision to websites of locally relevant content by accessing language list .PARAMETER Disable Do not let websites provide locally relevant content by accessing language list - Не позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков .PARAMETER Enable Let websites provide locally relevant content by accessing language list - Позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков .EXAMPLE LanguageListAccess -Disable @@ -772,8 +727,7 @@ function SigninInfo LanguageListAccess -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function LanguageListAccess { @@ -809,16 +763,13 @@ function LanguageListAccess <# .SYNOPSIS - Do not allow/allow apps to use advertising ID - Не разрешать/разрешать приложениям использовать идентификатор рекламы + Configure the permission for apps to use advertising ID .PARAMETER Disable Do not allow apps to use advertising ID - Не разрешать приложениям использовать идентификатор рекламы .PARAMETER Enable Do not allow apps to use advertising ID - Не разрешать приложениям использовать идентификатор рекламы .EXAMPLE AdvertisingID -Disable @@ -827,8 +778,7 @@ function LanguageListAccess AdvertisingID -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function AdvertisingID { @@ -868,16 +818,13 @@ function AdvertisingID <# .SYNOPSIS - Do not let/let apps on other devices open and message apps on this device, and vice versa - Не разрешать/разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот + Configure the permission for apps on other devices open and message apps on this device, and vice versa .PARAMETER Disable Do not let apps on other devices open and message apps on this device, and vice versa - Не разрешать/разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот .PARAMETER Enable Let apps on other devices open and message apps on this device, and vice versa - разрешать приложениям на других устройствах запускать приложения и отправлять сообщения на этом устройстве и наоборот .EXAMPLE ShareAcrossDevices -Disable @@ -886,8 +833,7 @@ function AdvertisingID ShareAcrossDevices -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function ShareAcrossDevices { @@ -925,16 +871,13 @@ function ShareAcrossDevices #region UI & Personalization <# .SYNOPSIS - Show/hide "This PC" on Desktop - Отображать/скрывать "Этот компьютер" на рабочем столе + Configure the "This PC" icon on Desktop .PARAMETER Hide - Show "This PC" on Desktop - Отображать "Этот компьютер" на рабочем столе + Show the "This PC" icon on Desktop .PARAMETER Show - Hide "This PC" on Desktop - Скрывать "Этот компьютер" на рабочем столе + Hide the "This PC" icon on Desktop .EXAMPLE ThisPC -Hide @@ -943,8 +886,7 @@ function ShareAcrossDevices ThisPC -Show .NOTES - Current user only - Только для текущего пользователя + Current user #> function ThisPC { @@ -984,16 +926,13 @@ function ThisPC <# .SYNOPSIS - Do not use/use check boxes to select items - Не использовать/использовать флажки для выбора элементов + Configure check boxes to select items .PARAMETER Disable Do not use check boxes to select items - Не использовать флажки для выбора элементов .PARAMETER Enable Use check boxes to select items - Использовать флажки для выбора элементов .EXAMPLE CheckBoxes -Disable @@ -1002,8 +941,7 @@ function ThisPC CheckBoxes -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function CheckBoxes { @@ -1039,16 +977,13 @@ function CheckBoxes <# .SYNOPSIS - Show/do not show hidden files, folders, and drives - Отображать/не отображать скрытые файлы, папки и диски + Configure the display of hidden files, folders, and drives .PARAMETER Enable Show hidden files, folders, and drives - Отображать скрытые файлы, папки и диски .PARAMETER Disable Do not show hidden files, folders, and drives - Не отображать скрытые файлы, папки и диски .EXAMPLE HiddenItems -Enable @@ -1057,8 +992,7 @@ function CheckBoxes HiddenItems -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function HiddenItems { @@ -1094,16 +1028,13 @@ function HiddenItems <# .SYNOPSIS - Show/hide file name extensions - Отображать/скрывать расширения имён файлов + Configure the display of file name extensions .PARAMETER Show Show file name extensions - Отображать расширения имён файлов .PARAMETER Hide Hide file name extensions - Скрывать расширения имён файлов .EXAMPLE FileExtensions -Show @@ -1112,8 +1043,7 @@ function HiddenItems FileExtensions -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function FileExtensions { @@ -1149,16 +1079,13 @@ function FileExtensions <# .SYNOPSIS - Show/hide folder merge conflicts - Отображать/скрывать конфликт слияния папок + Configure folder merge conflicts .PARAMETER Show Show folder merge conflicts - Отображать конфликт слияния папок .PARAMETER Hide Hide folder merge conflicts - Скрывать конфликт слияния папок .EXAMPLE MergeConflicts -Show @@ -1167,8 +1094,7 @@ function FileExtensions MergeConflicts -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function MergeConflicts { @@ -1204,16 +1130,13 @@ function MergeConflicts <# .SYNOPSIS - Open File Explorer to "This PC" or "Quick access" - Открывать проводник для "Этот компьютер" или "Быстрый доступ" + Configure how to open File Explorer .PARAMETER ThisPC Open File Explorer to "This PC" - Открывать проводник для "Этот компьютер" .PARAMETER QuickAccess Open File Explorer to "Quick access" - Открывать проводник для "Быстрый доступ" .EXAMPLE OpenFileExplorerTo -ThisPC @@ -1222,8 +1145,7 @@ function MergeConflicts OpenFileExplorerTo -QuickAccess .NOTES - Current user only - Только для текущего пользователя + Current user #> function OpenFileExplorerTo { @@ -1264,11 +1186,9 @@ function OpenFileExplorerTo .PARAMETER Hide Show Task View button on the taskbar - Не показывать кнопку Просмотра задач .PARAMETER Show Do not show Task View button on the taskbar - Не показывать кнопку Просмотра задач .EXAMPLE TaskViewButton -Hide @@ -1277,8 +1197,7 @@ function OpenFileExplorerTo TaskViewButton -Show .NOTES - Current user only - Только для текущего пользователя + Current user #> function TaskViewButton { @@ -1314,16 +1233,13 @@ function TaskViewButton <# .SYNOPSIS - Hide/show People button on the taskbar - Скрывать/показывать панель "Люди" на панели задач + Configure People button on the taskbar .PARAMETER Hide Hide People button on the taskbar - Скрывать панель "Люди" на панели задач .PARAMETER Show Show People button on the taskbar - Показывать панель "Люди" на панели задач .EXAMPLE PeopleTaskbar -Hide @@ -1332,8 +1248,7 @@ function TaskViewButton PeopleTaskbar -Show .NOTES - Current user only - Только для текущего пользователя + Current user #> function PeopleTaskbar { @@ -1377,16 +1292,13 @@ function PeopleTaskbar <# .SYNOPSIS - Show/hide seconds on the taskbar clock - Отображать/скрывать секунды в системных часах на панели задач + Configure seconds on the taskbar clock .PARAMETER Hide Hide seconds on the taskbar clock - Скрывать секунды в системных часах на панели задач .PARAMETER Show Show seconds on the taskbar clock - Отображать секунды в системных часах на панели задач .EXAMPLE SecondsInSystemClock -Hide @@ -1395,8 +1307,7 @@ function PeopleTaskbar SecondsInSystemClock -Show .NOTES - Current user only - Только для текущего пользователя + Current user #> function SecondsInSystemClock { @@ -1432,16 +1343,13 @@ function SecondsInSystemClock <# .SYNOPSIS - When I snap a window, do not show/show what I can snap next to it - При прикреплении окна не показывать/показывать, что можно прикрепить рядом с ним + Configure windows snapping .PARAMETER Disable When I snap a window, do not show what I can snap next to it - При прикреплении окна не показывать, что можно прикрепить рядом с ним .PARAMETER Enable When I snap a window, show what I can snap next to it - При прикреплении окна не показывать/показывать, что можно прикрепить рядом с ним .EXAMPLE SnapAssist -Disable @@ -1450,8 +1358,7 @@ function SecondsInSystemClock SnapAssist -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function SnapAssist { @@ -1487,16 +1394,13 @@ function SnapAssist <# .SYNOPSIS - Always open the file transfer dialog box in the detailed/compact mode - Всегда открывать диалоговое окно передачи файлов в развернутом/свернутом виде + Configure the file transfer dialog box .PARAMETER Detailed Always open the file transfer dialog box in the detailed mode - Всегда открывать диалоговое окно передачи файлов в развернутом виде .PARAMETER Compact Always open the file transfer dialog box in the compact mode - Всегда открывать диалоговое окно передачи файлов в развернутом виде .EXAMPLE FileTransferDialog -Detailed @@ -1505,8 +1409,7 @@ function SnapAssist FileTransferDialog -Compact .NOTES - Current user only - Только для текущего пользователя + Current user #> function FileTransferDialog { @@ -1550,16 +1453,13 @@ function FileTransferDialog <# .SYNOPSIS - Always expand/minimize the ribbon in the File Explorer - Всегда разворачивать/сворачивать ленту в проводнике + Configure the File Explorer ribbon .PARAMETER Expanded - Always expand the ribbon in the File Explorer - Всегда разворачивать ленту в проводнике + Expand the File Explorer ribbon .PARAMETER Minimized - Always minimize the ribbon in the File Explorer - Всегда разворачивать ленту в проводнике + Minimize the File Explorer ribbon .EXAMPLE FileExplorerRibbon -Expanded @@ -1568,8 +1468,7 @@ function FileTransferDialog FileExplorerRibbon -Minimized .NOTES - Current user only - Только для текущего пользователя + Current user #> function FileExplorerRibbon { @@ -1613,16 +1512,13 @@ function FileExplorerRibbon <# .SYNOPSIS - Display/do not display recycle bin files delete confirmation - Запрашивать/не запрашивать подтверждение на удаление файлов в корзину + Configure the recycle bin files delete confirmation .PARAMETER Disable - Display/do not display recycle bin files delete confirmation - Запрашивать/не запрашивать подтверждение на удаление файлов в корзину + Display/do not display the recycle bin files delete confirmation .PARAMETER Enable - Display/do not display recycle bin files delete confirmation - Запрашивать/не запрашивать подтверждение на удаление файлов в корзину + Display/do not display the recycle bin files delete confirmation .EXAMPLE RecycleBinDeleteConfirmation -Disable @@ -1631,8 +1527,7 @@ function FileExplorerRibbon RecycleBinDeleteConfirmation -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function RecycleBinDeleteConfirmation { @@ -1661,7 +1556,6 @@ function RecycleBinDeleteConfirmation private static readonly IntPtr hWnd = new IntPtr(65535); private const int Msg = 273; // Virtual key ID of the F5 in File Explorer -// Виртуальный код клавиши F5 в проводнике private static readonly UIntPtr UIntPtr = new UIntPtr(41504); [DllImport("user32.dll", SetLastError=true)] @@ -1669,7 +1563,6 @@ public static extern int PostMessageW(IntPtr hWnd, uint Msg, UIntPtr wParam, Int public static void PostMessage() { // F5 pressing simulation to refresh the desktop - // Симуляция нажатия F5 для обновления рабочего стола PostMessageW(hWnd, Msg, UIntPtr, IntPtr.Zero); } "@ @@ -1696,22 +1589,18 @@ public static void PostMessage() } # Send F5 pressing simulation to refresh the desktop - # Симулировать нажатие F5 для обновления рабочего стола [WinAPI.UpdateDesktop]::PostMessage() } <# .SYNOPSIS - Hide/show the "3D Objects" folder in "This PC" and "Quick access" - Скрыть/отобразить папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа + Configure the "3D Objects" folder in "This PC" and "Quick access" .PARAMETER Show Show the "3D Objects" folder in "This PC" and "Quick access" - Отобразить папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа .PARAMETER Hide Hide the "3D Objects" folder in "This PC" and "Quick access" - Скрыть папку "Объемные объекты" в "Этот компьютер" и панели быстрого доступа .EXAMPLE 3DObjects -Show @@ -1720,8 +1609,7 @@ public static void PostMessage() 3DObjects -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function 3DObjects { @@ -1759,16 +1647,13 @@ function 3DObjects } # 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 # Restoring closed folders - # Восстановить закрытые папки foreach ($OpenedFolder in $OpenedFolders) { if (Test-Path -Path $OpenedFolder) @@ -1780,16 +1665,13 @@ function 3DObjects <# .SYNOPSIS - Hide/show frequently used folders in "Quick access" - Скрывать/показывать недавно используемые папки на панели быстрого доступа + Configure frequently used folders in "Quick access" .PARAMETER Show Show frequently used folders in "Quick access" - Показывать недавно используемые папки на панели быстрого доступа .PARAMETER Hide Hide frequently used folders in "Quick access" - Скрывать недавно используемые папки на панели быстрого доступа .EXAMPLE QuickAccessFrequentFolders -Show @@ -1798,8 +1680,7 @@ function 3DObjects QuickAccessFrequentFolders -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function QuickAccessFrequentFolders { @@ -1835,16 +1716,13 @@ function QuickAccessFrequentFolders <# .SYNOPSIS - Hide/show recently used files in Quick access - Скрывать/показывать недавно использовавшиеся файлы на панели быстрого доступа + Configure recently used files in Quick access .PARAMETER Show Show recently used files in Quick access - Показывать недавно использовавшиеся файлы на панели быстрого доступа .PARAMETER Hide Hide recently used files in Quick access - Скрывать недавно использовавшиеся файлы на панели быстрого доступа .EXAMPLE QuickAccessRecentFiles -Show @@ -1853,8 +1731,7 @@ function QuickAccessFrequentFolders QuickAccessRecentFiles -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function QuickAccessRecentFiles { @@ -1890,20 +1767,16 @@ function QuickAccessRecentFiles <# .SYNOPSIS - Hide/show the search box or search icon on the taskbar - Скрыть/показать поле или значок поиска на панели задач + Configure search on the taskbar .PARAMETER SearchBox Show the search box on the taskbar - Показать поле поиска на панели задач .PARAMETER SearchIcon Show the search icon on the taskbar - Показать значок поиска на панели задач .PARAMETER Hide - Hide the search box on the taskbar - Скрывать поле поиска на панели задач + Hide the search on the taskbar .EXAMPLE TaskbarSearch -SearchBox @@ -1915,8 +1788,7 @@ function QuickAccessRecentFiles TaskbarSearch -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function TaskbarSearch { @@ -1964,15 +1836,12 @@ function TaskbarSearch <# .SYNOPSIS Always show/hide all icons in the notification area - Всегда отображать/скрывать все значки в области уведомлений .PARAMETER Show Always show all icons in the notification area - Всегда отображать все значки в области уведомлений .PARAMETER Hide Hide all icons in the notification area - Скрывать все значки в области уведомлений .EXAMPLE TrayIcons -Show @@ -1981,8 +1850,7 @@ function TaskbarSearch TrayIcons -Hide .NOTES - Current user only - Только для текущего пользователя + Current user #> function TrayIcons { @@ -2018,31 +1886,40 @@ function TrayIcons <# .SYNOPSIS - View the Control Panel icons by: large icons/category - Просмотр иконок Панели управления как: крупные значки/категория + Configure the Control Panel icons view + + .PARAMETER Category + View the Control Panel icons by: category .PARAMETER LargeIcons View the Control Panel icons by: large icons - Просмотр иконок Панели управления как: крупные значки - .PARAMETER Category - View the Control Panel icons by: category - Просмотр иконок Панели управления как: категория + .PARAMETER SmallIcons + View the Control Panel icons by: Small icons + + .EXAMPLE + ControlPanelView -Category .EXAMPLE ControlPanelView -LargeIcons .EXAMPLE - ControlPanelView -Category + ControlPanelView -SmallIcons .NOTES - Current user only - Только для текущего пользователя + Current user #> function ControlPanelView { param ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Category" + )] + [switch] + $Category, + [Parameter( Mandatory = $true, ParameterSetName = "LargeIcons" @@ -2052,14 +1929,23 @@ function ControlPanelView [Parameter( Mandatory = $true, - ParameterSetName = "Category" + ParameterSetName = "SmallIcons" )] [switch] - $Category + $SmallIcons ) switch ($PSCmdlet.ParameterSetName) { + "Category" + { + if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + { + New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + } + New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name AllItemsIconView -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 0 -Force + } "LargeIcons" { if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) @@ -2069,30 +1955,27 @@ function ControlPanelView New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name AllItemsIconView -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -Force } - "Category" + "SmallIcons" { if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name AllItemsIconView -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name AllItemsIconView -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -Force } } } <# .SYNOPSIS - Set the Windows mode color scheme to the light/dark - Установить режим цвета для Windows на светлый/темный + Configure the Windows mode color scheme .PARAMETER Light Set the Windows mode color scheme to the light - Установить режим цвета для Windows на светлый .PARAMETER Dark Set the Windows mode color scheme to the dark - Установить режим цвета для Windows на темный .EXAMPLE WindowsColorScheme -Light @@ -2101,8 +1984,7 @@ function ControlPanelView WindowsColorScheme -Dark .NOTES - Current user only - Только для текущего пользователя + Current user #> function WindowsColorScheme { @@ -2138,16 +2020,13 @@ function WindowsColorScheme <# .SYNOPSIS - Set the default app mode color scheme to the light/dark - Установить цвет режима приложений по умолчанию на светлый/темный + Configure the default app mode color scheme .PARAMETER Light Set the default app mode color scheme to the light - Установить цвет режима приложений по умолчанию на светлый .PARAMETER Dark Set the default app mode color scheme to the dark - Установить цвет режима приложений по умолчанию на темный .EXAMPLE AppMode -Light @@ -2156,8 +2035,7 @@ function WindowsColorScheme AppMode -Dark .NOTES - Current user only - Только для текущего пользователя + Current user #> function AppMode { @@ -2193,16 +2071,13 @@ function AppMode <# .SYNOPSIS - Hide/show the "New App Installed" indicator - Скрывать/показывать уведомление "Установлено новое приложение" + Configure the "New App Installed" indicator .PARAMETER Hide Hide the "New App Installed" indicator - Скрывать уведомление "Установлено новое приложение" .PARAMETER Show Show the "New App Installed" indicator - Показывать уведомление "Установлено новое приложение" .EXAMPLE NewAppInstalledNotification -Hide @@ -2211,8 +2086,7 @@ function AppMode NewAppInstalledNotification -Show .NOTES - Current user only - Только для текущего пользователя + Current user #> function NewAppInstalledNotification { @@ -2256,16 +2130,13 @@ function NewAppInstalledNotification <# .SYNOPSIS - Hide user/show first sign-in animation after the upgrade - Скрывать/показывать анимацию при первом входе в систему после обновления + Configure first sign-in animation after the upgrade .PARAMETER Hide - Hide user/show first sign-in animation after the upgrade - Скрывать/показывать анимацию при первом входе в систему после обновления + Hide first sign-in animation after the upgrade .PARAMETER Show - Hide user/show first sign-in animation after the upgrade - Скрывать/показывать анимацию при первом входе в систему после обновления + Show first sign-in animation after the upgrade .EXAMPLE FirstLogonAnimation -Disable @@ -2274,8 +2145,7 @@ function NewAppInstalledNotification FirstLogonAnimation -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function FirstLogonAnimation { @@ -2311,16 +2181,13 @@ function FirstLogonAnimation <# .SYNOPSIS - Set the quality factor of the JPEG desktop wallpapers to maximum/default - Установить коэффициент качества обоев рабочего стола в формате JPEG на максимальный/по умолчанию + Configure the quality factor of the JPEG desktop wallpapers .PARAMETER Max Set the quality factor of the JPEG desktop wallpapers to maximum - Установить коэффициент качества обоев рабочего стола в формате JPEG на максимальный .PARAMETER Default Set the quality factor of the JPEG desktop wallpapers to default - Установить коэффициент качества обоев рабочего стола в формате JPEG на значение по умолчанию .EXAMPLE JPEGWallpapersQuality -Max @@ -2329,8 +2196,7 @@ function FirstLogonAnimation JPEGWallpapersQuality -Default .NOTES - Current user only - Только для текущего пользователя + Current user #> function JPEGWallpapersQuality { @@ -2366,16 +2232,13 @@ function JPEGWallpapersQuality <# .SYNOPSIS - Start Task Manager in the expanded/compact mode - Запускать Диспетчера задач в развернутом/свернутом виде + Configure the Task Manager mode .PARAMETER Expanded Start Task Manager in the expanded mode - Запускать Диспетчера задач в развернутом виде .PARAMETER Compact Start Task Manager in the compact mode - Запускать Диспетчера задач в свернутом виде .EXAMPLE TaskManagerWindow -Expanded @@ -2384,8 +2247,7 @@ function JPEGWallpapersQuality TaskManagerWindow -Compact .NOTES - Current user only - Только для текущего пользователя + Current user #> function TaskManagerWindow { @@ -2444,16 +2306,13 @@ function TaskManagerWindow <# .SYNOPSIS - Show/hide a notification when your PC requires a restart to finish updating - Показывать/скрывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления + Configure a notification when your PC requires a restart to finish updating .PARAMETER Hide Hide a notification when your PC requires a restart to finish updating - Скрывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления .PARAMETER Show Show a notification when your PC requires a restart to finish updating - Показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления .EXAMPLE RestartNotification -Hide @@ -2462,8 +2321,7 @@ function TaskManagerWindow RestartNotification -Show .NOTES - Current user only - Только для текущего пользователя + Current user #> function RestartNotification { @@ -2499,16 +2357,13 @@ function RestartNotification <# .SYNOPSIS - Do not add/add the "- Shortcut" suffix to the file name of created shortcuts - Нe дoбaвлять/добавлять "- яpлык" к имени coздaвaeмых яpлыков + Configure the "- Shortcut" suffix adding to the name of the created shortcuts .PARAMETER Disable Do not add the "- Shortcut" suffix to the file name of created shortcuts - Нe дoбaвлять "- яpлык" к имени coздaвaeмых яpлыков .PARAMETER Enable Add the "- Shortcut" suffix to the file name of created shortcuts - Добавлять "- яpлык" к имени coздaвaeмых яpлыков .EXAMPLE ShortcutsSuffix -Disable @@ -2517,8 +2372,7 @@ function RestartNotification ShortcutsSuffix -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function ShortcutsSuffix { @@ -2558,16 +2412,13 @@ function ShortcutsSuffix <# .SYNOPSIS - Use/do not use the PrtScn button to open screen snipping - Использовать/не использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана + Configure the PrtScn button usage .PARAMETER Disable Use the PrtScn button to open screen snipping - Использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана .PARAMETER Enable Do not use the PrtScn button to open screen snipping - Не использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана .EXAMPLE PrtScnSnippingTool -Disable @@ -2576,8 +2427,7 @@ function ShortcutsSuffix PrtScnSnippingTool -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function PrtScnSnippingTool { @@ -2613,16 +2463,13 @@ function PrtScnSnippingTool <# .SYNOPSIS - Let/do not let use a different input method for each app window - Позволить/не позволять выбирать метод ввода для каждого окна + Configure an input method for each app window .PARAMETER Enable Let use a different input method for each app window - Позволить выбирать метод ввода для каждого окна .PARAMETER Disable Do not let use a different input method for each app window - Не позволять выбирать метод ввода для каждого окна .EXAMPLE AppsLanguageSwitch -Disable @@ -2631,8 +2478,7 @@ function PrtScnSnippingTool AppsLanguageSwitch -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function AppsLanguageSwitch { @@ -2671,16 +2517,13 @@ function AppsLanguageSwitch #region StorageSense <# .SYNOPSIS - Turn on/turn off Storage Sense - Включить/отключить Контроль памяти + Configure Storage Sense .PARAMETER Disable Turn off Storage Sense - Отключить Контроль памяти .PARAMETER Enable Turn on off Storage Sense - Включить Контроль памяти .EXAMPLE StorageSense -Disable @@ -2689,8 +2532,7 @@ function AppsLanguageSwitch StorageSense -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function StorageSense { @@ -2734,16 +2576,13 @@ function StorageSense <# .SYNOPSIS - Run Storage Sense every month/during low free disk space - Запускать Контроль памяти каждый месяц/когда остается мало место на диске + Configure Storage Sense running .PARAMETER Disable Run Storage Sense every month/during low free disk space - Запускать Контроль памяти каждый месяц/когда остается мало место на диске .PARAMETER Enable Run Storage Sense every month/during low free disk space - Запускать Контроль памяти каждый месяц/когда остается мало место на диске .EXAMPLE StorageSenseFrequency -Month @@ -2752,8 +2591,7 @@ function StorageSense StorageSenseFrequency -Default .NOTES - Current user only - Только для текущего пользователя + Current user #> function StorageSenseFrequency { @@ -2795,16 +2633,13 @@ function StorageSenseFrequency <# .SYNOPSIS - Delete/do not delete temporary files that apps aren't using - Удалять/не удалять временные файлы, не используемые в приложениях + Configure temporary files deletion .PARAMETER Enable Delete temporary files that apps aren't using - Удалять временные файлы, не используемые в приложениях .PARAMETER Disable Do not delete temporary files that apps aren't using - Не удалять временные файлы, не используемые в приложениях .EXAMPLE StorageSenseTempFiles -Enable @@ -2813,8 +2648,7 @@ function StorageSenseFrequency StorageSenseTempFiles -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function StorageSenseTempFiles { @@ -2856,16 +2690,13 @@ function StorageSenseTempFiles <# .SYNOPSIS - Delete/do not delete files in recycle bin if they have been there for over 30 days - Удалять/не удалять файлы из корзины, если они находятся в корзине более 30 дней + Configure files in recycle bin deletion .PARAMETER Disable Delete files in recycle bin if they have been there for over 30 days - Удалять файлы из корзины, если они находятся в корзине более 30 дней .PARAMETER Enable Do not delete files in recycle bin if they have been there for over 30 days - Не удалять файлы из корзины, если они находятся в корзине более 30 дней .EXAMPLE StorageSenseRecycleBin -Enable @@ -2874,8 +2705,7 @@ function StorageSenseTempFiles StorageSenseRecycleBin -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function StorageSenseRecycleBin { @@ -2920,22 +2750,22 @@ function StorageSenseRecycleBin <# .SYNOPSIS - Disable (if the device is not a laptop)/enable hibernation - Отключить (если устройство не является ноутбуком)/включить режим гибернации + Configure hibernation .PARAMETER Disable - Disable hibernation if the device is not a laptop - Отключить режим гибернации, если устройство не является ноутбуком + Disable hibernation (if the device is not a laptop) .PARAMETER Enable Enable hibernation - Включить режим гибернации .EXAMPLE Hibernate -Enable .EXAMPLE Hibernate -Disable + + .NOTES + Current user #> function Hibernate { @@ -2974,16 +2804,13 @@ function Hibernate <# .SYNOPSIS - Change the %TEMP% environment variable path to the "%SystemDrive%\Temp"/default value - Изменить путь переменной среды для %TEMP% на "%SystemDrive%\Temp"/по умолчанию + Configure the %TEMP% environment variable path .PARAMETER SystemDrive Change the %TEMP% environment variable path to "%SystemDrive%\Temp" - Изменить путь переменной среды для %TEMP% на "%SystemDrive%\Temp" .PARAMETER Default Change the %TEMP% environment variable path to "%LOCALAPPDATA%\Temp" - Изменить путь переменной среды для %TEMP% на "%LOCALAPPDATA%\Temp" .EXAMPLE TempFolder -SystemDrive @@ -2993,7 +2820,6 @@ function Hibernate .NOTES Machine-wide - Для всех пользователей #> function TempFolder { @@ -3019,12 +2845,8 @@ function TempFolder "SystemDrive" { # Restart the Printer Spooler service (Spooler) - # Перезапустить службу "Диспетчер печати" (Spooler) Restart-Service -Name Spooler -Force - Stop-Process -Name OneDrive -Force -ErrorAction Ignore - Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore - if (-not (Test-Path -Path $env:SystemDrive\Temp)) { New-Item -Path $env:SystemDrive\Temp -ItemType Directory -Force @@ -3054,7 +2876,6 @@ function TempFolder "0" { # Create a symbolic link to the %SystemDrive%\Temp folder - # Создать символическую ссылку к папке %SystemDrive%\Temp try { Get-Item -Path $env:LOCALAPPDATA\Temp -Force | Where-Object -FilterScript {$_.LinkType -ne "SymbolicLink"} | Remove-Item -Recurse -Force -ErrorAction Ignore @@ -3078,7 +2899,6 @@ function TempFolder else { # Create a symbolic link to the %SystemDrive%\Temp folder - # Создать символическую ссылку к папке %SystemDrive%\Temp New-Item -Path $env:LOCALAPPDATA\Temp -ItemType SymbolicLink -Value $env:SystemDrive\Temp -Force } @@ -3101,7 +2921,6 @@ function TempFolder "Default" { # Remove a symbolic link to the %SystemDrive%\Temp folder - # Удалить символическую ссылку к папке %SystemDrive%\Temp if (Get-Item -Path $env:LOCALAPPDATA\Temp -Force -ErrorAction Ignore | Where-Object -FilterScript {$_.LinkType -eq "SymbolicLink"}) { (Get-Item -Path $env:LOCALAPPDATA\Temp -Force).Delete() @@ -3117,12 +2936,8 @@ function TempFolder } # Restart the Printer Spooler service (Spooler) - # Перезапустить службу "Диспетчер печати" (Spooler) Restart-Service -Name Spooler -Force - Stop-Process -Name OneDrive -Force -ErrorAction Ignore - Stop-Process -Name FileCoAuth -Force -ErrorAction Ignore - if ((Get-ChildItem -Path $env:SystemDrive\Temp -Force -ErrorAction Ignore | Measure-Object).Count -eq 0) { Remove-Item -Path $env:SystemDrive\Temp -Recurse -Force @@ -3150,22 +2965,22 @@ function TempFolder <# .SYNOPSIS - Disable/enable Windows 260 character path limit - Отключить/включить ограничение Windows на 260 символов в пути + Configure the Windows 260 character path limit .PARAMETER Disable - Disable Windows 260 character path limit - Включить ограничение Windows на 260 символов в пути + Disable the Windows 260 character path limit .PARAMETER Enable - Enable Windows 260 character path limit - Включить ограничение Windows на 260 символов в пути + Enable the Windows 260 character path limit .EXAMPLE Win32LongPathLimit -Disable .EXAMPLE Win32LongPathLimit -Enable + + .NOTES + Machine-wide #> function Win32LongPathLimit { @@ -3201,22 +3016,22 @@ function Win32LongPathLimit <# .SYNOPSIS - Display/do not dispaly the Stop error information on the BSoD - Отображать/не отображать Stop-ошибку при появлении BSoD + Configure the Stop error information display on the BSoD .PARAMETER Disable - Disable Windows 260 characters path limit - Включить ограничение Windows на 260 символов в пути + Do not display the Stop error information on the BSoD .PARAMETER Enable - Enable Windows 260 characters path limit - Включить ограничение Windows на 260 символов в пути + Display the Stop error information on the BSoD .EXAMPLE BSoDStopError -Disable .EXAMPLE BSoDStopError -Enable + + .NOTES + Machine-wide #> function BSoDStopError { @@ -3252,22 +3067,22 @@ function BSoDStopError <# .SYNOPSIS - Change "Behavior of the elevation prompt for administrators in Admin Approval Mode" to "Elevate without prompting"/"Prompt for consent for non-Windows binaries" - Изменить "Поведение запроса на повышение прав для администраторов в режиме одобрения администратором" на "Повышение прав без запроса"/"Запрос согласия для исполняемых файлов, отличных от Windows" + Confgure UAC .PARAMETER Disable - Change "Behavior of the elevation prompt for administrators in Admin Approval Mode" to "Elevate without prompting" - Изменить "Поведение запроса на повышение прав для администраторов в режиме одобрения администратором" на "Повышение прав без запроса" + Choose when to be notified about changes to your computer: never notify .PARAMETER Enable - Change "Behavior of the elevation prompt for administrators in Admin Approval Mode" to "Prompt for consent for non-Windows binaries" - Изменить "Поведение запроса на повышение прав для администраторов в режиме одобрения администратором" на "Запрос согласия для исполняемых файлов, отличных от Windows" + Choose when to be notified about changes to your computer: notify me only when apps try to make changes to my computer .EXAMPLE AdminApprovalMode -Disable .EXAMPLE AdminApprovalMode -Enable + + .NOTES + Machine-wide #> function AdminApprovalMode { @@ -3303,22 +3118,22 @@ function AdminApprovalMode <# .SYNOPSIS - Turn on/turn off access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled - Включить/отключить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами + Configure access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled .PARAMETER Disable Turn off access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled - Отключить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами .PARAMETER Enable Turn on access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled - Включить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами .EXAMPLE MappedDrivesAppElevatedAccess -Disable .EXAMPLE MappedDrivesAppElevatedAccess -Enable + + .NOTES + Machine-wide #> function MappedDrivesAppElevatedAccess { @@ -3354,22 +3169,22 @@ function MappedDrivesAppElevatedAccess <# .SYNOPSIS - Opt-out of/opt-in to the Delivery Optimization-assisted updates downloading - Отключить/включить загрузку обновлений с помощью оптимизации доставки + Configure Delivery Optimization .PARAMETER Disable - Opt-out of to the Delivery Optimization-assisted updates downloading - Отказаться от загрузки обновлений с помощью оптимизации доставки + Turn off Delivery Optimization .PARAMETER Enable - Opt-in to the Delivery Optimization-assisted updates downloading - Включить загрузку обновлений с помощью оптимизации доставки + Turn on Delivery Optimization .EXAMPLE DeliveryOptimization -Disable .EXAMPLE DeliveryOptimization -Enable + + .NOTES + Current user #> function DeliveryOptimization { @@ -3405,22 +3220,22 @@ function DeliveryOptimization <# .SYNOPSIS - Always/never wait for the network at computer startup and logon for workgroup networks - Всегда/никогда не ждать сеть при запуске и входе в систему для рабочих групп + Configure the Group Policy processing .PARAMETER Disable Never wait for the network at computer startup and logon for workgroup networks - Никогда не ждать сеть при запуске и входе в систему для рабочих групп .PARAMETER Enable Always wait for the network at computer startup and logon for workgroup networks - Всегда ждать сеть при запуске и входе в систему для рабочих групп .EXAMPLE WaitNetworkStartup -Disable .EXAMPLE WaitNetworkStartup -Enable + + .NOTES + Machine-wide #> function WaitNetworkStartup { @@ -3466,16 +3281,13 @@ function WaitNetworkStartup <# .SYNOPSIS - Do not let/let Windows decide which printer should be the default one - Не разрешать/разрешать Windows решать, какой принтер должен использоваться по умолчанию + Configure whether Windows decide which printer should be the default one .PARAMETER Disable Do not let Windows decide which printer should be the default one - Не разрешать Windows решать, какой принтер должен использоваться по умолчанию .PARAMETER Enable Let Windows decide which printer should be the default one - Разрешать Windows решать, какой принтер должен использоваться по умолчанию .EXAMPLE WindowsManageDefaultPrinter -Disable @@ -3484,8 +3296,7 @@ function WaitNetworkStartup WindowsManageDefaultPrinter -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function WindowsManageDefaultPrinter { @@ -3521,16 +3332,13 @@ function WindowsManageDefaultPrinter <# .SYNOPSIS - Disable/enable Windows features - Отключить/включить компоненты Windows + Configure Windows features .PARAMETER Disable Disable Windows features - Отключить компоненты Windows .PARAMETER Enable Enable Windows features - Включить компоненты Windows .EXAMPLE WindowsFeatures -Disable @@ -3540,12 +3348,7 @@ function WindowsManageDefaultPrinter .NOTES A pop-up dialog box enables the user to select features - Current user only - - Используется всплывающее диалоговое окно, позволяющее пользователю отмечать компоненты - Только для текущего пользователя - - Made by https://github.com/oz-zo, iNNOKENTIY21 + Current user #> function WindowsFeatures { @@ -3570,11 +3373,9 @@ function WindowsFeatures #region Variables # Initialize an array list to store the selected Windows features - # Создать массив для выбранных компонентов Windows $SelectedFeatures = New-Object -TypeName System.Collections.ArrayList($null) # The following FODv2 items will have their checkboxes checked - # Следующие дополнительные компоненты будут иметь чекбоксы отмеченными [string[]]$CheckedFeatures = @( # Legacy Components # Компоненты прежних версий @@ -3584,8 +3385,8 @@ function WindowsFeatures Media Features Компоненты работы с мультимедиа - If you want to leave "Multimedia settings" in the advanced settings of Power Options do not uninstall this feature - Если вы хотите оставить параметр "Параметры мультимедиа" в дополнительных параметрах электропитания, не удаляйте этот компонент + If you want to leave "Multimedia settings" in the advanced settings of Power Options do not disable this feature + Если вы хотите оставить параметр "Параметры мультимедиа" в дополнительных параметрах электропитания, не отключайте этот компонент #> "MediaPlayback", @@ -3605,7 +3406,6 @@ function WindowsFeatures #region XAML Markup # The section defines the design of the upcoming dialog box - # Раздел, определяющий форму диалогового окна [xml]$XAML = ' function WindowsCapabilities { @@ -3841,11 +3631,9 @@ function WindowsCapabilities #region Variables # Initialize an array list to store the selected FODv2 items - # Создать массив дополнительных компонентов для выбранных элементов $SelectedCapabilities = New-Object -TypeName System.Collections.ArrayList($null) # The following FODv2 items will have their checkboxes checked - # Следующие дополнительные компоненты будут иметь чекбоксы отмеченными [string[]]$CheckedCapabilities = @( # Microsoft Quick Assist # Быстрая поддержка (Майкрософт) @@ -3877,7 +3665,6 @@ function WindowsCapabilities ) # The following FODv2 items will be excluded from the display - # Следующие дополнительные компоненты будут исключены из отображения [string[]]$ExcludedCapabilities = @( # The DirectX Database to configure and optimize apps when multiple Graphics Adapters are present # База данных DirectX для настройки и оптимизации приложений при наличии нескольких графических адаптеров @@ -3899,7 +3686,6 @@ function WindowsCapabilities #region XAML Markup # The section defines the design of the upcoming dialog box - # Раздел, определяющий форму диалогового окна [xml]$XAML = ' function UpdateMicrosoftProducts { @@ -4175,22 +3953,22 @@ function UpdateMicrosoftProducts <# .SYNOPSIS - Set the power management scheme on "High performance" (if device is a desktop)/"Balanced" - Установить схему управления питанием на "Высокая производительность" (если устройство является стационарным ПК)/"Сбалансированная" + Configure the power management scheme .PARAMETER High Set the power management scheme on "High performance" if device is a desktop - Установить схему управления питанием на "Высокая производительность" .PARAMETER Balanced Set the power management scheme on "Balanced" - Установить схему управления питанием на Сбалансированная" .EXAMPLE PowerManagementScheme -High .EXAMPLE PowerManagementScheme -Balanced + + .NOTES + Current user #> function PowerManagementScheme { @@ -4229,22 +4007,22 @@ function PowerManagementScheme <# .SYNOPSIS - Use/do not use latest installed .NET runtime for all apps - Использовать/не использовать последнюю установленную среду выполнения .NET для всех приложений + Configure the latest installed .NET runtime for all apps usage .PARAMETER Disable Do not use latest installed .NET runtime for all apps - Не использовать последнюю установленную среду выполнения .NET для всех приложений .PARAMETER Enable Use use latest installed .NET runtime for all apps - Использовать последнюю установленную среду выполнения .NET для всех приложений .EXAMPLE LatestInstalled.NET -Disable .EXAMPLE LatestInstalled.NET -Enable + + .NOTES + Machine-wide #> function LatestInstalled.NET { @@ -4282,22 +4060,25 @@ function LatestInstalled.NET <# .SYNOPSIS - Do not allow/allow the computer (if device is not a laptop) to turn off the network adapters to save power - Запретить/разрешить отключение всех сетевых адаптеров для экономии энергии (если устройство не является ноутбуком) + Configure all network adapters to be disabled to save power .PARAMETER Disable - Do not allow the computer (if device is not a laptop) to turn off the network adapters to save power - Запретить отключение всех сетевых адаптеров для экономии энергии (если устройство не является ноутбуком) + Do not allow the computer to turn off the network adapters to save power .PARAMETER Enable - Allow the computer (if device is not a laptop) to turn off the network adapters to save power - Разрешить отключение всех сетевых адаптеров для экономии энергии (если устройство не является ноутбуком) + Allow the computer to turn off the network adapters to save power .EXAMPLE PCTurnOffDevice -Disable .EXAMPLE PCTurnOffDevice -Enable + + .NOTES + If device is not a laptop + + .NOTES + Current user #> function PCTurnOffDevice { @@ -4349,22 +4130,22 @@ function PCTurnOffDevice <# .SYNOPSIS - Set/reset the default input method to the English language - Установить/сбросить метод ввода по умолчанию на английский язык + Configure override for default input method .PARAMETER English - Set the default input method to the English language - Установить метод ввода по умолчанию на английский язык + Override for default input method: English .PARAMETER Default - Reset the default input method to the English language - Сбросить метод ввода по умолчанию на английский язык + Override for default input method: use langiage list .EXAMPLE SetInputMethod -English .EXAMPLE SetInputMethod -Default + + .NOTES + Current user #> function SetInputMethod { @@ -4400,20 +4181,16 @@ function SetInputMethod <# .SYNOPSIS - Change the location of the user folders to any disks root of your choice using the interactive menu - Изменить расположение пользовательских папок в корень любого диска на выбор с помощью интерактивного меню + Configure user folders location .PARAMETER Root - Change the location of the user folders to any disks root of your choice using the interactive menu - Изменить расположение пользовательских папок в корень любого диска на выбор с помощью интерактивного меню + Move user folders location to the root of any drive using the interactive menu .PARAMETER Custom - Select a folder for the location of the user folders manually using a folder browser dialog - Выбрать папку для расположения пользовательских папок вручную, используя диалог "Обзор папок" + Select folders for user folders location manually using a folder browser dialog .PARAMETER Default - Change the location of the user folders to the default values - Изменить расположение пользовательских папок на значения по умолчанию + Change user folders location to the default values .EXAMPLE SetUserShellFolderLocation -Root @@ -4426,10 +4203,7 @@ function SetInputMethod .NOTES User files or folders won't me moved to a new location - Current user only - - Пользовательские файлы и папки не будут перемещены в новое расположение - Только для текущего пользователя + Current user #> function SetUserShellFolderLocation { @@ -4461,18 +4235,15 @@ function SetUserShellFolderLocation <# .SYNOPSIS Change the location of the each user folder using SHSetKnownFolderPath function - Изменить расположение каждой пользовательской папки, используя функцию "SHSetKnownFolderPath" .PARAMETER RemoveDesktopINI The RemoveDesktopINI argument removes desktop.ini in the old user shell folder - Аргумент "RemoveDesktopINI" удаляет файл desktop.ini из старой пользовательской папки .EXAMPLE UserShellFolder -UserFolder Desktop -FolderPath "$env:SystemDrive:\Desktop" -RemoveDesktopINI .NOTES User files or folders won't me moved to a new location - Пользовательские файлы не будут перенесены в новое расположение https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath #> @@ -4495,8 +4266,6 @@ function SetUserShellFolderLocation $RemoveDesktopINI ) - function KnownFolderPath - { <# .SYNOPSIS Redirect user folders to a new location @@ -4504,6 +4273,8 @@ function SetUserShellFolderLocation .EXAMPLE KnownFolderPath -KnownFolder Desktop -Path "$env:SystemDrive:\Desktop" #> + function KnownFolderPath + { [CmdletBinding()] param ( @@ -4566,7 +4337,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Contents of the hidden desktop.ini file for each type of user folders - # Содержимое скрытого файла desktop.ini для каждого типа пользовательских папок $DesktopINI = @{ "Desktop" = "", "[.ShellClassInfo]", @@ -4602,7 +4372,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - # Определяем текущее значение пути пользовательской папки $UserShellFolderRegValue = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegName[$UserFolder] if ($UserShellFolderRegValue -ne $FolderPath) { @@ -4612,14 +4381,12 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Creating a new folder if there is no one - # Создаем новую папку, если таковая отсутствует if (-not (Test-Path -Path $FolderPath)) { New-Item -Path $FolderPath -ItemType Directory -Force } # Removing old desktop.ini - # Удаляем старый desktop.ini if ($RemoveDesktopINI.IsPresent) { Remove-Item -Path "$UserShellFolderRegValue\desktop.ini" -Force @@ -4636,16 +4403,12 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int <# .SYNOPSIS - The "Show menu" function using PowerShell with the up/down arrow keys and enter key to make a selection - Функция "Show menu" для перемещения с помощью стрелочек между объектами и Enter для выбора + The "Show menu" function with the up/down arrow keys and enter key to make a selection .EXAMPLE ShowMenu -Menu $ListOfItems -Default $DefaultChoice .NOTES - Doesn't work in PowerShell ISE - Не работает в PowerShell ISE - https://qna.habr.com/user/MaxKozlov #> function ShowMenu @@ -4719,12 +4482,10 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int "Root" { # Store all drives letters to use them within ShowMenu function - # Сохранить все буквы диска, чтобы использовать их в функции ShowMenu Write-Verbose -Message $Localization.RetrievingDrivesList -Verbose $DriveLetters = @((Get-Disk | Where-Object -FilterScript {$_.BusType -ne "USB"} | Get-Partition | Get-Volume | Where-Object -FilterScript {$null -ne $_.DriveLetter}).DriveLetter | Sort-Object) # If the number of disks is more than one, set the second drive in the list as default drive - # Если количество дисков больше одного, сделать второй диск в списке диском по умолчанию if ($DriveLetters.Count -gt 1) { $Script:Default = 1 @@ -4735,7 +4496,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Desktop - # Рабочий стол Write-Verbose -Message $Localization.DesktopDriveSelect -Verbose Write-Warning -Message $Localization.FilesWontBeMoved @@ -4761,7 +4521,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Documents - # Документы Write-Verbose -Message $Localization.DocumentsDriveSelect -Verbose Write-Warning -Message $Localization.FilesWontBeMoved @@ -4787,7 +4546,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Downloads - # Загрузки Write-Verbose -Message $Localization.DownloadsDriveSelect -Verbose Write-Warning -Message $Localization.FilesWontBeMoved @@ -4813,7 +4571,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Music - # Музыка Write-Verbose -Message $Localization.MusicDriveSelect -Verbose Write-Warning -Message $Localization.FilesWontBeMoved @@ -4839,7 +4596,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Pictures - # Изображения + Write-Verbose -Message $Localization.PicturesDriveSelect -Verbose Write-Warning -Message $Localization.FilesWontBeMoved @@ -4865,7 +4622,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Videos - # Видео Write-Verbose -Message $Localization.VideosDriveSelect -Verbose Write-Warning -Message $Localization.FilesWontBeMoved @@ -4893,7 +4649,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int "Custom" { # Desktop - # Рабочий стол Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -4914,7 +4669,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -4931,7 +4685,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Documents - # Документы Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -4952,7 +4705,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -4969,7 +4721,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Downloads - # Загрузки Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -4990,7 +4741,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -5007,7 +4757,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Music - # Музыка Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5028,7 +4777,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -5045,7 +4793,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Pictures - # Изображения Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5066,7 +4813,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -5083,7 +4829,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Videos - # Видео Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5104,7 +4849,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -5123,7 +4867,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int "Default" { # Desktop - # Рабочий стол Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5147,7 +4890,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Documents - # Документы Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5171,7 +4913,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Downloads - # Загрузки Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5195,7 +4936,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Music - # Музыка Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5219,7 +4959,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Pictures - # Изображения Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5243,7 +4982,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Videos - # Видео Write-Warning -Message $Localization.FilesWontBeMoved $Title = "" @@ -5271,16 +5009,13 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int <# .SYNOPSIS - Save screenshots by pressing Win+PrtScr to the Desktop/Pictures folder - Сохранять скриншоты по нажатию Win+PrtScr в папку "Рабочий стол"/"Изображения" + Choose where to save screenshots by pressing Win+PrtScr .PARAMETER Desktop - Save screenshots by pressing Win+PrtScr to the Desktop folder - Сохранять скриншоты по нажатию Win+PrtScr в папку "Рабочий стол" + Save screenshots by pressing Win+PrtScr on the Desktop .PARAMETER Default - Save screenshots by pressing Win+PrtScr to the Pictures folder - Сохранять скриншоты по нажатию Win+PrtScr в папку "Изображения" + Save screenshots by pressing Win+PrtScr in the Pictures folder .EXAMPLE WinPrtScrFolder -Desktop @@ -5289,8 +5024,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int WinPrtScrFolder -Default .NOTES - Current user only - Только для текущего пользователя + Current user #> function WinPrtScrFolder { @@ -5325,16 +5059,13 @@ function WinPrtScrFolder } # 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 # Restoring closed folders - # Восстановить закрытые папки foreach ($OpenedFolder in $OpenedFolders) { if (Test-Path -Path $OpenedFolder) @@ -5346,16 +5077,13 @@ function WinPrtScrFolder <# .SYNOPSIS - Launch/do not launch folder windows in a separate process - Запускать/не запускать окна с папками в отдельном процессе + Configure folder windows launching in a separate process .PARAMETER Enable Launch launch folder windows in a separate process - Запускать окна с папками в отдельном процессе .PARAMETER Disable Do not launch folder windows in a separate process - Не запускать окна с папками в отдельном процессе .EXAMPLE FoldersLaunchSeparateProcess -Enable @@ -5364,8 +5092,7 @@ function WinPrtScrFolder FoldersLaunchSeparateProcess -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function FoldersLaunchSeparateProcess { @@ -5401,16 +5128,13 @@ function FoldersLaunchSeparateProcess <# .SYNOPSIS - Disable/enable help lookup via F1 - Отключить/включить открытие справки по нажатию F1 + Configure help look up via F1 .PARAMETER Enable Enable help lookup via F1 - Включить открытие справки по нажатию F1 .PARAMETER Disable Disable help lookup via F1 - Отключить открытие справки по нажатию F1 .EXAMPLE F1HelpPage -Enable @@ -5419,8 +5143,7 @@ function FoldersLaunchSeparateProcess F1HelpPage -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function F1HelpPage { @@ -5460,16 +5183,13 @@ function F1HelpPage <# .SYNOPSIS - Enable/disable Num Lock at startup - Включить/отключить Num Lock при загрузке + Configure Num Lock at startup .PARAMETER Enable Enable Num Lock at startup - Включить Num Lock при загрузке .PARAMETER Disable Disable Num Lock at startup - Отключить Num Lock при загрузке .EXAMPLE NumLock -Enable @@ -5478,8 +5198,7 @@ function F1HelpPage NumLock -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function NumLock { @@ -5515,22 +5234,22 @@ function NumLock <# .SYNOPSIS - Enable/disable Caps Lock - Включить/отключить Num Lock + Configure Caps Lock .PARAMETER Enable Enable Capsm Lock - Включить Caps Lock .PARAMETER Disable Disable Caps Lock - Отключить Caps Lock .EXAMPLE CapsLock -Enable .EXAMPLE CapsLock -Disable + + .NOTES + Machine-wide #> function CapsLock { @@ -5566,16 +5285,13 @@ function CapsLock <# .SYNOPSIS - Disable/enable StickyKey after tapping the Shift key 5 times - Отключить/включить залипание клавиши Shift после 5 нажатий + Configure Sticky Keys .PARAMETER Enable - Enable StickyKey after tapping the Shift key 5 times - Включить залипание клавиши Shift после 5 нажатий + Enable Sticky Keys after tapping the Shift key 5 times .PARAMETER Disable - Disable StickyKey after tapping the Shift key 5 times - Отключить залипание клавиши Shift после 5 нажатий + Disable Sticky Keys after tapping the Shift key 5 times .EXAMPLE StickyShift -Enable @@ -5584,8 +5300,7 @@ function CapsLock StickyShift -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function StickyShift { @@ -5621,16 +5336,13 @@ function StickyShift <# .SYNOPSIS - Disable/enable AutoPlay for all media and devices - Отключить/включить автозапуск для всех носителей и устройств + Configure AutoPlay for all media and devices .PARAMETER Enable Disable/enable AutoPlay for all media and devices - Отключить/включить автозапуск для всех носителей и устройств .PARAMETER Disable Disable/enable AutoPlay for all media and devices - Отключить/включить автозапуск для всех носителей и устройств .EXAMPLE Autoplay -Enable @@ -5639,8 +5351,7 @@ function StickyShift Autoplay -Disable .NOTES - Current user only - Только для текущего пользователя + Current user #> function Autoplay { @@ -5676,22 +5387,22 @@ function Autoplay <# .SYNOPSIS - Disable/enable thumbnail cache removal - Отключить/включить удаление кэша миниатюр + Configure thumbnail cache removal .PARAMETER Enable Enable thumbnail cache removal - Включить удаление кэша миниатюр .PARAMETER Disable Disable thumbnail cache removal - Отключить удаление кэша миниатюр .EXAMPLE ThumbnailCacheRemoval -Enable .EXAMPLE ThumbnailCacheRemoval -Disable + + .NOTES + Machine-wide #> function ThumbnailCacheRemoval { @@ -5727,22 +5438,22 @@ function ThumbnailCacheRemoval <# .SYNOPSIS - Enable/disable "Network Discovery" and "File and Printers Sharing" for workgroup networks - Включить/отключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп + Configure "Network Discovery" and "File and Printers Sharing" for workgroup networks .PARAMETER Enable Enable "Network Discovery" and "File and Printers Sharing" for workgroup networks - Включить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп .PARAMETER Disable Disable "Network Discovery" and "File and Printers Sharing" for workgroup networks - Отключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп .EXAMPLE NetworkDiscovery -Enable .EXAMPLE NetworkDiscovery -Disable + + .NOTES + Current user #> function NetworkDiscovery { @@ -5797,22 +5508,22 @@ function NetworkDiscovery <# .SYNOPSIS - Enable/disable automatically adjusting active hours for me based on daily usage - Включить/отключить автоматическое изменение периода активности для этого устройства на основе действий + Configure automatically adjusting active hours for me based on daily usage .PARAMETER Enable Enable automatically adjusting active hours for me based on daily usage - Включить автоматическое изменение периода активности для этого устройства на основе действий .PARAMETER Disable Disable automatically adjusting active hours for me based on daily usage - Отключить автоматическое изменение периода активности для этого устройства на основе действий .EXAMPLE SmartActiveHours -Enable .EXAMPLE SmartActiveHours -Disable + + .NOTES + Machine-wide #> function SmartActiveHours { @@ -5850,22 +5561,22 @@ function SmartActiveHours #region Start menu <# .SYNOPSIS - Hide/show recently added apps in the Start menu - Скрывать/показывать недавно добавленные приложения в меню "Пуск" + Configure recently added apps in the Start menu .PARAMETER Hide Hide recently added apps in the Start menu - Скрывать недавно добавленные приложения в меню "Пуск" .PARAMETER Show Show recently added apps in the Start menu - Показывать недавно добавленные приложения в меню "Пуск" .EXAMPLE RecentlyAddedApps -Hide .EXAMPLE RecentlyAddedApps -Show + + .NOTES + Machine-wide #> function RecentlyAddedApps { @@ -5905,22 +5616,22 @@ function RecentlyAddedApps <# .SYNOPSIS - Hide/show app suggestions in the Start menu - Скрывать/показывать рекомендации в меню "Пуск" + Configure app suggestions in the Start menu .PARAMETER Hide Hide app suggestions in the Start menu - Скрывать рекомендации в меню "Пуск" .PARAMETER Show Show app suggestions in the Start menu - Показывать рекомендации в меню "Пуск" .EXAMPLE AppSuggestions -Hide .EXAMPLE AppSuggestions -Show + + .NOTES + Current user #> function AppSuggestions { @@ -5956,24 +5667,24 @@ function AppSuggestions <# .SYNOPSIS - Run the Command Prompt shortcut from the Start menu as Administrator/user - Запускать ярлык командной строки в меню "Пуск" от имени Администратора/пользователя + Configure how to run the Windows PowerShell shortcut .PARAMETER Elevated - Run the Command Prompt shortcut from the Start menu as Administrator - Запускать ярлык командной строки в меню "Пуск" от имени Администратора + Run the Windows PowerShell shortcut from the Start menu as Administrator .PARAMETER NonElevated - Run the Command Prompt shortcut from the Start menu as user - Запускать ярлык командной строки в меню "Пуск" от имени пользователя + Run the Windows PowerShell shortcut from the Start menu as user .EXAMPLE - RunCMDShortcut -Elevated + RunPowerShellShortcut -Elevated .EXAMPLE - RunCMDShortcut -NonElevated + RunPowerShellShortcut -NonElevated + + .NOTES + Current user #> -function RunCMDShortcut +function RunPowerShellShortcut { param ( @@ -5996,15 +5707,15 @@ function RunCMDShortcut { "Elevated" { - [byte[]]$bytes = Get-Content -Path "$env:APPDATA\Microsoft\Windows\Start menu\Programs\System Tools\Command Prompt.lnk" -Encoding Byte -Raw + [byte[]]$bytes = Get-Content -Path "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk" -Encoding Byte -Raw $bytes[0x15] = $bytes[0x15] -bor 0x20 - Set-Content -Path "$env:APPDATA\Microsoft\Windows\Start menu\Programs\System Tools\Command Prompt.lnk" -Value $bytes -Encoding Byte -Force + Set-Content -Path "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk" -Value $bytes -Encoding Byte -Force } "NonElevated" { - [byte[]]$bytes = Get-Content -Path "$env:APPDATA\Microsoft\Windows\Start menu\Programs\System Tools\Command Prompt.lnk" -Encoding Byte -Raw + [byte[]]$bytes = Get-Content -Path "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk" -Encoding Byte -Raw $bytes[0x15] = $bytes[0x15] -bxor 0x20 - Set-Content -Path "$env:APPDATA\Microsoft\Windows\Start menu\Programs\System Tools\Command Prompt.lnk" -Value $bytes -Encoding Byte -Force + Set-Content -Path "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk" -Value $bytes -Encoding Byte -Force } } } @@ -6013,22 +5724,22 @@ function RunCMDShortcut #region Gaming <# .SYNOPSIS - Disable/enable Xbox Game Bar - Отключить/включить Xbox Game Bar + Configure Xbox Game Bar .PARAMETER Disable Disable Xbox Game Bar - Отключить Xbox Game Bar .PARAMETER Enable Enable Xbox Game Bar - Включить Xbox Game Bar .EXAMPLE XboxGameBar -Disable .EXAMPLE XboxGameBar -Enable + + .NOTES + Current user #> function XboxGameBar { @@ -6072,22 +5783,22 @@ function XboxGameBar <# .SYNOPSIS - Disable/enable Xbox Game Bar tips - Отключить/включить советы Xbox Game Bar + Configure Xbox Game Bar tips .PARAMETER Disable Disable Xbox Game Bar tips - Отключить советы Xbox Game Bar .PARAMETER Enable Enable Xbox Game Bar tips - Включить советы Xbox Game Bar .EXAMPLE XboxGameTips -Disable .EXAMPLE XboxGameTips -Enable + + .NOTES + Current user #> function XboxGameTips { @@ -6128,11 +5839,12 @@ function XboxGameTips } <# - Set "High performance" in graphics performance preference for an app - Only with a dedicated GPU + .SYNOPSIS + Choose an app to set "High performance" graphics preference - Установить параметры производительности графики для отдельных приложений на "Высокая производительность" - Только при наличии внешней видеокарты + .NOTES + Only with a dedicated GPU + Current user #> function SetAppGraphicsPerformance { @@ -6159,7 +5871,6 @@ function SetAppGraphicsPerformance $OpenFileDialog.Multiselect = $false # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $OpenFileDialog.ShowDialog($Focus) @@ -6187,16 +5898,13 @@ function SetAppGraphicsPerformance #region Scheduled tasks <# .SYNOPSIS - Create/delete the "Windows Cleanup" task to clean up unused files and Windows updates in the Task Scheduler - Создать/удалить задачу "Windows Cleanup" в Планировщике задач по очистке неиспользуемых файлов и обновлений Windows + The "Windows Cleanup" scheduled task for cleaning up unused files and Windows updates .PARAMETER Register - Create the "Windows Cleanup" task to clean up unused files and Windows updates in the Task Scheduler - Создать задачу "Windows Cleanup" в Планировщике задач по очистке неиспользуемых файлов и обновлений Windows + Create the "Windows Cleanup" scheduled task for cleaning up unused files and Windows updates .PARAMETER Delete - Delete the "Windows Cleanup" task to clean up unused files and Windows updates from the Task Scheduler - Удалить задачу "Windows Cleanup" из Планировщика задач по очистке неиспользуемых файлов и обновлений Windows + Delete the "Windows Cleanup" scheduled task for cleaning up unused files and Windows updates .EXAMPLE CleanUpTask -Register @@ -6206,10 +5914,8 @@ function SetAppGraphicsPerformance .NOTES A minute before the task starts, a warning in the Windows action center will appear + Current user The task runs every 90 days - - За минуту до выполнения задачи в Центре уведомлений Windows появится предупреждение - Задача выполняется каждые 90 дней #> function CleanUpTask { @@ -6259,7 +5965,7 @@ function CleanUpTask # Временные файлы установки "Temporary Setup Files", - # Microsoft Defender + # Windows Defender "Windows Defender", # Windows upgrade log files @@ -6375,16 +6081,13 @@ while (`$true) <# .SYNOPSIS - Create/delete the "SoftwareDistribution" task to clear the %SystemRoot%\SoftwareDistribution\Download folder in the Task Scheduler - Создать/удалить задачу "SoftwareDistribution" в Планировщике задач по очистке папки %SystemRoot%\SoftwareDistribution\Download + The "SoftwareDistribution" scheduled task for cleaning up the %SystemRoot%\SoftwareDistribution\Download folder .PARAMETER Register - Create the "SoftwareDistribution" task to clear the %SystemRoot%\SoftwareDistribution\Download folder in the Task Scheduler - Создать задачу "SoftwareDistribution" в Планировщике задач по очистке папки %SystemRoot%\SoftwareDistribution\Download + Create the "SoftwareDistribution" scheduled task for cleaning up the %SystemRoot%\SoftwareDistribution\Download folder .PARAMETER Delete - Delete the "SoftwareDistribution" task to clear the %SystemRoot%\SoftwareDistribution\Download folder from the Task Scheduler - Удалить задачу "SoftwareDistribution" из Планировщика задач по очистке папки %SystemRoot%\SoftwareDistribution\Download + Delete the "SoftwareDistribution" scheduled task for cleaning up the %SystemRoot%\SoftwareDistribution\Download folder .EXAMPLE SoftwareDistributionTask -Register @@ -6394,7 +6097,7 @@ while (`$true) .NOTES The task runs on Thursdays every 4 weeks - Задача выполняется по четвергам каждую 4 неделю + Current user #> function SoftwareDistributionTask { @@ -6448,16 +6151,13 @@ Get-ChildItem -Path $env:SystemRoot\SoftwareDistribution\Download -Recurse -Forc <# .SYNOPSIS - Create the "Temp" task to clear the %TEMP% folder in the Task Scheduler - Создать задачу "Temp" в Планировщике задач по очистке папки %TEMP% + The "Temp" scheduled task for cleaning up the %TEMP% folder .PARAMETER Register - Create the "Temp" to clear the %TEMP% folder in the Task Scheduler - Создать задачу "Temp" в Планировщике задач по очистке папки %TEMP% + Create the "Temp" scheduled task for cleaning up the %TEMP% folder .PARAMETER Delete - Delete the "Temp" task to clear the %TEMP% folder from the Task Scheduler - Удалить задачу "Temp" из Планировщика задач по очистке папки %TEMP% + Delete the "Temp" scheduled task for cleaning up the %TEMP% folder .EXAMPLE TempTask -Register @@ -6467,7 +6167,7 @@ Get-ChildItem -Path $env:SystemRoot\SoftwareDistribution\Download -Recurse -Forc .NOTES The task runs every 62 days - Задача выполняется каждые 62 дня + Current user #> function TempTask { @@ -6519,7 +6219,6 @@ function TempTask #region Windows Defender & Security # Enable Controlled folder access and add protected folders -# Включить контролируемый доступ к папкам и добавить защищенные папки function AddProtectedFolders { $Title = $Localization.ControlledFolderAccess @@ -6542,7 +6241,6 @@ function AddProtectedFolders $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -6563,7 +6261,6 @@ function AddProtectedFolders } # Remove all added protected folders -# Удалить все добавленные защищенные папки function RemoveProtectedFolders { if ($null -ne (Get-MpPreference).ControlledFolderAccessProtectedFolders) @@ -6575,7 +6272,6 @@ function RemoveProtectedFolders } # Allow an app through Controlled folder access -# Разрешить работу приложения через контролируемый доступ к папкам function AddAppControlledFolder { $Title = $Localization.ControlledFolderAccess @@ -6599,7 +6295,6 @@ function AddAppControlledFolder $OpenFileDialog.Multiselect = $false # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $OpenFileDialog.ShowDialog($Focus) @@ -6619,7 +6314,6 @@ function AddAppControlledFolder } # Remove all allowed apps through Controlled folder access -# Удалить все добавленные разрешенные приложение через контролируемый доступ к папкам function RemoveAllowedAppsControlledFolder { if ($null -ne (Get-MpPreference).ControlledFolderAccessAllowedApplications) @@ -6630,8 +6324,7 @@ function RemoveAllowedAppsControlledFolder } } -# Add a folder to the exclusion from Microsoft Defender scanning -# Добавить папку в список исключений сканирования Microsoft Defender +# Add a folder to the exclusion from Windows Defender scanning function AddDefenderExclusionFolder { $Title = $Localization.DefenderTitle @@ -6654,7 +6347,6 @@ function AddDefenderExclusionFolder $FolderBrowserDialog.RootFolder = "MyComputer" # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $FolderBrowserDialog.ShowDialog($Focus) @@ -6673,8 +6365,7 @@ function AddDefenderExclusionFolder until ($Result -eq 1) } -# Remove all excluded folders from Microsoft Defender scanning -# Удалить все папки из списка исключений сканирования Microsoft Defender +# Remove all excluded folders from Windows Defender scanning function RemoveDefenderExclusionFolders { if ($null -ne (Get-MpPreference).ExclusionPath) @@ -6686,11 +6377,10 @@ function RemoveDefenderExclusionFolders } } -# Add a file to the exclusion from Microsoft Defender scanning -# Добавить файл в список исключений сканирования Microsoft Defender +# Add a file to the exclusion from Windows Defender scanning function AddDefenderExclusionFile { - $Title = "Microsoft Defender" + $Title = "Windows Defender" $Message = $Localization.AddDefenderExclusionFileRequest $Add = $Localization.Add $Skip = $Localization.Skip @@ -6711,7 +6401,6 @@ function AddDefenderExclusionFile $OpenFileDialog.Multiselect = $false # Focus on open file dialog - # Перевести фокус на диалог открытия файла $Focus = New-Object -TypeName System.Windows.Forms.Form -Property @{TopMost = $true} $OpenFileDialog.ShowDialog($Focus) @@ -6730,8 +6419,7 @@ function AddDefenderExclusionFile until ($Result -eq 1) } -# Remove all excluded files from Microsoft Defender scanning -# Удалить все файлы из списка исключений сканирования Microsoft Defender +# Remove all excluded files from Windows Defender scanning function RemoveDefenderExclusionFiles { if ($null -ne (Get-MpPreference).ExclusionPath) @@ -6745,22 +6433,20 @@ function RemoveDefenderExclusionFiles <# .SYNOPSIS - Enable/disable Microsoft Defender Exploit Guard network protection - Включить/отключить защиту сети в Microsoft Defender Exploit Guard + Configure Windows Defender Exploit Guard network protection .PARAMETER Disable - Disable Microsoft Defender Exploit Guard network protection - Отключить защиту сети в Microsoft Defender Exploit Guard + Disable Windows Defender Exploit Guard network protection .PARAMETER Enable - Enable Microsoft Defender Exploit Guard network protection - Включить защиту сети в Microsoft Defender Exploit Guard + Enable Windows Defender Exploit Guard network protection .EXAMPLE NetworkProtection -Disable .EXAMPLE NetworkProtection -Enable + Current user #> function NetworkProtection { @@ -6796,22 +6482,20 @@ function NetworkProtection <# .SYNOPSIS - Enable/disable detection for potentially unwanted applications and block them - Включить/отключить обнаружение потенциально нежелательных приложений и блокировать их + Configure detection for potentially unwanted applications and block them .PARAMETER Disable Enable/disable detection for potentially unwanted applications and block them - Включить/отключить обнаружение потенциально нежелательных приложений и блокировать их .PARAMETER Enable Enable/disable detection for potentially unwanted applications and block them - Включить/отключить обнаружение потенциально нежелательных приложений и блокировать их .EXAMPLE PUAppsDetection -Disable .EXAMPLE PUAppsDetection -Enable + Current user #> function PUAppsDetection { @@ -6847,16 +6531,13 @@ function PUAppsDetection <# .SYNOPSIS - Enable/disable sandboxing for Microsoft Defender - Включить/отключить песочницу для Microsoft Defender + Configure sandboxing for Windows Defender .PARAMETER Disable - Disable sandboxing for Microsoft Defender - Отключить песочницу для Microsoft Defender + Disable sandboxing for Windows Defender .PARAMETER Enable - Enable sandboxing for Microsoft Defender - Включить песочницу для Microsoft Defender + Enable sandboxing for Windows Defender .EXAMPLE DefenderSandbox -Disable @@ -6866,7 +6547,7 @@ function PUAppsDetection .NOTES There is a bug in KVM with QEMU: enabling this function causes VM to freeze up during the loading phase of Windows - В KVM с QEMU присутсвует баг: включение этой функции приводит ВМ к зависанию во время загрузки Windows + Current user #> function DefenderSandbox { @@ -6900,15 +6581,13 @@ function DefenderSandbox } } -# Dismiss Microsoft Defender offer in the Windows Security about signing in Microsoft account -# Отклонить предложение Microsoft Defender в "Безопасность Windows" о входе в аккаунт Microsoft +# Dismiss Windows Defender offer in the Windows Security about signing in Microsoft account function DismissMSAccount { New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } -# Dismiss Microsoft Defender offer in the Windows Security about turning on the SmartScreen filter for Microsoft Edge -# Отклонить предложение Microsoft Defender в "Безопасность Windows" включить фильтр SmartScreen для Microsoft Edge +# Dismiss Windows Defender offer in the Windows Security about turning on the SmartScreen filter for Microsoft Edge function DismissSmartScreenFilter { New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force @@ -6916,22 +6595,20 @@ function DismissSmartScreenFilter <# .SYNOPSIS - Enable/disable events auditing generated when a process is created or starts - Включить/отключить аудит событий, возникающих при создании или запуске процесса + Configure events auditing generated when a process is created or starts .PARAMETER Disable Disable events auditing generated when a process is created or starts - Отключить аудит событий, возникающих при создании или запуске процесса .PARAMETER Enable Enable events auditing generated when a process is created or starts - Включить аудит событий, возникающих при создании или запуске процесса .EXAMPLE AuditProcess -Disable .EXAMPLE AuditProcess -Enable + Machine-wide #> function AuditProcess { @@ -6967,16 +6644,13 @@ function AuditProcess <# .SYNOPSIS - Include/do not include command line in process creation events - Включать/не включать командную строку в событиях создания процесса + Configure command line in process creation events .PARAMETER Disable Do not include command line in process creation events - Не включать командную строку в событиях создания процесса .PARAMETER Enable Include command line in process creation events - Включать командную строку в событиях создания процесса .EXAMPLE AuditCommandLineProcess -Disable @@ -6986,7 +6660,7 @@ function AuditProcess .NOTES In order this feature to work events auditing ("AuditProcess -Enable" function) will be enabled - Для того, чтобы работал данный функционал, будет включен аудит событий (функция "AuditProcess -Enable") + Machine-wide #> function AuditCommandLineProcess { @@ -7016,7 +6690,6 @@ function AuditCommandLineProcess "Enable" { # Enable events auditing generated when a process is created or starts - # Включить аудит событий, возникающих при создании или запуске процесса auditpol /set /subcategory:"{0CCE922B-69AE-11D9-BED3-505054503030}" /success:enable /failure:enable New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -PropertyType DWord -Value 1 -Force @@ -7026,16 +6699,13 @@ function AuditCommandLineProcess <# .SYNOPSIS - Create/remove "Process Creation" Event Viewer Custom View - Создать/удалить настаиваемое представление "Создание процесса" в Просмотре событий + Configure "Process Creation" Event Viewer Custom View .PARAMETER Disable Remove "Process Creation" Event Viewer Custom View - Удалить настаиваемое представление "Создание процесса" в Просмотре событий .PARAMETER Enable Create "Process Creation" Event Viewer Custom View - Создать настаиваемое представление "Создание процесса" в Просмотре событий .EXAMPLE EventViewerCustomView -Disable @@ -7045,7 +6715,7 @@ function AuditCommandLineProcess .NOTES In order this feature to work events auditing ("AuditProcess -Enable" function) and command line in process creation events will be enabled - Для того, чтобы работал данный функционал, буден включен аудит событий (функция "AuditProcess -Enable") и командной строки в событиях создания процесса + Machine-wide #> function EventViewerCustomView { @@ -7075,11 +6745,9 @@ function EventViewerCustomView "Enable" { # Enable events auditing generated when a process is created or starts - # Включить аудит событий, возникающих при создании или запуске процесса auditpol /set /subcategory:"{0CCE922B-69AE-11D9-BED3-505054503030}" /success:enable /failure:enable # Include command line in process creation events - # Включать командную строку в событиях создания процесса New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -PropertyType DWord -Value 1 -Force $XML = @" @@ -7106,30 +6774,27 @@ function EventViewerCustomView } # Saving ProcessCreation.xml in UTF-8 encoding - # Сохраняем ProcessCreation.xml в кодировке UTF-8 - Set-Content -Path "$env:ProgramData\Microsoft\Event Viewer\Views\ProcessCreation.xml" -Value $XML -Force + Set-Content -Path "$env:ProgramData\Microsoft\Event Viewer\Views\ProcessCreation.xml" -Value $XML -Encoding Default -Force } } } <# .SYNOPSIS - Enable/disable logging for all Windows PowerShell modules - Включить/отключить ведение журнала для всех модулей Windows PowerShell + Configure logging for all Windows PowerShell modules .PARAMETER Disable Disable logging for all Windows PowerShell modules - Отключить ведение журнала для всех модулей Windows PowerShell .PARAMETER Enable Enable logging for all Windows PowerShell modules - Включить ведение журнала для всех модулей Windows PowerShell .EXAMPLE PowerShellModulesLogging -Disable .EXAMPLE PowerShellModulesLogging -Enable + Machine-wide #> function PowerShellModulesLogging { @@ -7171,22 +6836,20 @@ function PowerShellModulesLogging <# .SYNOPSIS - Enable/disable logging for all PowerShell scripts input to the Windows PowerShell event log - Включить/отключить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell + Configure logging for all PowerShell scripts input to the Windows PowerShell event log .PARAMETER Disable Disable logging for all PowerShell scripts input to the Windows PowerShell event log - Отключить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell .PARAMETER Enable Enable logging for all PowerShell scripts input to the Windows PowerShell event log - Включить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell .EXAMPLE PowerShellScriptsLogging -Disable .EXAMPLE PowerShellScriptsLogging -Enable + Machine-wide #> function PowerShellScriptsLogging { @@ -7226,22 +6889,20 @@ function PowerShellScriptsLogging <# .SYNOPSIS - Disable/enable apps and files checking within Microsofot Defender SmartScreen - Отключить/включить проверку приложений и файлов фильтром SmartScreen в Microsoft Defender + Configure apps and files checking within Microsofot Defender SmartScreen .PARAMETER Disable Disable apps and files checking within Microsofot Defender SmartScreen - Отключить проверку приложений и файлов фильтром SmartScreen в Microsoft Defender .PARAMETER Enable Enable apps and files checking within Microsofot Defender SmartScreen - Включить проверку приложений и файлов фильтром SmartScreen в Microsoft Defender .EXAMPLE AppsSmartScreen -Disable .EXAMPLE AppsSmartScreen -Enable + Machine-wide #> function AppsSmartScreen { @@ -7277,16 +6938,13 @@ function AppsSmartScreen <# .SYNOPSIS - Disable/enable the Attachment Manager marking files that have been downloaded from the Internet as unsafe - Отключить/включить проверку Диспетчером вложений файлов, скачанных из интернета как небезопасные + Configure the Attachment Manager marking files that have been downloaded from the Internet as unsafe .PARAMETER Disable Disable the Attachment Manager marking files that have been downloaded from the Internet as unsafe - Отключить проверку Диспетчером вложений файлов, скачанных из интернета как небезопасные .PARAMETER Enable Enable the Attachment Manager marking files that have been downloaded from the Internet as unsafe - Включить проверку Диспетчером вложений файлов, скачанных из интернета как небезопасные .EXAMPLE SaveZoneInformation -Disable @@ -7295,8 +6953,7 @@ function AppsSmartScreen SaveZoneInformation -Enable .NOTES - Current user only - Только для текущего пользователя + Current user #> function SaveZoneInformation { @@ -7336,16 +6993,13 @@ function SaveZoneInformation <# .SYNOPSIS - Disable/enable Windows Script Host - Отключить/включить Windows Script Host + Configure Windows Script Host .PARAMETER Disable Disable Windows Script Host - Отключить Windows Script Host .PARAMETER Enable Enable Windows Script Host - Включить Windows Script Host .EXAMPLE WindowsScriptHost -Disable @@ -7354,11 +7008,8 @@ function SaveZoneInformation WindowsScriptHost -Enable .NOTES - Current user only Blocks WSH from executing .js and .vbs files - - Только для текущего пользователя - Блокирует запуск файлов .js и .vbs + Current user #> function WindowsScriptHost { @@ -7398,22 +7049,20 @@ function WindowsScriptHost <# .SYNOPSIS - Disable/enable Windows Sandbox - Отключить/включить Windows Sandbox + Configure Windows Sandbox .PARAMETER Disable Disable Windows Sandbox - Отключить Windows Sandbox .PARAMETER Enable Enable Windows Sandbox - Включить Windows Sandbox .EXAMPLE WindowsSandbox -Disable .EXAMPLE WindowsSandbox -Enable + Current user #> function WindowsSandbox { @@ -7441,7 +7090,6 @@ function WindowsSandbox if (Get-WindowsEdition -Online | Where-Object -FilterScript {$_.Edition -eq "Professional" -or $_.Edition -like "Enterprise*"}) { # Checking whether x86 virtualization is enabled in the firmware - # Проверка: включена ли в настройках UEFI аппаратная виртуализация x86 if ((Get-CimInstance -ClassName CIM_Processor).VirtualizationFirmwareEnabled -eq $true) { Disable-WindowsOptionalFeature -FeatureName Containers-DisposableClientVM -Online -NoRestart @@ -7451,7 +7099,6 @@ function WindowsSandbox try { # Determining whether Hyper-V is enabled - # Проверка: включен ли Hyper-V if ((Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent -eq $true) { Disable-WindowsOptionalFeature -FeatureName Containers-DisposableClientVM -Online -NoRestart @@ -7469,7 +7116,6 @@ function WindowsSandbox if (Get-WindowsEdition -Online | Where-Object -FilterScript {$_.Edition -eq "Professional" -or $_.Edition -like "Enterprise*"}) { # Checking whether x86 virtualization is enabled in the firmware - # Проверка: включена ли в настройках UEFI аппаратная виртуализация x86 if ((Get-CimInstance -ClassName CIM_Processor).VirtualizationFirmwareEnabled -eq $true) { Enable-WindowsOptionalFeature -FeatureName Containers-DisposableClientVM -All -Online -NoRestart @@ -7479,7 +7125,6 @@ function WindowsSandbox try { # Determining whether Hyper-V is enabled - # Проверка: включен ли Hyper-V if ((Get-CimInstance -ClassName CIM_ComputerSystem).HypervisorPresent -eq $true) { Enable-WindowsOptionalFeature -FeatureName Containers-DisposableClientVM -All -Online -NoRestart @@ -7499,22 +7144,20 @@ function WindowsSandbox #region Context menu <# .SYNOPSIS - Add/remove the "Extract all" item to Windows Installer (.msi) context menu - Добавить/удалить пункт "Извлечь все" в контекстное меню Windows Installer (.msi) + Configure the "Extract all" item in Windows Installer (.msi) context menu .PARAMETER Remove Remove the "Extract all" item to Windows Installer (.msi) context menu - Удалить пункт "Извлечь все" в контекстное меню Windows Installer (.msi) .PARAMETER Add Add the "Extract all" item to Windows Installer (.msi) context menu - Добавить пункт "Извлечь все" в контекстное меню Windows Installer (.msi) .EXAMPLE MSIExtractContext -Remove .EXAMPLE MSIExtractContext -Add + Current user #> function MSIExtractContext { @@ -7557,22 +7200,20 @@ function MSIExtractContext <# .SYNOPSIS - Add/remove the "Install" item to the .cab archives context menu - Добавить/удалить пункт "Установить" в контекстное меню .cab архивов + Configure the "Install" item in the .cab archives context menu .PARAMETER Remove Remove the "Install" item to the .cab archives context menu - Удалить пункт "Установить" в контекстное меню .cab архивов .PARAMETER Add Add the "Install" item to the .cab archives context menu - Добавить пункт "Установить" в контекстное меню .cab архивов .EXAMPLE CABInstallContext -Remove .EXAMPLE CABInstallContext -Add + Current user #> function CABInstallContext { @@ -7615,22 +7256,20 @@ function CABInstallContext <# .SYNOPSIS - Add/remove the "Run as different user" item to the .exe files types context menu - Добавить/удалить пункт "Запуск от имени другого пользователя" в контекстное меню .exe файлов + Configure the "Run as different user" item in the .exe files types context menu .PARAMETER Remove Remove the "Run as different user" item to the .exe files types context menu - Удалить пункт "Запуск от имени другого пользователя" в контекстное меню .exe файлов .PARAMETER Add Add the "Run as different user" item to the .exe files types context menu - Добавить пункт "Запуск от имени другого пользователя" в контекстное меню .exe файлов .EXAMPLE RunAsDifferentUserContext -Remove .EXAMPLE RunAsDifferentUserContext -Add + Current user #> function RunAsDifferentUserContext { @@ -7666,22 +7305,20 @@ function RunAsDifferentUserContext <# .SYNOPSIS - Hide/show the "Cast to Device" item from the context menu - Отобразить/скрыть пункт "Передать на устройство" из контекстного меню + Configure the "Cast to Device" item in the context menu .PARAMETER Hide Hide the "Cast to Device" item from the context menu - Скрыть пункт "Передать на устройство" из контекстного меню .PARAMETER Show Show the "Cast to Device" item from the context menu - Отобразить пункт "Передать на устройство" из контекстного меню .EXAMPLE CastToDeviceContext -Hide .EXAMPLE CastToDeviceContext -Show + Current user #> function CastToDeviceContext { @@ -7721,22 +7358,20 @@ function CastToDeviceContext <# .SYNOPSIS - Hide/show the "Share" item from the context menu - Отобразить/скрыть пункт "Отправить" (поделиться) из контекстного меню + Configure the "Share" item in the context menu .PARAMETER Hide Hide the "Share" item from the context menu - Скрыть пункт "Отправить" (поделиться) из контекстного меню .PARAMETER Show - Show the "Share" item from the context menu - Отобразить пункт "Отправить" (поделиться) из контекстного меню + Show the "Share" item in the context menu .EXAMPLE ShareContext -Hide .EXAMPLE ShareContext -Show + Current user #> function ShareContext { @@ -7776,22 +7411,20 @@ function ShareContext <# .SYNOPSIS - Hide/show the "Edit with Paint 3D" item from the context menu - Отобразить/скрыть пункт "Изменить с помощью Paint 3D" из контекстного меню + Configure the "Edit with Paint 3D" item in the context menu .PARAMETER Hide Hide the "Edit with Paint 3D" item from the context menu - Скрыть пункт "Изменить с помощью Paint 3D" из контекстного меню .PARAMETER Show - Show the "Edit with Paint 3D" item from the context menu - Отобразить пункт "Изменить с помощью Paint 3D" из контекстного меню + Show the "Edit with Paint 3D" item in the context menu .EXAMPLE EditWithPaint3DContext -Hide .EXAMPLE EditWithPaint3DContext -Show + Current user #> function EditWithPaint3DContext { @@ -7835,22 +7468,20 @@ function EditWithPaint3DContext <# .SYNOPSIS - Hide/show the "Print" item from the .bat and .cmd context menu - Отобразить/скрыть пункт "Печать" из контекстного меню .bat и .cmd файлов + Configure the "Print" item in the .bat and .cmd context menu .PARAMETER Hide Hide the "Print" item from the .bat and .cmd context menu - Скрыть пункт "Печать" из контекстного меню .bat и .cmd файлов .PARAMETER Show - Show the "Print" item from the .bat and .cmd context menu - Отобразить пункт "Печать" из контекстного меню .bat и .cmd файлов + Show the "Print" item in the .bat and .cmd context menu .EXAMPLE PrintCMDContext -Hide .EXAMPLE PrintCMDContext -Show + Current user #> function PrintCMDContext { @@ -7888,22 +7519,20 @@ function PrintCMDContext <# .SYNOPSIS - Hide/show the "Include in Library" item from the context menu - Отобразить/скрыть пункт "Добавить в библиотеку" из контекстного меню + Configure the "Include in Library" item in the context menu .PARAMETER Hide Hide the "Include in Library" item from the context menu - Скрыть пункт "Добавить в библиотеку" из контекстного меню .PARAMETER Show - Show the "Include in Library" item from the context menu - Отобразить пункт "Добавить в библиотеку" из контекстного меню + Show the "Include in Library" item in the context menu .EXAMPLE IncludeInLibraryContext -Hide .EXAMPLE IncludeInLibraryContext -Show + Current user #> function IncludeInLibraryContext { @@ -7939,22 +7568,20 @@ function IncludeInLibraryContext <# .SYNOPSIS - Hide/show the "Send to" item from the folders context menu - Отобразить/скрыть пункт "Отправить" из контекстного меню папок + Configure the "Send to" item in the folders context menu .PARAMETER Hide Hide the "Send to" item from the folders context menu - Скрыть пункт "Отправить" из контекстного меню папок .PARAMETER Show - Show the "Send to" item from the folders context menu - Отобразить пункт "Отправить" из контекстного меню папок + Show the "Send to" item in the folders context menu .EXAMPLE SendToContext -Hide .EXAMPLE SendToContext -Show + Current user #> function SendToContext { @@ -7990,22 +7617,20 @@ function SendToContext <# .SYNOPSIS - Hide/show the "Turn on BitLocker" item from the context menu - Отобразить/скрыть пункт "Включить BitLocker" из контекстного меню + Configure the "Turn on BitLocker" item in the context menu .PARAMETER Hide Hide the "Turn on BitLocker" item from the context menu - Скрыть пункт "Включить BitLocker" из контекстного меню .PARAMETER Show - Show the "Turn on BitLocker" item from the context menu - Отобразить пункт "Включить BitLocker" из контекстного меню + Show the "Turn on BitLocker" item in the context menu .EXAMPLE BitLockerContext -Hide .EXAMPLE BitLockerContext -Show + Current user #> function BitLockerContext { @@ -8057,22 +7682,20 @@ function BitLockerContext <# .SYNOPSIS - Add/remove the "Bitmap image" item from the "New" context menu - Добавить/удалить пункт "Точечный рисунок" из контекстного меню "Создать" + Configure the "Bitmap image" item in the "New" context menu .PARAMETER Remove Remove the "Bitmap image" item from the "New" context menu - Удалить пункт "Точечный рисунок" из контекстного меню "Создать" .PARAMETER Add - Add the "Bitmap image" item from the "New" context menu - Добавить пункт "Точечный рисунок" из контекстного меню "Создать" + Add the "Bitmap image" item to the "New" context menu .EXAMPLE BitmapImageNewContext -Remove .EXAMPLE BitmapImageNewContext -Add + Current user #> function BitmapImageNewContext { @@ -8135,22 +7758,20 @@ function BitmapImageNewContext <# .SYNOPSIS - Add/remove the "Rich Text Document" item from the "New" context menu - Добавить/удалить пункт "Документ в формате RTF" из контекстного меню "Создать" + Configure the "Rich Text Document" item in the "New" context menu .PARAMETER Remove Remove the "Rich Text Document" item from the "New" context menu - Удалить пункт "Документ в формате RTF" из контекстного меню "Создать" .PARAMETER Add - Add the "Rich Text Document" item from the "New" context menu - Добавить пункт "Документ в формате RTF" из контекстного меню "Создать" + Add the "Rich Text Document" item to the "New" context menu .EXAMPLE RichTextDocumentNewContext -Remove .EXAMPLE RichTextDocumentNewContext -Add + Current user #> function RichTextDocumentNewContext { @@ -8213,22 +7834,20 @@ function RichTextDocumentNewContext <# .SYNOPSIS - Add/remove the "Compressed (zipped) Folder" item from the "New" context menu - Добавить/удалить пункт "Сжатая ZIP-папка" из контекстного меню "Создать" + Configure the "Compressed (zipped) Folder" item in the "New" context menu .PARAMETER Remove Remove the "Compressed (zipped) Folder" item from the "New" context menu - Удалить пункт "Сжатая ZIP-папка" из контекстного меню "Создать" .PARAMETER Add - Add the "Compressed (zipped) Folder" item from the "New" context menu - Добавить пункт "Сжатая ZIP-папка" из контекстного меню "Создать" + Add the "Compressed (zipped) Folder" item to the "New" context menu .EXAMPLE CompressedFolderNewContext -Remove .EXAMPLE CompressedFolderNewContext -Add + Current user #> function CompressedFolderNewContext { @@ -8269,22 +7888,20 @@ function CompressedFolderNewContext <# .SYNOPSIS - Enable/disable the "Open", "Print", and "Edit" context menu items for more than 15 items selected - Включить/отключить элементы контекстного меню "Открыть", "Изменить" и "Печать" при выделении более 15 элементов + Configure the "Open", "Print", and "Edit" context menu items for more than 15 items selected .PARAMETER Enable Enable the "Open", "Print", and "Edit" context menu items for more than 15 items selected - Включить элементы контекстного меню "Открыть", "Изменить" и "Печать" при выделении более 15 элементов .PARAMETER Disable Disable the "Open", "Print", and "Edit" context menu items for more than 15 items selected - Отключить элементы контекстного меню "Открыть", "Изменить" и "Печать" при выделении более 15 элементов .EXAMPLE MultipleInvokeContext -Enable .EXAMPLE MultipleInvokeContext -Disable + Current user #> function MultipleInvokeContext { @@ -8320,22 +7937,20 @@ function MultipleInvokeContext <# .SYNOPSIS - Hide/show the "Look for an app in the Microsoft Store" item in the "Open with" dialog - Отобразить/скрыть пункт "Поиск приложения в Microsoft Store" в диалоге "Открыть с помощью" + Configure the "Look for an app in the Microsoft Store" item in the "Open with" dialog .PARAMETER Hide Hide the "Look for an app in the Microsoft Store" item in the "Open with" dialog - Скрыть пункт "Поиск приложения в Microsoft Store" в диалоге "Открыть с помощью" .PARAMETER Show Show the "Look for an app in the Microsoft Store" item in the "Open with" dialog - Отобразить пункт "Поиск приложения в Microsoft Store" в диалоге "Открыть с помощью" .EXAMPLE UseStoreOpenWith -Hide .EXAMPLE UseStoreOpenWith -Show + Current user #> function UseStoreOpenWith { @@ -8375,22 +7990,20 @@ function UseStoreOpenWith <# .SYNOPSIS - Hide/show the "Previous Versions" tab from files and folders context menu and also the "Restore previous versions" context menu item - Отобразить/скрыть вкладку "Предыдущие версии" в свойствах файлов и папок, а также пункт контекстного меню "Восстановить прежнюю версию" + Configure the "Previous Versions" tab in the files and folders context menu and the "Restore previous versions" context menu item .PARAMETER Hide - Hide the "Previous Versions" tab from files and folders context menu and also the "Restore previous versions" context menu item - Скрыть вкладку "Предыдущие версии" в свойствах файлов и папок, а также пункт контекстного меню "Восстановить прежнюю версию" + Hide the "Previous Versions" tab from the files and folders context menu and the "Restore previous versions" context menu item .PARAMETER Show - Show the "Previous Versions" tab from files and folders context menu and also the "Restore previous versions" context menu item - Отобразить вкладку "Предыдущие версии" в свойствах файлов и папок, а также пункт контекстного меню "Восстановить прежнюю версию" + Show the "Previous Versions" tab from the files and folders context menu and the "Restore previous versions" context menu item .EXAMPLE PreviousVersionsPage -Hide .EXAMPLE PreviousVersionsPage -Show + Current user #> function PreviousVersionsPage { @@ -8446,22 +8059,18 @@ private static extern int SHChangeNotify(int eventId, int flags, IntPtr item1, I public static void Refresh() { // Update desktop icons - // Обновить иконки рабочего стола SHChangeNotify(0x8000000, 0x1000, IntPtr.Zero, IntPtr.Zero); // Update environment variables - // Обновить переменные среды SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, IntPtr.Zero, null, SMTO_ABORTIFHUNG, 100, IntPtr.Zero); // Update taskbar - // Обновить панель задач SendNotifyMessage(HWND_BROADCAST, WM_SETTINGCHANGE, IntPtr.Zero, "TraySettings"); } private static readonly IntPtr hWnd = new IntPtr(65535); private const int Msg = 273; // Virtual key ID of the F5 in File Explorer -// Виртуальный код клавиши F5 в проводнике private static readonly UIntPtr UIntPtr = new UIntPtr(41504); [DllImport("user32.dll", SetLastError=true)] @@ -8469,7 +8078,6 @@ public static extern int PostMessageW(IntPtr hWnd, uint Msg, UIntPtr wParam, Int public static void PostMessage() { // Simulate pressing F5 to refresh the desktop - // Симулировать нажатие F5 для обновления рабочего стола PostMessageW(hWnd, Msg, UIntPtr, IntPtr.Zero); } "@ @@ -8480,19 +8088,15 @@ public static void PostMessage() } # Simulate pressing F5 to refresh the desktop - # Симулировать нажатие F5 для обновления рабочего стола [WinAPI.UpdateExplorer]::PostMessage() # Refresh desktop icons, environment variables, taskbar - # Обновить иконки рабочего стола, переменные среды, панель задач [WinAPI.UpdateExplorer]::Refresh() # Restart the Start menu - # Перезапустить меню "Пуск" Stop-Process -Name StartMenuExperienceHost -Force -ErrorAction Ignore - # Turn on Controlled folder access if it was turned on - # Включить контролируемый доступ к папкам, если был включен + # Turn on Controlled folder access if it was turned off if ($Script:ControlledFolderAccess) { Set-MpPreference -EnableControlledFolderAccess Enabled @@ -8503,7 +8107,6 @@ public static void PostMessage() #endregion Refresh # Errors output -# Вывод ошибок function Errors { if ($Global:Error) diff --git a/Sophia/LTSC/cn-CN/Sophia.psd1 b/Sophia/LTSC/cn-CN/Sophia.psd1 index 9a801006..c677c811 100644 --- a/Sophia/LTSC/cn-CN/Sophia.psd1 +++ b/Sophia/LTSC/cn-CN/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = 计划任务 ClearFolder = 删除"{0}"文件夹中的所有文件? FilesBlocked = 以下文件被第三方应用程序阻止。手动删除它们并继续 TempNotEmpty = "{0}"文件夹不为空。 手动清除 -WindowsFeaturesWindowTitle = Windows功能 -FODWindowTitle = 移除可选功能 (FODv2) +WindowsFeaturesTitle = Windows功能 +OptionalFeaturesTitle = 可选功能 EnableHardwareVT = UEFI中开启虚拟化 UserShellFolderNotEmpty = 一些文件留在了"{0}"文件夹.请手动将它们移到一个新位置 RetrievingDrivesList = 取得驱动器列表... @@ -35,7 +35,7 @@ DesktopDefaultFolder = 是否要将桌面文件夹位置改为 DocumentsDefaultFolder = 是否要将文档文件夹位置改为默认值? DownloadsDefaultFolder = 是否要将下载文件夹位置改为默认值? MusicDefaultFolder = 是否要将音乐文件夹位置改为默认值? -PicturesDefaultFolder = 是否要将图片文件夹位置改为默认值?? +PicturesDefaultFolder = 是否要将图片文件夹位置改为默认值? VideosDefaultFolder = 是否要将视频文件夹位置改为默认值? GraphicsPerformanceTitle = 图形性能偏好 GraphicsPerformanceRequest = 是否将所选应用程序的图形性能设置设为"高性能"? diff --git a/Sophia/LTSC/de-DE/Sophia.psd1 b/Sophia/LTSC/de-DE/Sophia.psd1 index 19f3f8d4..e324266d 100644 --- a/Sophia/LTSC/de-DE/Sophia.psd1 +++ b/Sophia/LTSC/de-DE/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Geplante Aufgaben ClearFolder = Löscht alle Dateien im Ordner "{0}"? FilesBlocked = Die folgenden Dateien werden von Apps von Drittanbietern blockiert. 'nEntfernen Sie sie manuell und fahren Sie fort TempNotEmpty = Der Ordner "{0}" ist nicht leer. Löschen Sie ihn manuell -WindowsFeaturesWindowTitle = Windows Eigenschaften -FODWindowTitle = Optionale eigenschaften (FODv2) +WindowsFeaturesTitle = Windows Eigenschaften +OptionalFeaturesTitle = Optionale Eigenschaften EnableHardwareVT = Virtualisierung in UEFI aktivieren UserShellFolderNotEmpty = Einige im Ordner "{0}" verbliebene Dateien `nVerschieben Sie sie manuell an einen neuen Ort RetrievingDrivesList = Abrufen der Laufwerksliste... diff --git a/Sophia/LTSC/en-US/Sophia.psd1 b/Sophia/LTSC/en-US/Sophia.psd1 index d10f2eb6..edf48694 100644 --- a/Sophia/LTSC/en-US/Sophia.psd1 +++ b/Sophia/LTSC/en-US/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Scheduled tasks ClearFolder = Delete all files in the "{0}" folder? FilesBlocked = The following files are being blocked by third-party party apps. Remove them manually and continue TempNotEmpty = The "{0}" folder is not empty. Clear it manually -WindowsFeaturesWindowTitle = Windows features -FODWindowTitle = Optional features (FODv2) +WindowsFeaturesTitle = Windows features +OptionalFeaturesTitle = Optional features EnableHardwareVT = Enable Virtualization in UEFI UserShellFolderNotEmpty = Some files left in the "{0}" folder. Move them manually to a new location RetrievingDrivesList = Retrieving drives list... diff --git a/Sophia/LTSC/es-ES/Sophia.psd1 b/Sophia/LTSC/es-ES/Sophia.psd1 index 2f1fa8cc..5f913bb8 100644 --- a/Sophia/LTSC/es-ES/Sophia.psd1 +++ b/Sophia/LTSC/es-ES/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Tareas programadas ClearFolder = Elimine todos los archivos en la carpeta "{0}"? FilesBlocked = Los siguientes archivos están siendo bloqueados por una aplicación de terceros. Elimínelos manualmente y continúe TempNotEmpty = La carpeta "{0}" no está vacía. Límpiela manualmente -WindowsFeaturesWindowTitle = Características de Windows -FODWindowTitle = Características opcionales (FODv2) +WindowsFeaturesTitle = Características de Windows +OptionalFeaturesTitle = Características opcionales EnableHardwareVT = Activar virtualización en UEFI UserShellFolderNotEmpty = Quedan algunos archivos en la carpeta "{0}". Muévalos manualmente a la nueva ubicación RetrievingDrivesList = Recuperando lista de unidades de disco... diff --git a/Sophia/LTSC/fr-FR/Sophia.psd1 b/Sophia/LTSC/fr-FR/Sophia.psd1 index b43b461b..f6b046b1 100644 --- a/Sophia/LTSC/fr-FR/Sophia.psd1 +++ b/Sophia/LTSC/fr-FR/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Tâches planifiées ClearFolder = Supprimer tous les fichiers dans le dossier "{0}"? FilesBlocked = Les fichiers suivants sont bloqués par une application tierce `nRetirer les manuellement et continuer TempNotEmpty = Le dossier "{0}" n'est pas vide. L'effacer manuellement -WindowsFeaturesWindowTitle = Fonctionnalités -FODWindowTitle = Fonctionnalités optionnelles (FODv2) +WindowsFeaturesTitle = Fonctionnalités +OptionalFeaturesTitle = Fonctionnalités optionnelles EnableHardwareVT = Activer la virtualisation dans UEFI UserShellFolderNotEmpty = Certains fichiers laissés dans le dossier "{0}" `nDéplacer les manuellement vers un nouvel emplacement RetrievingDrivesList = Récupération de la liste des lecteurs... diff --git a/Sophia/LTSC/it-IT/Sophia.psd1 b/Sophia/LTSC/it-IT/Sophia.psd1 index d7a9607b..b7fbbdc2 100644 --- a/Sophia/LTSC/it-IT/Sophia.psd1 +++ b/Sophia/LTSC/it-IT/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Attività pianificate ClearFolder = Elimina tutti i file nella cartella "{0}"? FilesBlocked = I seguenti file sono bloccati da app di terze parti. Rimuoverli manualmente e continua TempNotEmpty = La cartella "{0}" non è vuota. Pulirla manualmente -WindowsFeaturesWindowTitle = Funzionalità Windows -FODWindowTitle = Funzionalità facoltative (FODv2) +WindowsFeaturesTitle = Funzionalità Windows +OptionalFeaturesTitle = Funzionalità facoltative EnableHardwareVT = Attiva Virtualizzazione in UEFI UserShellFolderNotEmpty = Sono rimasti alcuni file nella cartella "{0}". Spostarli manualmente in una nuova posizione. RetrievingDrivesList = Recupero lista delle unità... diff --git a/Sophia/LTSC/ru-RU/Sophia.psd1 b/Sophia/LTSC/ru-RU/Sophia.psd1 index e710e1ca..e2dae4d1 100644 --- a/Sophia/LTSC/ru-RU/Sophia.psd1 +++ b/Sophia/LTSC/ru-RU/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Запланированные зада ClearFolder = Удалить все файлы в папке "{0}"? FilesBlocked = Следующие файлы блокируются сторонними приложениями. Удалите их вручную и продолжите TempNotEmpty = Папка "{0}" не пуста. Очистите ее вручную -WindowsFeaturesWindowTitle = Компоненты Windows -FODWindowTitle = Дополнительные компоненты (FODv2) +WindowsFeaturesTitle = Компоненты Windows +OptionalFeaturesTitle = Дополнительные компоненты EnableHardwareVT = Включите виртуализацию в UEFI UserShellFolderNotEmpty = В папке "{0}" остались файлы. Переместите их вручную в новое расположение RetrievingDrivesList = Получение списка дисков... diff --git a/Sophia/LTSC/tr-TR/Sophia.psd1 b/Sophia/LTSC/tr-TR/Sophia.psd1 index ba17082e..88ee681f 100644 --- a/Sophia/LTSC/tr-TR/Sophia.psd1 +++ b/Sophia/LTSC/tr-TR/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Zamanlanan görevler ClearFolder = "{0}" klasöründeki tüm dosyaları silin? FilesBlocked = Aşağıdaki dosyalar 3. parti uygulamalar tarafından engelleniyor. `nKendiniz silin ve devam edin TempNotEmpty = "{0}" klasörü boş değil. Kendiniz temizleyin -WindowsFeaturesWindowTitle = Windows özellikleri -FODWindowTitle = İsteğe bağlı özellikler (FODv2) +WindowsFeaturesTitle = Windows özellikleri +OptionalFeaturesTitle = İsteğe bağlı özellikler EnableHardwareVT = UEFI'dan sanallaştırmayı aktifleştirin UserShellFolderNotEmpty = "{0}" klasöründe bazı dosyalar kaldı. `nKendiniz yeni konuma taşıyın RetrievingDrivesList = Sürücü listesi alınıyor... diff --git a/Sophia/LTSC/uk-UA/Sophia.psd1 b/Sophia/LTSC/uk-UA/Sophia.psd1 index eab4b51b..6077d012 100644 --- a/Sophia/LTSC/uk-UA/Sophia.psd1 +++ b/Sophia/LTSC/uk-UA/Sophia.psd1 @@ -7,8 +7,8 @@ ScheduledTasks = Заплановані задачі ClearFolder = Видаліть всі файли у папці "{0}"? FilesBlocked = Наступні файли блокуються сторонніми програмами\nВидаліть їх вручну та продовжуйте TempNotEmpty = Папка "{0}" не порожня. Очистіть її вручну -WindowsFeaturesWindowTitle = Компоненти Windows -FODWindowTitle = Додаткові компоненти (FODv2) +WindowsFeaturesTitle = Компоненти Windows +OptionalFeaturesTitle = Додаткові компоненти EnableHardwareVT = Увімкніть віртуалізацію в UEFI UserShellFolderNotEmpty = У папці "{0}" залишились файли. Перемістіть їх вручну у нове розташування RetrievingDrivesList = Отримання списку дисків...