diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json index 051c6e9c..f0c3d5f3 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json @@ -644,21 +644,6 @@ { "Id": 325, "Region": "UI & Personalization", - "Function": "TaskManagerWindow", - "Arg": { - "Zero": { - "Tag": "Expanded", - "ToolTip": "Startet den Task-Manager im erweiterten Modus" - }, - "One": { - "Tag": "Compact", - "ToolTip": "Task-Manager im kompakten Modus starten (Standardeinstellung)" - } - } - }, - { - "Id": 326, - "Region": "UI & Personalization", "Function": "RestartNotification", "Arg": { "Zero": { @@ -672,7 +657,7 @@ } }, { - "Id": 327, + "Id": 326, "Region": "UI & Personalization", "Function": "ShortcutsSuffix", "Arg": { @@ -687,7 +672,7 @@ } }, { - "Id": 328, + "Id": 327, "Region": "UI & Personalization", "Function": "PrtScnSnippingTool", "Arg": { @@ -702,7 +687,7 @@ } }, { - "Id": 329, + "Id": 328, "Region": "UI & Personalization", "Function": "AppsLanguageSwitch", "Arg": { @@ -717,7 +702,7 @@ } }, { - "Id": 330, + "Id": 329, "Region": "UI & Personalization", "Function": "AeroShaking", "Arg": { diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_11.json b/Wrapper/Localizations/en-US/tooltip_Windows_11.json index 491a9237..b1308736 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_11.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_11.json @@ -644,21 +644,6 @@ { "Id": 325, "Region": "UI & Personalization", - "Function": "TaskManagerWindow", - "Arg": { - "Zero": { - "Tag": "Expanded", - "ToolTip": "Start Task Manager in the expanded mode" - }, - "One": { - "Tag": "Compact", - "ToolTip": "Start Task Manager in the compact mode (default value)" - } - } - }, - { - "Id": 326, - "Region": "UI & Personalization", "Function": "RestartNotification", "Arg": { "Zero": { @@ -672,7 +657,7 @@ } }, { - "Id": 327, + "Id": 326, "Region": "UI & Personalization", "Function": "ShortcutsSuffix", "Arg": { @@ -687,7 +672,7 @@ } }, { - "Id": 328, + "Id": 327, "Region": "UI & Personalization", "Function": "PrtScnSnippingTool", "Arg": { @@ -702,7 +687,7 @@ } }, { - "Id": 329, + "Id": 328, "Region": "UI & Personalization", "Function": "AppsLanguageSwitch", "Arg": { @@ -717,7 +702,7 @@ } }, { - "Id": 330, + "Id": 329, "Region": "UI & Personalization", "Function": "AeroShaking", "Arg": { diff --git a/Wrapper/Localizations/es-ES/tooltip_Windows_11.json b/Wrapper/Localizations/es-ES/tooltip_Windows_11.json index 41713d31..3b38744a 100644 --- a/Wrapper/Localizations/es-ES/tooltip_Windows_11.json +++ b/Wrapper/Localizations/es-ES/tooltip_Windows_11.json @@ -644,21 +644,6 @@ { "Id": 325, "Region": "UI & Personalization", - "Function": "TaskManagerWindow", - "Arg": { - "Zero": { - "Tag": "Expanded", - "ToolTip": "Inicie el Administrador de tareas en el modo expandido" - }, - "One": { - "Tag": "Compact", - "ToolTip": "Inicie el Administrador de tareas en el modo compacto (valor predeterminado)" - } - } - }, - { - "Id": 326, - "Region": "UI & Personalization", "Function": "RestartNotification", "Arg": { "Zero": { @@ -672,7 +657,7 @@ } }, { - "Id": 327, + "Id": 326, "Region": "UI & Personalization", "Function": "ShortcutsSuffix", "Arg": { @@ -687,7 +672,7 @@ } }, { - "Id": 328, + "Id": 327, "Region": "UI & Personalization", "Function": "PrtScnSnippingTool", "Arg": { @@ -702,7 +687,7 @@ } }, { - "Id": 329, + "Id": 328, "Region": "UI & Personalization", "Function": "AppsLanguageSwitch", "Arg": { @@ -717,7 +702,7 @@ } }, { - "Id": 330, + "Id": 320, "Region": "UI & Personalization", "Function": "AeroShaking", "Arg": { diff --git a/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json b/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json index c08b7d39..1fba2fcd 100644 --- a/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json +++ b/Wrapper/Localizations/pt-BR/tooltip_Windows_11.json @@ -644,21 +644,6 @@ { "Id": 325, "Region": "UI & Personalization", - "Function": "TaskManagerWindow", - "Arg": { - "Zero": { - "Tag": "Expanded", - "ToolTip": "Inicie o Gerenciador de Tarefas no modo expandido" - }, - "One": { - "Tag": "Compact", - "ToolTip": "Inicie o Gerenciador de Tarefas no modo compacto (valor padrão)" - } - } - }, - { - "Id": 326, - "Region": "UI & Personalization", "Function": "RestartNotification", "Arg": { "Zero": { @@ -672,7 +657,7 @@ } }, { - "Id": 327, + "Id": 326, "Region": "UI & Personalization", "Function": "ShortcutsSuffix", "Arg": { @@ -687,7 +672,7 @@ } }, { - "Id": 328, + "Id": 327, "Region": "UI & Personalization", "Function": "PrtScnSnippingTool", "Arg": { @@ -702,7 +687,7 @@ } }, { - "Id": 329, + "Id": 328, "Region": "UI & Personalization", "Function": "AppsLanguageSwitch", "Arg": { @@ -717,7 +702,7 @@ } }, { - "Id": 330, + "Id": 329, "Region": "UI & Personalization", "Function": "AeroShaking", "Arg": { diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json index ed34a32f..4dba112c 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json @@ -644,21 +644,6 @@ { "Id": 325, "Region": "UI & Personalization", - "Function": "TaskManagerWindow", - "Arg": { - "Zero": { - "Tag": "Expanded", - "ToolTip": "Запускать Диспетчера задач в развернутом виде" - }, - "One": { - "Tag": "Compact", - "ToolTip": "Запускать Диспетчера задач в свернутом виде (значение по умолчанию)" - } - } - }, - { - "Id": 326, - "Region": "UI & Personalization", "Function": "RestartNotification", "Arg": { "Zero": { @@ -672,7 +657,7 @@ } }, { - "Id": 327, + "Id": 326, "Region": "UI & Personalization", "Function": "ShortcutsSuffix", "Arg": { @@ -687,7 +672,7 @@ } }, { - "Id": 328, + "Id": 327, "Region": "UI & Personalization", "Function": "PrtScnSnippingTool", "Arg": { @@ -702,7 +687,7 @@ } }, { - "Id": 329, + "Id": 328, "Region": "UI & Personalization", "Function": "AppsLanguageSwitch", "Arg": { @@ -717,7 +702,7 @@ } }, { - "Id": 330, + "Id": 329, "Region": "UI & Personalization", "Function": "AeroShaking", "Arg": { diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_10.json b/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_10.json new file mode 100644 index 00000000..6b4b872f --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_10.json @@ -0,0 +1,2492 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Control": "cmb", + "Required": "true", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning" + }, + "One": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 101, + "Region": "Protection", + "Control": "chk", + "Required": "false", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 102, + "Region": "Protection", + "Control": "chk", + "Required": "false", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero" + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never" + }, + "One": { + "Tag": "Automatically" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC" + }, + "One": { + "Tag": "QuickAccess" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed" + }, + "One": { + "Tag": "Compact" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded" + }, + "One": { + "Tag": "Minimized" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + + { + "Id": 312, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "SearchIcon" + }, + "Two": { + "Tag": "SearchBox" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two" + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "NotificationAreaIcons", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Control": "chk", + "Required": "false", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "Arg": { + "Zero": { + "Tag": "Edge" + }, + "One": { + "Tag": "Store" + }, + "Two": { + "Tag": "Mail" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons" + }, + "One": { + "Tag": "SmallIcons" + }, + "Two": { + "Tag": "Category" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two" + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark" + }, + "One": { + "Tag": "Light" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark" + }, + "One": { + "Tag": "Light" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded" + }, + "One": { + "Tag": "Compact" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "One", + "WindowsDefault": "Zero" + }, + { + "Id": 338, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default" + }, + "One": { + "Tag": "Dark" + }, + "Two": { + "Tag": "Light" + } + }, + "Preset": "One", + "WindowsDefault": "Zero" + }, + { + "Id": 400, + "Region": "OneDrive", + "Control": "cmb", + "Required": "false", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 500, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 501, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 502, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero" + }, + { + "Id": 503, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 504, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 505, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 506, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 507, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 508, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 509, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 510, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 511, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 512, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 513, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 514, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 515, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High" + }, + "One": { + "Tag": "Balanced" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 516, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 517, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 518, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 519, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 520, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root" + }, + "One": { + "Tag": "Custom" + }, + "Two": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two" + }, + { + "Id": 521, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 522, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 523, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 524, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 525, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 526, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 527, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "", + "WindowsDefault": "One" + }, + { + "Id": 528, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 529, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 530, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 531, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 532, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 533, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically" + }, + "One": { + "Tag": "Manually" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 534, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 535, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "UninstallPCHealthCheck", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 536, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 537, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 538, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 600, + "Region": "WSL", + "Control": "chk", + "Required": "false", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 700, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 701, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 702, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated" + }, + "One": { + "Tag": "NonElevated" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 703, + "Region": "Start menu", + "Control": "chk", + "Required": "false", + "Function": "PinToStart -Tiles", + "Arg": { + "Zero": { + "Tag": "ControlPanel" + }, + "One": { + "Tag": "DevicesPrinters" + }, + "Two": { + "Tag": "PowerShell" + } + }, + "Preset": "012", + "WindowsDefault": "" + }, + { + "Id": 704, + "Region": "Start menu", + "Control": "chk", + "Required": "false", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 800, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 801, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 802, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 803, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "One", + "WindowsDefault": "" + }, + { + "Id": 804, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 806, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 807, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 900, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 901, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 902, + "Region": "Gaming", + "Control": "chk", + "Required": "false", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 903, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Control": "chk", + "Required": "false", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Control": "chk", + "Required": "false", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1200, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1201, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1202, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1203, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1204, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1205, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "", + "WindowsDefault": "One" + }, + { + "Id": 1206, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1207, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1208, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1209, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1210, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1211, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1212, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1213, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1214, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1215, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1216, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1300, + "Region": "Update Policies", + "Control": "chk", + "Required": "false", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_10_LTSC.json b/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_10_LTSC.json new file mode 100644 index 00000000..0a0154db --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_10_LTSC.json @@ -0,0 +1,2768 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Control": "cmb", + "Required": "true", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning" + }, + "One": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 101, + "Region": "Protection", + "Control": "chk", + "Required": "false", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 102, + "Region": "Protection", + "Control": "chk", + "Required": "false", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never" + }, + "One": { + "Tag": "Automatically" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "One", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "One", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC" + }, + "One": { + "Tag": "QuickAccess" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed" + }, + "One": { + "Tag": "Compact" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded" + }, + "One": { + "Tag": "Minimized" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + + { + "Id": 312, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "SearchIcon" + }, + "Two": { + "Tag": "SearchBox" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "NotificationAreaIcons", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Control": "chk", + "Required": "false", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "Arg": { + "Zero": { + "Tag": "Edge" + }, + "One": { + "Tag": "Store" + }, + "Two": { + "Tag": "Mail" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons" + }, + "One": { + "Tag": "SmallIcons" + }, + "Two": { + "Tag": "Category" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark" + }, + "One": { + "Tag": "Light" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark" + }, + "One": { + "Tag": "Light" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded" + }, + "One": { + "Tag": "Compact" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "One", + "WindowsDefault": "Zero", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 338, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default" + }, + "One": { + "Tag": "Dark" + }, + "Two": { + "Tag": "Light" + } + }, + "Preset": "One", + "WindowsDefault": "Zero" + }, + { + "Id": 400, + "Region": "OneDrive", + "Control": "cmb", + "Required": "false", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 500, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 501, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 502, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 503, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 504, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 505, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 506, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 507, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 508, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 509, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 510, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 511, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 512, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 513, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 514, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 515, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High" + }, + "One": { + "Tag": "Balanced" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 516, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 517, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 518, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "One", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 519, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 520, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root" + }, + "One": { + "Tag": "Custom" + }, + "Two": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 521, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 522, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 523, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 524, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 525, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 526, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 527, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 528, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 529, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 530, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 531, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 532, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 533, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically" + }, + "One": { + "Tag": "Manually" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 534, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 535, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 536, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 537, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 600, + "Region": "WSL", + "Control": "chk", + "Required": "false", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 700, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 701, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 702, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated" + }, + "One": { + "Tag": "NonElevated" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 703, + "Region": "Start menu", + "Control": "chk", + "Required": "false", + "Function": "PinToStart -Tiles", + "Arg": { + "Zero": { + "Tag": "ControlPanel" + }, + "One": { + "Tag": "DevicesPrinters" + }, + "Two": { + "Tag": "PowerShell" + } + }, + "Preset": "012", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 704, + "Region": "Start menu", + "Control": "chk", + "Required": "false", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 800, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 801, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 802, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 803, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "One", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 804, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 806, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 807, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 900, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "false" + }, + { + "Id": 901, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "false" + }, + { + "Id": 902, + "Region": "Gaming", + "Control": "chk", + "Required": "false", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 903, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "true" + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Control": "chk", + "Required": "false", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Control": "chk", + "Required": "false", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1200, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1201, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1202, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1203, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1204, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1205, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1206, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 1207, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 1208, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "false", + "LTSC2021": "false" + }, + { + "Id": 1209, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1210, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1211, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1212, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1213, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1214, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1215, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "true" + }, + { + "Id": 1216, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One", + "LTSC2019": "true", + "LTSC2021": "false" + }, + { + "Id": 1300, + "Region": "Update Policies", + "Control": "chk", + "Required": "false", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "", + "LTSC2019": "true", + "LTSC2021": "true" + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_11.json b/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_11.json new file mode 100644 index 00000000..b82e31db --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Config/config_Windows_11.json @@ -0,0 +1,2335 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Control": "cmb", + "Required": "true", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning" + }, + "One": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 101, + "Region": "Protection", + "Control": "chk", + "Required": "false", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 102, + "Region": "Protection", + "Control": "chk", + "Required": "false", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero" + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never" + }, + "One": { + "Tag": "Automatically" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Control": "cmb", + "Required": "false", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC" + }, + "One": { + "Tag": "QuickAccess" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileExplorerCompactMode", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SnapAssistFlyout", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero" + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed" + }, + "One": { + "Tag": "Compact" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskbarAlignment", + "Arg": { + "Zero": { + "Tag": "Left" + }, + "One": { + "Tag": "Center" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskbarWidgets", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "TaskbarChat", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Control": "chk", + "Required": "false", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "Arg": { + "Zero": { + "Tag": "Edge" + }, + "One": { + "Tag": "Store" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons" + }, + "One": { + "Tag": "SmallIcons" + }, + "Two": { + "Tag": "Category" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two" + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark" + }, + "One": { + "Tag": "Light" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark" + }, + "One": { + "Tag": "Light" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Control": "cmb", + "Required": "false", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default" + }, + "One": { + "Tag": "Dark" + }, + "Two": { + "Tag": "Light" + } + }, + "Preset": "One", + "WindowsDefault": "Zero" + }, + { + "Id": 400, + "Region": "OneDrive", + "Control": "cmb", + "Required": "false", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 500, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 501, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 502, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero" + }, + { + "Id": 503, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 504, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 505, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 506, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 507, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 508, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 509, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 510, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 511, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 512, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 513, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 514, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 515, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High" + }, + "One": { + "Tag": "Balanced" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 516, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 517, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 518, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "One", + "WindowsDefault": "One" + }, + { + "Id": 519, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 520, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root" + }, + "One": { + "Tag": "Custom" + }, + "Two": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "Two" + }, + { + "Id": 521, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 522, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically" + }, + "One": { + "Tag": "Default" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 523, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 524, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 525, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 526, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 527, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "", + "WindowsDefault": "One" + }, + { + "Id": 528, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 529, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 530, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 531, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 532, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 533, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically" + }, + "One": { + "Tag": "Manually" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 534, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 535, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "DefaultTerminalApp", + "Arg": { + "Zero": { + "Tag": "WindowsTerminal" + }, + "One": { + "Tag": "ConsoleHost" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 536, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 537, + "Region": "System", + "Control": "chk", + "Required": "false", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 538, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 539, + "Region": "System", + "Control": "cmb", + "Required": "false", + "Function": "WSA", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 600, + "Region": "WSL", + "Control": "chk", + "Required": "false", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 700, + "Region": "Start menu", + "Control": "chk", + "Required": "false", + "Function": "UnpinAllStartApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 701, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated" + }, + "One": { + "Tag": "NonElevated" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 702, + "Region": "Start menu", + "Control": "cmb", + "Required": "false", + "Function": "StartLayout", + "Arg": { + "Zero": { + "Tag": "Default" + }, + "One": { + "Tag": "ShowMorePins" + }, + "Two": { + "Tag": "ShowMoreRecommendations" + } + }, + "Preset": "One", + "WindowsDefault": "Zero" + }, + { + "Id": 800, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 801, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 802, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "", + "WindowsDefault": "" + }, + { + "Id": 803, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually" + }, + "One": { + "Tag": "Install" + } + }, + "Preset": "One", + "WindowsDefault": "" + }, + { + "Id": 804, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 805, + "Region": "UWP apps", + "Control": "cmb", + "Required": "false", + "Function": "TeamsAutostart", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 806, + "Region": "UWP apps", + "Control": "chk", + "Required": "false", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 900, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 901, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 902, + "Region": "Gaming", + "Control": "chk", + "Required": "false", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 903, + "Region": "Gaming", + "Control": "cmb", + "Required": "false", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Control": "cmb", + "Required": "false", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register" + }, + "One": { + "Tag": "Delete" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Control": "chk", + "Required": "false", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Control": "chk", + "Required": "false", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Control": "cmb", + "Required": "false", + "Function": "DNSoverHTTPS", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "", + "WindowsDefault": "One" + }, + { + "Id": 1200, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1201, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1202, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1203, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1204, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1205, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1206, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1207, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1208, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1209, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1210, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1211, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1212, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide" + }, + "One": { + "Tag": "Show" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1213, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "OpenWindowsTerminalContext", + "Arg": { + "Zero": { + "Tag": "Show" + }, + "One": { + "Tag": "Hide" + } + }, + "Preset": "Zero", + "WindowsDefault": "Show" + }, + { + "Id": 1214, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "OpenWindowsTerminalAdminContext", + "Arg": { + "Zero": { + "Tag": "Enable" + }, + "One": { + "Tag": "Disable" + } + }, + "Preset": "Zero", + "WindowsDefault": "One" + }, + { + "Id": 1215, + "Region": "Context menu", + "Control": "cmb", + "Required": "false", + "Function": "Windows10ContextMenu", + "Arg": { + "Zero": { + "Tag": "Disable" + }, + "One": { + "Tag": "Enable" + } + }, + "Preset": "Zero", + "WindowsDefault": "Zero" + }, + { + "Id": 1300, + "Region": "Update Policies", + "Control": "chk", + "Required": "false", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "" + } + }, + "Preset": "Zero", + "WindowsDefault": "" + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tag.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tag.json new file mode 100644 index 00000000..fd10b0d0 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tag.json @@ -0,0 +1,46 @@ +{ + "Warning": "Warnen", + "Checks": "Überprüfen", + "Disable": "Deaktivieren", + "Enable": "Aktivieren", + "None": "Nichts", + "Minimal": "Мinimal", + "Default": "Standard", + "Never": "Niemals", + "Hide": "Ausblenden", + "Show": "Anzeigen", + "ThisPC": "Dieser PC", + "QuickAccess": "Schnellzugriff", + "Detailed": "Ausführlich", + "Compact": "Kompakt", + "Expanded": "Erweitert", + "Minimized": "Minimiert", + "SearchIcon": "Suchsymbol", + "SearchBox": "Suchbox", + "LargeIcons": "Große Symbole", + "SmallIcons": "Kleine Symbole", + "Category": "Kategorie", + "Dark": "Dunkel", + "Light": "Hell", + "Max": "Maximal", + "Uninstall": "Deinstallieren", + "Install": "Installieren", + "Month": "Monat", + "SystemDrive": "Systemlaufwerk", + "High": "Hoch", + "Balanced": "Ausgewogen", + "English": "Englisch", + "Root": "Root", + "Custom": "Benutzerdefiniert", + "Desktop": "Desktop", + "Automatically": "Automatisch", + "Manually": "Manuell", + "Elevated": "Erhöht", + "NonElevated": "Nicht erhöht", + "Register": "Registrieren", + "Delete": "Löschen", + "Left": "Links", + "Center": "Zentriert", + "WindowsTerminal": "Windows-Terminal", + "ConsoleHost": "Konsolenhost" +} diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tooltip_Windows_10.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tooltip_Windows_10.json new file mode 100644 index 00000000..9a43c5e3 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tooltip_Windows_10.json @@ -0,0 +1,2203 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "Obligatorische Kontrollen. Um die Warnung bei der Einrichtung der Voreinstellungsdatei zu deaktivieren, löschen Sie das Argument \"-Warnung\"." + }, + "One": { + "Tag": "", + "ToolTip": "Obligatorische Kontrollen. Keine Warnmeldung, wenn eine voreingestellte Datei eingestellt wurde" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Aktiviert die Protokollierung der Skriptoperationen. Das Protokoll wird in den Skriptordner geschrieben. Um die Protokollierung zu beenden, schließen Sie die Konsole oder geben Sie \"Stop-Transcript\" ein." + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Einen Wiederherstellungspunkt erstellen" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Dienst \"Connected User Experiences and Telemetry\" (DiagTrack), und blockiert die Verbindung für den ausgehenden Verkehr des Unified Telemetry Client. Das Deaktivieren des Dienstes \"Benutzererfahrungen und Telemetrie im verbundenen Modus\" (DiagTrack) kann dazu führen, dass Sie keine Xbox-Erfolge mehr erhalten können" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert den DiagTrack-Dienst, die Firewall-Regel für ausgehenden Verkehr des Unified Telemetry Client und erlaubt die Verbindung (Standardeinstellung)." + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Setzt die OS-Ebene der Diagnosedatenerfassung auf ein Minimum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Setzt die Diagnosedatenerfassung auf Standard (Standardeinstellung)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Windows-Fehlerberichterstattung" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Windows-Fehlerberichterstattung (Standardeinstellung)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Ändert die Feedbackfrequenz auf \"Nie\"." + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Ändert die Rückmeldefrequenz auf \"Automatisch\" (Standardeinstellung)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die geplanten Aufgaben zur Diagnoseverfolgung" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Diagnoseverfolgung für geplante Aufgaben (Standardeinstellung)." + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Verwende keine Anmeldedaten, um das Gerät automatisch einzurichten und Anwendungen nach einem Neustart oder einer Aktualisierung zu öffnen." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Anmeldedaten verwenden, um die Geräteeinrichtung und das Öffnen von Anwendungen nach einem Neustart oder einer Aktualisierung automatisch abzuschließen (Standardeinstellung)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Erlauben Sie nicht, dass Websites lokale Informationen auf Kosten des Zugangs zur Sprachenliste anbieten" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Websites erlauben, lokale Informationen durch Zugriff auf die Sprachliste bereitzustellen (Standardeinstellung)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Erlauben Sie Anwendungen nicht, eine Werbe-ID zu verwenden" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Erlauben Sie Anwendungen die Verwendung einer Werbe-ID (Standardeinstellung)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Anwendungen nicht erlauben, den Werbe-Identifikator zu verwenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Anwendungen die Verwendung des Werbekennzeichens erlauben (Standardeinstellung)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Tipps, Hinweise und Ratschläge zur Verwendung von Windows erhalten (Standardeinstellung)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Keine Tipps, Hinweise und Ratschläge zur Verwendung von Windows zu erhalten" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Vorgeschlagene Inhalte in der Einstellungs-App vor mir verbergen" + }, + "One": { + "Tag": "Show", + "ToolTip": "Vorgeschlagene Inhalte in der Einstellungen-App anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Automatische Installation der empfohlenen Anwendungen deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Automatische Installation der empfohlenen Anwendungen aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Keine Vorschläge, wie ich mein Gerät fertig einrichten kann, um Windows optimal zu nutzen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Vorschläge, wie ich mein Gerät fertig einrichten kann, um Windows optimal zu nutzen (Standardeinstellung)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Lassen Sie nicht zu, dass Microsoft Ihnen maßgeschneiderte Erfahrungen auf der Grundlage der von Ihnen gewählten Einstellung für Diagnosedaten anbietet" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft bietet Ihnen auf der Grundlage der von Ihnen gewählten Einstellung für Diagnosedaten maßgeschneiderte Erfahrungen an (Standardeinstellung)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Bing-Suche im Startmenü deaktivieren (nur in den USA)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieren der Bing-Suche im Startmenü (Standardeinstellung)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Das Symbol \"Dieser PC\" auf dem Desktop anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Das Symbol \"Dieser PC\" auf dem Desktop ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Verwende keine Kontrollkästchen zur Auswahl von Elementen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Verwende Kontrollkästchen, um Elemente auszuwählen (Standardeinstellung)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Versteckte Dateien, Ordner und Laufwerke anzeigen" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Versteckte Dateien, Ordner und Laufwerke nicht anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Dateinamenerweiterungen anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Dateinamenerweiterungen ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Konflikte beim Zusammenführen von Ordnern anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Konflikte beim Zusammenführen von Ordnern ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Öffnet den Datei-Explorer zu \"Dieser PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Datei-Explorer für Schnellzugriff öffnen (Standardeinstellung)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Kompaktmodus des Datei-Explorers" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieret den Kompaktmodus des Datei-Explorers (Standardeinstellung)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Cortana-Schaltfläche in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Cortana-Schaltfläche in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Synchronisationsanbieter-Benachrichtigungen im Explorer nicht anzeigen" + }, + "One": { + "Tag": "Show", + "ToolTip": "Synchronisationsanbieter-Benachrichtigungen im Explorer anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Wenn Sie ein Fenster anbringen, zeigen Sie nicht, was daneben angebracht werden kann." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Beim Anhängen eines Fensters anzeigen, was daneben angehängt werden kann (Standardeinstellung)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Das Dialogfeld für die Dateiübertragung im detaillierten Modus anzeigen" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Das Dialogfeld für die Dateiübertragung im Kompaktmodus anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Erweitert die Multifunktionsleiste des Datei-Explorers" + }, + "One": { + "Tag": "Minimized", + "ToolTip": "Minimiert die Multifunktionsleiste des Datei-Explorers (Standardeinstellung)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Anzeige der Bestätigung des Löschens von Papierkorbdateien" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Die Bestätigung zum Löschen von Papierkorbdateien nicht anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Ordners \"3D-Objekte\" in \"Dieser PC\" und \"Schnellzugriff\"." + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Ordner \"3D-Objekte\" in \"Dieser PC\" und \"Schnellzugriff\" anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Häufig verwendete Ordner im Schnellzugriff ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Zuletzt verwendete Dateien im Schnellzugriff anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Häufig verwendete Ordner im Schnellzugriff ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Häufig verwendete Ordner im Schnellzugriff anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Suche in der Taskleiste" + }, + "One": { + "Tag": "SearchIcon", + "ToolTip": "Das Suchsymbol in der Taskleiste anzeigen" + }, + "Two": { + "Tag": "SearchBox", + "ToolTip": "Das Suchfeld in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Schaltfläche Aufgabenansicht in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Die Schaltfläche Aufgabenansicht in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Suchhighlights ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Suchhighlights anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Schaltfläche Personen ausblenden in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Schaltfläche Personen in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Sekunden auf der Taskleistenuhr anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Sekunden auf der Taskleistenuhr ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Schaltfläche Windows-Ink-Arbeitsbereich in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Die Schaltfläche Windows-Ink-Arbeitsbereich in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "NotificationAreaIcons", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Immer alle Symbole im Infobereich anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Alle Symbole im Infobereich ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Meet-Now-Symbols im Infobereich" + }, + "One": { + "Tag": "Show", + "ToolTip": "Das Symbol Meet Now im Infobereich anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren von \"Nachrichten und Interessen\" in der Taskleiste" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert \"Nachrichten und Interessen\" auf der Taskleiste (Standardeinstellung)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Die Verknüpfungen \"Microsoft Edge\", \"Microsoft Store\" oder \"Mail\" von der Taskleiste lösen.", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Die Verknüpfung \"Microsoft Edge\" von der Taskleiste lösen." + }, + "One": { + "Tag": "Store", + "ToolTip": "Die Verknüpfung \"Microsoft Store\" von der Taskleiste lösen" + }, + "Two": { + "Tag": "Mail", + "ToolTip": "Die Verknüpfung \"Mail\" von der Taskleiste lösen" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Anzeigen der Symbole der Systemsteuerung durch große Symbole" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Anzeige der Symbole der Systemsteuerung durch kleine Symbole" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Anzeigen der Symbole der Systemsteuerung nach Kategorie (Standardeinstellung)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Den Windows-Standardmodus auf dunkel einstellen" + }, + "One": { + "Tag": "Light", + "ToolTip": "Den Windows-Standardmodus auf hell setzen (Standardeinstellung)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Den Standardmodus der Anwendung auf dunkel einstellen" + }, + "One": { + "Tag": "Light", + "ToolTip": "Den Standard-Anwendungsmodus auf Hell setzen (Standardeinstellung)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Die Anzeige \"Neue App installiert\" ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Indikator \"Neue App installiert\" anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Animation zur Erstanmeldung nach dem Upgrade ausblenden" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Animation zur ersten Anmeldung des Benutzers nach dem Upgrade anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Setzt den Qualitätsfaktor der JPEG-Desktop-Hintergründe auf Maximum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Setzt den Qualitätsfaktor der JPEG-Desktop-Hintergründe auf Standard (Standardeinstellung)" + } + } + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Startet den Task-Manager im erweiterten Modus" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Task-Manager im kompakten Modus starten (Standardeinstellung)" + } + } + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Eine Benachrichtigung anzeigen, wenn Ihr PC neu gestartet werden muss, um die Aktualisierung abzuschließen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Keine Benachrichtigung anzeigen, wenn Ihr PC neu gestartet werden muss, um die Aktualisierung abzuschließen (Standardeinstellung)" + } + } + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Das Suffix \"-Verknüpfung\" nicht an den Dateinamen der erstellten Verknüpfungen anhängen." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Das Suffix \"-Verknüpfung\" an den Dateinamen der erstellten Verknüpfungen anhängen (Standardeinstellung)" + } + } + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Verwenden der Schaltfläche Bildschirm drucken, um den Bildschirmausschnitt zu öffnen." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Die Schaltfläche Bildschirm drucken nicht zum Öffnen von Bildschirmausschnitten verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Nicht für jedes Anwendungsfenster eine andere Eingabemethode verwenden (Standardeinstellung)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Lassen Sie mich für jedes Anwendungsfenster eine andere Eingabemethode verwenden" + } + } + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Wenn ich die Titelleiste eines Fensters greife und schüttle, werden nicht alle anderen Fenster minimiert (Standardeinstellung)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Wenn ich die Titelleiste eines Fensters greife und schüttle, werden alle anderen Fenster minimiert" + } + } + }, + { + "Id": 338, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Standard-Cursor einstellen" + }, + "One": { + "Tag": "Light", + "ToolTip": "Downloaden und installieren Sie die kostenlosen leichte \"Windows 11 Cursors Concept v2\" Cursors von Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Downloaden und installieren Sie die kostenlosen dunklen \"Windows 11 Cursors Concept v2\" Cursors von Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "OneDrive deinstallieren. Der OneDrive-Benutzerordner wird nicht entfernt" + }, + "One": { + "Tag": "Install", + "ToolTip": "OneDrive 64-bit installieren" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Speicheroptimierung einschalten" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Speicheroptimierung ausschalten (Standardeinstellung)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Speicheroptimierung einmal im Monat ausführen" + }, + "One": { + "Tag": "Default", + "ToolTip": "Speicheroptimierung bei geringem freien Speicherplatz ausführen (Standardeinstellung)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Temporäre Dateien löschen, die von Anwendungen nicht verwendet werden (Standardeinstellung)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Löscht keine temporären Dateien, die von Anwendungen nicht verwendet werden." + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Ruhezustand. Es wird nicht empfohlen, ihn auf Laptops zu deaktivieren." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ruhezustand einschalten (Standardeinstellung)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Ändert den Pfad der Umgebungsvariablen %TEMP% in %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Ändert den Pfad der Umgebungsvariablen %TEMP% in %LOCALAPPDATA%\\Temp (Standardeinstellung)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Windows-Pfadbegrenzung auf 260 Zeichen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Windows-Pfadbegrenzung auf 260 Zeichen (Standardeinstellung)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Anzeige der Stop-Fehlerinformationen auf dem BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Keine Anzeige der Stop-Fehler-Informationen in der BSoD (Standardeinstellung)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Wählen Sie, wann Sie über Änderungen an Ihrem Computer benachrichtigt werden möchten: nie benachrichtigen" + }, + "One": { + "Tag": "Default", + "ToolTip": "Wählen Sie, wann Sie über Änderungen an Ihrem Computer benachrichtigt werden möchten: Nur benachrichtigen, wenn Anwendungen versuchen, Änderungen an meinem Computer vorzunehmen (Standardeinstellung)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Zugriff auf zugeordnete Laufwerke von einer Anwendung, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt wird." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Zugriff auf zugeordnete Laufwerke von Anwendungen, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt werden (Standardeinstellung)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Zustellungsoptimierung ausschalten" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Zustellungsoptimierung einschalten (Standardeinstellung)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Beim Starten des Computers und bei der Anmeldung für Arbeitsgruppennetzwerke immer auf das Netzwerk warten" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Bei Arbeitsgruppennetzwerken beim Starten des Computers und bei der Anmeldung nie auf das Netzwerk warten (Standardeinstellung)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Standarddrucker nicht von Windows verwalten lassen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Windows meinen Standarddrucker verwalten lassen (Standardeinstellung)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie die Windows-Funktionen über das Popup-Dialogfeld" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie die Windows-Funktionen über das Popup-Dialogfeld (Standardeinstellung)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Deinstalliert optionale Funktionen über das Pop-up-Dialogfeld" + }, + "One": { + "Tag": "Install", + "ToolTip": "Optionale Funktionen über das Popup-Dialogfeld installieren (Standardeinstellung)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Updates für andere Microsoft-Produkte erhalten, wenn Sie Windows aktualisieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Keine Updates für andere Microsoft-Produkte erhalten, wenn Sie Windows aktualisieren (Standardeinstellung)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Stellt den Energiesparplan auf \"Hohe Leistung\" ein. Es wird nicht empfohlen, den Energiesparplan \"Hohe Leistung\" auf Laptops zu aktivieren." + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Einstellen des Energiesparplans auf \"Ausgeglichen\" (Standardeinstellung)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Verwenden Sie die neueste installierte .NET-Laufzeitumgebung für alle Anwendungen" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Die zuletzt installierte .NET-Laufzeitumgebung nicht für alle Anwendungen verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Erlauben Sie dem Computer nicht, die Netzwerkadapter auszuschalten, um Strom zu sparen." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Dem Computer erlauben, die Netzwerkadapter auszuschalten, um Strom zu sparen (Standardeinstellung)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Komponente Internet Protocol Version 6 (TCP/IPv6) für alle Netzwerkverbindungen. Bevor die Funktion aufgerufen wird, wird geprüft, ob Ihr ISP das IPv6-Protokoll unterstützt. https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Komponente Internet Protocol Version 6 (TCP/IPv6) für alle Netzwerkverbindungen (Standardeinstellung). Bevor die Funktion aufgerufen wird, wird geprüft, ob Ihr ISP das IPv6-Protokoll unterstützt. https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Überschreiben Sie die Standard-Eingabemethode: Englisch" + }, + "One": { + "Tag": "Default", + "ToolTip": "Überschreibung für Standard-Eingabemethode: Sprachliste verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Verschieben Sie Benutzerordner über das interaktive Menü in das Stammverzeichnis eines beliebigen Laufwerks. Benutzerdateien oder -ordner können nicht an einen neuen Speicherort verschoben werden. Verschieben Sie sie manuell. Sie befinden sich standardmäßig in dem Ordner %USERPROFILE%." + }, + "One": { + "Tag": "Custom", + "ToolTip": "Wählen Sie Ordner für Benutzerordner manuell über einen Ordner-Browser-Dialog aus. Benutzerdateien oder -ordner werden nicht an einen neuen Speicherort verschoben. Verschieben Sie sie manuell. Sie befinden sich standardmäßig in dem Ordner %USERPROFILE%." + }, + "Two": { + "Tag": "Default", + "ToolTip": "Ändern Sie den Speicherort von Benutzerordnern auf die Standardeinstellunge Benutzerdateien oder -ordner lassen sich nicht an einen neuen Speicherort verschieben. Verschieben Sie sie manuell. Sie befinden sich standardmäßig im Ordner %USERPROFILE% (Standardeinstellung)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Speichern von Screenshots durch Drücken von Win+PrtScr auf dem Desktop" + }, + "One": { + "Tag": "Default", + "ToolTip": "Speichern von Screenshots durch Drücken von Win+PrtScr im Ordner Bilder (Standardeinstellung)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Fehlerbehebung automatisch ausführen, dann benachrichtigen. Damit diese Funktion funktioniert, wird die Betriebssystemebene der Diagnosedatenerfassung auf \"Optionale Diagnosedaten\" gesetzt und die Fehlerberichtsfunktion wird aktiviert" + }, + "One": { + "Tag": "Default", + "ToolTip": "Fragen Sie mich, bevor Sie Troubleshooter ausführen. Damit diese Funktion funktioniert, muss die Betriebssystemebene der Diagnosedatenerfassung auf \"Optionale Diagnosedaten\" eingestellt und die Fehlerberichtsfunktion aktiviert werden (Standardeinstellung)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ordnerfenster in einem separaten Prozess starten" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Ordnerfenster nicht in einem separaten Prozess starten (Standardeinstellung)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren und Löschen des reservierten Speichers nach der nächsten Update-Installation" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Reservierten Speicher aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Hilfe-Suche über F1 deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Hilfesuche über F1 aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Num Lock beim Starten aktivieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Num Lock beim Starten deaktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Feststelltaste deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Feststelltaste einschalten (Standardeinstellung)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Ausschalten durch 5-maliges Drücken der Umschalttaste, um Sticky Keys einzuschalten" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie das 5-malige Drücken der Umschalttaste, um Sticky Keys zu aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Verwendet nicht die automatische Wiedergabe für alle Medien und Geräte" + }, + "One": { + "Tag": "Enable", + "ToolTip": "AutoPlay für alle Medien und Geräte verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Entfernen des Thumbnail-Cache deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Entfernen des Thumbnail-Cache aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie die automatische Speicherung meiner neu zu startenden Anwendungen beim Abmelden und starten Sie sie nach dem Anmelden neu." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie das automatische Speichern meiner neu zu startenden Anwendungen beim Abmelden und starten Sie sie neu, nachdem Sie sich angemeldet haben (Standardeinstellung)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die \"Netzwerkerkennung\" und \"Datei- und Druckerfreigabe\" für Arbeitsgruppennetzwerke." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die \"Netzwerkerkennung\" und \"Datei- und Druckerfreigabe\" für Arbeitsgruppennetzwerke (Standardeinstellung)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Automatische Anpassung der aktiven Stunden auf der Grundlage der täglichen Nutzung" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Manuelle Anpassung der aktiven Stunden für mich auf der Grundlage der täglichen Nutzung (Standardeinstellung)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Starten Sie das Gerät so bald wie möglich neu, wenn ein Neustart erforderlich ist, um ein Update zu installieren." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Dieses Gerät so schnell wie möglich nicht neu starten, wenn ein Neustart erforderlich ist, um ein Update zu installieren (Standardeinstellung)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "UninstallPCHealthCheck", + "Arg": { + "Zero": { + "Tag": "Block", + "ToolTip": "Deinstallieren Sie die App \"PC Health Check\" und verhindern Sie, dass sie in Zukunft installiert wird. Das Update KB5005463 installiert die App \"PC Health Check\", um zu prüfen, ob der PC die Systemanforderungen von Windows 11 erfüllt" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Installieren Sie die neueste unterstützte Microsoft Visual C++ Redistributable 2015-2022 x64" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Installieren Sie die neueste .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie das Proxying nur für gesperrte Websites aus der einheitlichen Registrierung von Roskomnadzor. Die Funktion ist nur für Russland anwendbar." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie das Proxying nur für gesperrte Websites aus dem einheitlichen Register von Roskomnadzor (Standardwert)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Aktiviert das Windows Subsystem für Linux (WSL), installiert die neueste Version des WSL-Linux-Kernels und eine Linux-Distribution über ein Popup-Formular. Die Einstellung \"Updates für andere Microsoft-Produkte empfangen\" wird automatisch aktiviert, um Kernel-Updates zu erhalten" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Zuletzt hinzugefügte Anwendungen im Startmenü ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Zuletzt hinzugefügte Anwendungen im Startmenü anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Anwendungsvorschläge im Startmenü ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Anwendungsvorschläge im Startmenü anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Führt die Windows PowerShell-Verknüpfung über das Startmenü als Administrator aus" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Führt die Windows PowerShell-Verknüpfung über das Startmenü als Benutzer aus (Standardeinstellung)" + } + } + }, + { + "Id": 703, + "Region": "Start menu", + "Function": "PinToStart -Tiles", + "ToolTip": "Folgendene Verknüpfungen: Systemsteuerung, Geräte und Drucker, PowerShell an das Startmenü anheften", + "Arg": { + "Zero": { + "Tag": "ControlPanel", + "ToolTip": "Die Verknüpfung \"Systemsteuerung\" an Start anheften" + }, + "One": { + "Tag": "DevicesPrinters", + "ToolTip": "Die Verknüpfung \"Geräte & Drucker\" an Start anheften" + }, + "Two": { + "Tag": "PowerShell", + "ToolTip": "Die Verknüpfung \"Windows PowerShell\" an Start anheften" + } + } + }, + { + "Id": 704, + "Region": "Start menu", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Alle Start-Kacheln abheften" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Deinstallation von UWP-Anwendungen über das Pop-up-Dialogfeld" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Deinstalliert UWP-Anwendungen über das Popup-Dialogfeld. Wenn das Argument \"Für alle Benutzer\" aktiviert ist, werden die Anwendungspakete für neue Benutzer nicht installiert. Das Argument \"Für alle Benutzer\" setzt ein Kontrollkästchen, um Pakete für alle Benutzer zu deinstallieren" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Standard-UWP-Apps mithilfe des Popup-Dialogfelds wieder herstellen. UWP-Apps können nur wiederhergestellt werden, wenn sie nur für den aktuellen Benutzer deinstalliert wurden" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Öffnet die Seite Microsoft Store \"HEVC Video Extensions from Device Manufacturer\", um diese Erweiterung manuell zu installieren und die Bildformate .heic und .heif öffnen zu können. Die Erweiterung kann ohne ein Microsoft-Konto installiert werden" + }, + "One": { + "Tag": "Install", + "ToolTip": "Lädt die \"HEVC Video Extensions from Device Manufacturer\" herunter und installiert es, um die Formate .heic und .heif öffnen zu können." + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Autostart von Cortana deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Autostart von Cortana aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Nicht alle UWP-Anwendungen im Hintergrund laufen lassen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Alle UWP-Anwendungen im Hintergrund ausführen lassen (Standardeinstellung)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Nach UWP-Apps-Updates suchen" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Xbox Game Bar deaktivieren. Um zu verhindern, dass die Warnung \"Sie benötigen eine neue App, um dieses ms-gamingoverlay zu öffnen\" angezeigt wird, müssen Sie die Xbox Game Bar App deaktivieren, auch wenn Sie sie zuvor deinstalliert haben." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Xbox Game Bar aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren der Xbox Game Bar Tipps" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Xbox Game Bar-Tipps aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Wählen Sie eine Anwendung aus und stellen Sie für diese die \"Hohe Leistung\" für die Grafikleistung ein. Nur mit einer dedizierten GPU" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die hardwarebeschleunigte GPU-Planung. Neustart erforderlich. Nur mit einem dedizierten Grafikprozessor und einer WDDM-Version von 2.7 oder höher" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die hardwarebeschleunigte GPU-Planung. Neustart erforderlich (Standardeinstellung)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Erstellt eine geplante Aufgabe \"Windows Cleanup\" zum Bereinigen von nicht verwendeten Windows-Dateien und Updates. Alle 30 Tage wird eine interaktive Toast-Benachrichtigung angezeigt. Die Aufgabe wird alle 30 Tage ausgeführt" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Löscht die geplanten Aufgaben \"Windows-Bereinigung\" und \"Windows-Bereinigungsbenachrichtigung\" zum Bereinigen von nicht verwendeten Windows-Dateien und Updates." + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Erstellt eine geplante Aufgabe \"SoftwareDistribution\" zum Bereinigen des Ordners \"%SystemRoot%\\SoftwareDistribution\\Download\".Die Aufgabe wartet, bis der Windows-Update-Dienst seine Ausführung beendet hat. Die Aufgabe wird alle 90 Tage ausgeführt." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Löscht die geplante Aufgabe \"SoftwareDistribution\" zum Bereinigen des Ordners \"%SystemRoot%\\SoftwareDistribution\\Download\"." + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Erstellt eine geplante Aufgabe \"Temp\" zum Bereinigen des Ordners %TEMP%. Die Aufgabe wird alle 60 Tage ausgeführt" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Löscht die geplante Aufgabe \"Temp\" zum Bereinigen des Ordners %TEMP%." + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Microsoft Defender Exploit Guard Netzwerkschutz" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Microsoft Defender Exploit Guard-Netzwerkschutz (Standardeinstellung)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Erkennung von potenziell unerwünschten Anwendungen aktivieren und diese blockieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Erkennung von potenziell unerwünschten Anwendungen deaktivieren und diese blockieren (Standardeinstellung)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert Sandboxing für Microsoft Defender" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Sandboxing für Microsoft Defender deaktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Das Angebot von Microsoft Defender ablehnen, sich bei Ihrem Microsoft-Konto anzumelden." + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Ablehnen des Vorschlags von Microsoft Defender in \"Windows Security\", den SmartScreen-Filter für Microsoft Edge zu aktivieren" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Ereignisüberwachung, die beim Erstellen (Starten) eines Prozesses erzeugt werden." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Ereignisüberwachung, die beim Erstellen (Starten) eines Prozesses erzeugt wird (Standardeinstellung)." + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Einbeziehung der Befehlszeile in Ereignisse der Prozesserstellung. Damit diese Funktion funktioniert, muss die Ereignisüberprüfung (ProcessAudit -Enable) aktiviert werden" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Befehlszeile nicht in Prozesserzeugungsereignisse aufnehmen (Standardeinstellung)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Erstellt eine dauerhafte Ansicht \"Prozesserstellung\" in der Ereignisanzeige. Damit dies funktioniert, müssen Auditing-Ereignisse (AuditProcess -Enable) und Kommandozeilenereignisse bei der Prozesserstellung aktiviert sein" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Benutzerdefinierte Ansicht \"Prozesserstellung\" der Ereignisanzeige entfernen (Standardeinstellung)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Protokollierung für alle Windows PowerShell-Module" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Protokollierung für alle Windows PowerShell-Module (Standardeinstellung)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren der Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren der Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden (Standardeinstellung)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen markiert heruntergeladene Dateien aus dem Internet nicht als unsicher" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen markiert aus dem Internet heruntergeladene Dateien als unsicher (Standardeinstellung)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Überprüfung von aus dem Internet heruntergeladenen Dateien durch den Dateianlagen-Manager als unsicher" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Dateianhangsmanager, um aus dem Internet heruntergeladene Dateien als unsicher zu prüfen (Standardeinstellung)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Windows Script Host deaktivieren. Sperrt WSH für die Ausführung von .js und .vbs Dateien" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Windows Script Host aktivieren (Standardeinstellung)." + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Windows-Sandbox aktivieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Windows-Sandbox deaktivieren (Standardeinstellung)." + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Anzeigen der Option \"Alle extrahieren\" im Kontextmenü des Windows-Installationsprogramms (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Option \"Alle extrahieren\" im Kontextmenü des Windows Installers (.msi) ( Standardeinstellung)." + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "\"Installieren\" im Kontextmenü der .cab-Archive anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Option \"Installieren\" im Kontextmenü der .cab-Archive (Standardeinstellung)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Anzeige von \"Als anderer Benutzer ausführen\" im Kontextmenü der .exe-Dateien" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Die Option \"Als anderer Benutzer ausführen\" im Kontextmenü der .exe-Dateien ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Option \"Auf Gerät übertragen\" im Kontextmenü von Mediendateien und Ordnern" + }, + "One": { + "Tag": "Show", + "ToolTip": "Übertragen auf \"Gerät\" im Kontextmenü von Mediendateien und Ordnern anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Senden (Teilen)\" im Kontextmenü" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Senden (Teilen)\" im Kontextmenü anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Bearbeiten mit Paint 3D\" im Kontextmenü von Mediendateien" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Mit Paint 3D bearbeiten\" im Kontextmenü der Mediendateien anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Mit Fotos bearbeiten\" im Kontextmenü von Mediendateien" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Mit Fotos bearbeiten\" im Kontextmenü der Mediendateien anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Neues Video erstellen\" im Kontextmenü der Mediendateien" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Ein neues Video erstellen\" im Kontextmenü der Mediendateien anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Bearbeiten\" im Kontextmenü der Bilder" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Bearbeiten\" im Kontextmenü von Bildern anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Drucken\" im Kontextmenü von .bat und .cmd" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Drucken\" im Kontextmenü von .bat und .cmd anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"In Bibliothek einbeziehen\" im Kontextmenü von Ordnern und Laufwerken" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"In Bibliothek einbeziehen\" im Kontextmenü von Ordnern und Laufwerken anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Senden an\" aus dem Ordner-Kontextmenü" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Senden an\" im Kontextmenü der Ordner anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Bitmap-Bild\" im Kontextmenü \"Neu\"." + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Bitmap-Bild\" im Kontextmenü \"Neu\" anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Den Eintrag \"Rich Text Document\" \"Neu\" im Kontextmenü ausblenden." + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Rich Text Document\" \"Neu\" im Kontextmenü anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Den Eintrag \"Komprimierter ZIP-Ordner\" \"Erstellen\" im Kontextmenü ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Komprimierte (zip) Ordner\" \"Neu\"im Kontextmenü anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Kontextmenüelemente \"Öffnen\", \"Drucken\" und \"Bearbeiten\" für mehr als 15 ausgewählte Elemente" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Kontextmenüelemente \"Öffnen\", \"Drucken\" und \"Bearbeiten\" für mehr als 15 ausgewählte Elemente (Standardeinstellung)" + } + } + }, + { + "Id": 1216, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Den Punkt \"Nach einer App im Microsoft Store suchen\" im Dialogfeld \"Öffnen mit\" ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Punkt \"Nach einer App im Microsoft Store suchen\" im Dialogfeld \"Öffnen mit\" anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Aktualisieren Sie den lokalen Gruppenrichtlinien-Editor (gpedit.msc), um alle manuell erstellten Richtlinienschlüssel in der Registrierung im Snap-In sichtbar zu machen" + } + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tooltip_Windows_11.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tooltip_Windows_11.json new file mode 100644 index 00000000..554e1ac1 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/tooltip_Windows_11.json @@ -0,0 +1,2063 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "Obligatorische Kontrollen. Um die Warnung bei der Einrichtung der Voreinstellungsdatei zu deaktivieren, löschen Sie das Argument \"-Warnung\"." + }, + "One": { + "Tag": "", + "ToolTip": "Obligatorische Kontrollen. Keine Warnmeldung, wenn eine voreingestellte Datei eingestellt wurde" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Aktiviert die Protokollierung der Skriptoperationen. Das Protokoll wird in den Skriptordner geschrieben. Um die Protokollierung zu beenden, schließen Sie die Konsole oder geben Sie \"Stop-Transcript\" ein." + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Einen Wiederherstellungspunkt erstellen" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Dienst \"Connected User Experiences and Telemetry\" (DiagTrack), und blockiert die Verbindung für den ausgehenden Verkehr des Unified Telemetry Client. Das Deaktivieren des Dienstes \"Benutzererfahrungen und Telemetrie im verbundenen Modus\" (DiagTrack) kann dazu führen, dass Sie keine Xbox-Erfolge mehr erhalten können" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert den DiagTrack-Dienst, die Firewall-Regel für ausgehenden Verkehr des Unified Telemetry Client und erlaubt die Verbindung (Standardeinstellung)." + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Setzt die OS-Ebene der Diagnosedatenerfassung auf ein Minimum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Setzt die Diagnosedatenerfassung auf Standard (Standardeinstellung)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Windows-Fehlerberichterstattung" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Windows-Fehlerberichterstattung (Standardeinstellung)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Ändert die Feedbackfrequenz auf \"Nie\"." + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Ändert die Rückmeldefrequenz auf \"Automatisch\" (Standardeinstellung)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die geplanten Aufgaben zur Diagnoseverfolgung" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Diagnoseverfolgung für geplante Aufgaben (Standardeinstellung)." + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Verwende keine Anmeldedaten, um das Gerät automatisch einzurichten und Anwendungen nach einem Neustart oder einer Aktualisierung zu öffnen." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Anmeldedaten verwenden, um die Geräteeinrichtung und das Öffnen von Anwendungen nach einem Neustart oder einer Aktualisierung automatisch abzuschließen (Standardeinstellung)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Erlauben Sie nicht, dass Websites lokale Informationen auf Kosten des Zugangs zur Sprachenliste anbieten" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Websites erlauben, lokale Informationen durch Zugriff auf die Sprachliste bereitzustellen (Standardeinstellung)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Erlauben Sie Anwendungen nicht, eine Werbe-ID zu verwenden" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Erlauben Sie Anwendungen die Verwendung einer Werbe-ID (Standardeinstellung)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Anwendungen nicht erlauben, den Werbe-Identifikator zu verwenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Anwendungen die Verwendung des Werbekennzeichens erlauben (Standardeinstellung)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Tipps, Hinweise und Ratschläge zur Verwendung von Windows erhalten (Standardeinstellung)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Keine Tipps, Hinweise und Ratschläge zur Verwendung von Windows zu erhalten" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Vorgeschlagene Inhalte in der Einstellungs-App vor mir verbergen" + }, + "One": { + "Tag": "Show", + "ToolTip": "Vorgeschlagene Inhalte in der Einstellungen-App anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Automatische Installation der empfohlenen Anwendungen deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Automatische Installation der empfohlenen Anwendungen aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Keine Vorschläge, wie ich mein Gerät fertig einrichten kann, um Windows optimal zu nutzen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Vorschläge, wie ich mein Gerät fertig einrichten kann, um Windows optimal zu nutzen (Standardeinstellung)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Lassen Sie nicht zu, dass Microsoft Ihnen maßgeschneiderte Erfahrungen auf der Grundlage der von Ihnen gewählten Einstellung für Diagnosedaten anbietet" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft bietet Ihnen auf der Grundlage der von Ihnen gewählten Einstellung für Diagnosedaten maßgeschneiderte Erfahrungen an (Standardeinstellung)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Bing-Suche im Startmenü deaktivieren (nur in den USA)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieren der Bing-Suche im Startmenü (Standardeinstellung)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Das Symbol \"Dieser PC\" auf dem Desktop anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Das Symbol \"Dieser PC\" auf dem Desktop ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Verwende keine Kontrollkästchen zur Auswahl von Elementen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Verwende Kontrollkästchen, um Elemente auszuwählen (Standardeinstellung)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Versteckte Dateien, Ordner und Laufwerke anzeigen" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Versteckte Dateien, Ordner und Laufwerke nicht anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Dateinamenerweiterungen anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Dateinamenerweiterungen ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Konflikte beim Zusammenführen von Ordnern anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Konflikte beim Zusammenführen von Ordnern ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Öffnet den Datei-Explorer zu \"Dieser PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Datei-Explorer für Schnellzugriff öffnen (Standardeinstellung)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerCompactMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Kompaktmodus des Datei-Explorers" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieret den Kompaktmodus des Datei-Explorers (Standardeinstellung)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Synchronisationsanbieter-Benachrichtigungen im Explorer nicht anzeigen" + }, + "One": { + "Tag": "Show", + "ToolTip": "Synchronisationsanbieter-Benachrichtigungen im Explorer anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "SnapAssistFlyout", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Snap-Layouts anzeigen, wenn ich mit dem Mauszeiger über die Maximaze-Schaltfläche eines Fensters fahre (Standardeinstellung)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Snap-Layouts ausblenden, wenn ich mit dem Mauszeiger über die Schaltfläche \"Maximieren\" eines Fensters fahre" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Wenn Sie ein Fenster anbringen, zeigen Sie nicht, was daneben angebracht werden kann." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Beim Anhängen eines Fensters anzeigen, was daneben angehängt werden kann (Standardeinstellung)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Das Dialogfeld für die Dateiübertragung im detaillierten Modus anzeigen" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Das Dialogfeld für die Dateiübertragung im Kompaktmodus anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Anzeige der Bestätigung des Löschens von Papierkorbdateien" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Die Bestätigung zum Löschen von Papierkorbdateien nicht anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Häufig verwendete Ordner im Schnellzugriff ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Zuletzt verwendete Dateien im Schnellzugriff anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Häufig verwendete Ordner im Schnellzugriff ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Häufig verwendete Ordner im Schnellzugriff anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "TaskbarAlignment", + "Arg": { + "Zero": { + "Tag": "Left", + "ToolTip": "Ausrichtung der Taskleiste nach links einstellen" + }, + "One": { + "Tag": "Center", + "ToolTip": "Ausrichtung der Taskleiste auf die Mitte einstellen (Standardeinstellung)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Suchschaltfläche in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Das Suchsymbol in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Schaltfläche Aufgabenansicht in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Die Schaltfläche Aufgabenansicht in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskbarWidgets", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Widgetsymbols in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Das Widgetsymbol in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "TaskbarChat", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Chat-Symbols (Microsoft Teams) in der Taskleiste" + }, + "One": { + "Tag": "Show", + "ToolTip": "Das Chat-Symbol (Microsoft Teams) in der Taskleiste anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Die Verknüpfungen \"Microsoft Edge\" oder \"Microsoft Store\" von der Taskleiste lösen", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Die Verknüpfung \"Microsoft Edge\" von der Taskleiste lösen." + }, + "One": { + "Tag": "Store", + "ToolTip": "Die Verknüpfung \"Microsoft Store\" von der Taskleiste lösen" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Anzeigen der Symbole der Systemsteuerung durch große Symbole" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Anzeige der Symbole der Systemsteuerung durch kleine Symbole" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Anzeigen der Symbole der Systemsteuerung nach Kategorie (Standardeinstellung)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Den Windows-Standardmodus auf dunkel einstellen" + }, + "One": { + "Tag": "Light", + "ToolTip": "Den Windows-Standardmodus auf hell setzen (Standardeinstellung)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Den Standardmodus der Anwendung auf dunkel einstellen" + }, + "One": { + "Tag": "Light", + "ToolTip": "Den Standard-Anwendungsmodus auf Hell setzen (Standardeinstellung)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Animation zur Erstanmeldung nach dem Upgrade ausblenden" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Animation zur ersten Anmeldung des Benutzers nach dem Upgrade anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Setzt den Qualitätsfaktor der JPEG-Desktop-Hintergründe auf Maximum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Setzt den Qualitätsfaktor der JPEG-Desktop-Hintergründe auf Standard (Standardeinstellung)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Startet den Task-Manager im erweiterten Modus" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Task-Manager im kompakten Modus starten (Standardeinstellung)" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Eine Benachrichtigung anzeigen, wenn Ihr PC neu gestartet werden muss, um die Aktualisierung abzuschließen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Keine Benachrichtigung anzeigen, wenn Ihr PC neu gestartet werden muss, um die Aktualisierung abzuschließen (Standardeinstellung)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Das Suffix \"-Verknüpfung\" nicht an den Dateinamen der erstellten Verknüpfungen anhängen." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Das Suffix \"-Verknüpfung\" an den Dateinamen der erstellten Verknüpfungen anhängen (Standardeinstellung)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Verwenden der Schaltfläche Bildschirm drucken, um den Bildschirmausschnitt zu öffnen." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Die Schaltfläche Bildschirm drucken nicht zum Öffnen von Bildschirmausschnitten verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Nicht für jedes Anwendungsfenster eine andere Eingabemethode verwenden (Standardeinstellung)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Lassen Sie mich für jedes Anwendungsfenster eine andere Eingabemethode verwenden" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Wenn ich die Titelleiste eines Fensters greife und schüttle, werden alle anderen Fenster minimiert" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Wenn ich die Titelleiste eines Fensters greife und schüttle, werden nicht alle anderen Fenster minimiert (Standardeinstellung)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Standard-Cursor einstellen" + }, + "One": { + "Tag": "Light", + "ToolTip": "Downloaden und installieren Sie die kostenlosen leichte \"Windows 11 Cursors Concept v2\" Cursors von Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Downloaden und installieren Sie die kostenlosen dunklen \"Windows 11 Cursors Concept v2\" Cursors von Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "OneDrive deinstallieren. Der OneDrive-Benutzerordner wird nicht entfernt" + }, + "One": { + "Tag": "Install", + "ToolTip": "OneDrive 64-bit installieren" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Speicheroptimierung einschalten" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Speicheroptimierung ausschalten (Standardeinstellung)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Speicheroptimierung einmal im Monat ausführen" + }, + "One": { + "Tag": "Default", + "ToolTip": "Speicheroptimierung bei geringem freien Speicherplatz ausführen (Standardeinstellung)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Temporäre Dateien löschen, die von Anwendungen nicht verwendet werden (Standardeinstellung)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Löscht keine temporären Dateien, die von Anwendungen nicht verwendet werden." + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Ruhezustand. Es wird nicht empfohlen, ihn auf Laptops zu deaktivieren." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ruhezustand einschalten (Standardeinstellung)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Ändert den Pfad der Umgebungsvariablen %TEMP% in %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Ändert den Pfad der Umgebungsvariablen %TEMP% in %LOCALAPPDATA%\\Temp (Standardeinstellung)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Windows-Pfadbegrenzung auf 260 Zeichen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Windows-Pfadbegrenzung auf 260 Zeichen (Standardeinstellung)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Anzeige der Stop-Fehlerinformationen auf dem BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Keine Anzeige der Stop-Fehler-Informationen in der BSoD (Standardeinstellung)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Wählen Sie, wann Sie über Änderungen an Ihrem Computer benachrichtigt werden möchten: nie benachrichtigen" + }, + "One": { + "Tag": "Default", + "ToolTip": "Wählen Sie, wann Sie über Änderungen an Ihrem Computer benachrichtigt werden möchten: Nur benachrichtigen, wenn Anwendungen versuchen, Änderungen an meinem Computer vorzunehmen (Standardeinstellung)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Zugriff auf zugeordnete Laufwerke von einer Anwendung, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt wird." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Zugriff auf zugeordnete Laufwerke von Anwendungen, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt werden (Standardeinstellung)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Zustellungsoptimierung ausschalten" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Zustellungsoptimierung einschalten (Standardeinstellung)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Beim Starten des Computers und bei der Anmeldung für Arbeitsgruppennetzwerke immer auf das Netzwerk warten" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Bei Arbeitsgruppennetzwerken beim Starten des Computers und bei der Anmeldung nie auf das Netzwerk warten (Standardeinstellung)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Standarddrucker nicht von Windows verwalten lassen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Windows meinen Standarddrucker verwalten lassen (Standardeinstellung)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie die Windows-Funktionen über das Popup-Dialogfeld" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie die Windows-Funktionen über das Popup-Dialogfeld (Standardeinstellung)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Deinstalliert optionale Funktionen über das Pop-up-Dialogfeld" + }, + "One": { + "Tag": "Install", + "ToolTip": "Optionale Funktionen über das Popup-Dialogfeld installieren (Standardeinstellung)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Updates für andere Microsoft-Produkte erhalten, wenn Sie Windows aktualisieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Keine Updates für andere Microsoft-Produkte erhalten, wenn Sie Windows aktualisieren (Standardeinstellung)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Stellt den Energiesparplan auf \"Hohe Leistung\" ein. Es wird nicht empfohlen, den Energiesparplan \"Hohe Leistung\" auf Laptops zu aktivieren." + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Einstellen des Energiesparplans auf \"Ausgeglichen\" (Standardeinstellung)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Verwenden Sie die neueste installierte .NET-Laufzeitumgebung für alle Anwendungen" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Die zuletzt installierte .NET-Laufzeitumgebung nicht für alle Anwendungen verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Erlauben Sie dem Computer nicht, die Netzwerkadapter auszuschalten, um Strom zu sparen." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Dem Computer erlauben, die Netzwerkadapter auszuschalten, um Strom zu sparen (Standardeinstellung)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Komponente Internet Protocol Version 6 (TCP/IPv6) für alle Netzwerkverbindungen. Bevor die Funktion aufgerufen wird, wird geprüft, ob Ihr ISP das IPv6-Protokoll unterstützt. https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Komponente Internet Protocol Version 6 (TCP/IPv6) für alle Netzwerkverbindungen (Standardeinstellung). Bevor die Funktion aufgerufen wird, wird geprüft, ob Ihr ISP das IPv6-Protokoll unterstützt. https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Überschreiben Sie die Standard-Eingabemethode: Englisch" + }, + "One": { + "Tag": "Default", + "ToolTip": "Überschreibung für Standard-Eingabemethode: Sprachliste verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Verschieben Sie Benutzerordner über das interaktive Menü in das Stammverzeichnis eines beliebigen Laufwerks. Benutzerdateien oder -ordner können nicht an einen neuen Speicherort verschoben werden. Verschieben Sie sie manuell. Sie befinden sich standardmäßig in dem Ordner %USERPROFILE%." + }, + "One": { + "Tag": "Custom", + "ToolTip": "Wählen Sie Ordner für Benutzerordner manuell über einen Ordner-Browser-Dialog aus. Benutzerdateien oder -ordner werden nicht an einen neuen Speicherort verschoben. Verschieben Sie sie manuell. Sie befinden sich standardmäßig in dem Ordner %USERPROFILE%." + }, + "Two": { + "Tag": "Default", + "ToolTip": "Ändern Sie den Speicherort von Benutzerordnern auf die Standardeinstellunge Benutzerdateien oder -ordner lassen sich nicht an einen neuen Speicherort verschieben. Verschieben Sie sie manuell. Sie befinden sich standardmäßig im Ordner %USERPROFILE% (Standardeinstellung)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Speichern von Screenshots durch Drücken von Win+PrtScr auf dem Desktop. Funktion wird nur angewendet, wenn die Voreinstellung zum Entfernen von OneDrive konfiguriert ist. Andernfalls wird die Sicherungsfunktion für die Ordner \"Desktop\" und \"Bilder\" in OneDrive unterbrochen" + }, + "One": { + "Tag": "Default", + "ToolTip": "Speichern von Screenshots durch Drücken von Win+PrtScr im Ordner Bilder (Standardeinstellung)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Fehlerbehebung automatisch ausführen, dann benachrichtigen. Damit diese Funktion funktioniert, wird die Betriebssystemebene der Diagnosedatenerfassung auf \"Optionale Diagnosedaten\" gesetzt und die Fehlerberichtsfunktion wird aktiviert" + }, + "One": { + "Tag": "Default", + "ToolTip": "Fragen Sie mich, bevor Sie Troubleshooter ausführen. Damit diese Funktion funktioniert, muss die Betriebssystemebene der Diagnosedatenerfassung auf \"Optionale Diagnosedaten\" eingestellt und die Fehlerberichtsfunktion aktiviert werden (Standardeinstellung)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ordnerfenster in einem separaten Prozess starten" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Ordnerfenster nicht in einem separaten Prozess starten (Standardeinstellung)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren und Löschen des reservierten Speichers nach der nächsten Update-Installation" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Reservierten Speicher aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Hilfe-Suche über F1 deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Hilfesuche über F1 aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Num Lock beim Starten aktivieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Num Lock beim Starten deaktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Feststelltaste deaktivieren (Standardeinstellung)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Feststelltaste einschalten" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Ausschalten durch 5-maliges Drücken der Umschalttaste, um Sticky Keys einzuschalten" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie das 5-malige Drücken der Umschalttaste, um Sticky Keys zu aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Verwendet nicht die automatische Wiedergabe für alle Medien und Geräte" + }, + "One": { + "Tag": "Enable", + "ToolTip": "AutoPlay für alle Medien und Geräte verwenden (Standardeinstellung)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Entfernen des Thumbnail-Cache deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Entfernen des Thumbnail-Cache aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie die automatische Speicherung meiner neu zu startenden Anwendungen beim Abmelden und starten Sie sie nach dem Anmelden neu." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie das automatische Speichern meiner neu zu startenden Anwendungen beim Abmelden und starten Sie sie neu, nachdem Sie sich angemeldet haben (Standardeinstellung)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die \"Netzwerkerkennung\" und \"Datei- und Druckerfreigabe\" für Arbeitsgruppennetzwerke." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die \"Netzwerkerkennung\" und \"Datei- und Druckerfreigabe\" für Arbeitsgruppennetzwerke (Standardeinstellung)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Automatische Anpassung der aktiven Stunden auf der Grundlage der täglichen Nutzung" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Manuelle Anpassung der aktiven Stunden für mich auf der Grundlage der täglichen Nutzung (Standardeinstellung)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Starten Sie das Gerät so bald wie möglich neu, wenn ein Neustart erforderlich ist, um ein Update zu installieren." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Dieses Gerät so schnell wie möglich nicht neu starten, wenn ein Neustart erforderlich ist, um ein Update zu installieren (Standardeinstellung)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "DefaultTerminalApp", + "Arg": { + "Zero": { + "Tag": "WindowsTerminal", + "ToolTip": "Windows Terminalvorschau als Standard-Terminalanwendung festlegen, um die Benutzeroberfläche für Befehlszeilenanwendungen bereitzustellen" + }, + "One": { + "Tag": "ConsoleHost", + "ToolTip": "Windows Console Host als Standardterminalanwendung festlegen, um die Benutzeroberfläche für Befehlszeilenanwendungen zu hosten (Standardeinstellung)" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Installieren Sie die neueste unterstützte Microsoft Visual C++ Redistributable 2015-2022 x64" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить последнюю версию .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie das Proxying nur für gesperrte Websites aus der einheitlichen Registrierung von Roskomnadzor. Die Funktion ist nur für Russland anwendbar." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie das Proxying nur für gesperrte Websites aus dem einheitlichen Register von Roskomnadzor (Standardwert)" + } + } + }, + { + "Id": 539, + "Region": "System", + "Function": "WSA", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren Sie alle erforderlichen Abhängigkeiten (ein Neustart kann erforderlich sein) und öffnen Sie die Microsoft Store WSA-Seite, um Windows Subsystem for Android™ mit Amazon Appstore manuell zu installieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren Sie alle erforderlichen Abhängigkeiten (ein Neustart kann erforderlich sein) und deinstallieren Sie Windows Subsystem for Android™ with Amazon Appstore (Standardwert)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Aktiviert das Windows Subsystem für Linux (WSL), installiert die neueste Version des WSL-Linux-Kernels und eine Linux-Distribution über ein Popup-Formular. Die Einstellung \"Updates für andere Microsoft-Produkte empfangen\" wird automatisch aktiviert, um Kernel-Updates zu erhalten" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "UnpinAllStartApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Alle Start-Apps freistellen" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Führt die Windows PowerShell-Verknüpfung über das Startmenü als Administrator aus" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Führt die Windows PowerShell-Verknüpfung über das Startmenü als Benutzer aus (Standardeinstellung)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "StartLayout", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Standard-Startlayout anzeigen (nur für 22621+ Build) (Standardeinstellung)" + }, + "One": { + "Tag": "ShowMorePins", + "ToolTip": "Mehr Pins auf Start anzeigen (nur für 22621+ Build)" + }, + "Two": { + "Tag": "ShowMoreRecommendations", + "ToolTip": "Weitere Empfehlungen auf Start anzeigen (nur für 22621+ Build)" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Deinstallation von UWP-Anwendungen über das Pop-up-Dialogfeld" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Deinstalliert UWP-Anwendungen über das Popup-Dialogfeld. Wenn das Argument \"Für alle Benutzer\" aktiviert ist, werden die Anwendungspakete für neue Benutzer nicht installiert. Das Argument \"Für alle Benutzer\" setzt ein Kontrollkästchen, um Pakete für alle Benutzer zu deinstallieren" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Standard-UWP-Apps mithilfe des Popup-Dialogfelds wieder herstellen. UWP-Apps können nur wiederhergestellt werden, wenn sie nur für den aktuellen Benutzer deinstalliert wurden" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Öffnet die Seite Microsoft Store \"HEVC Video Extensions from Device Manufacturer\", um diese Erweiterung manuell zu installieren und die Bildformate .heic und .heif öffnen zu können. Die Erweiterung kann ohne ein Microsoft-Konto installiert werden" + }, + "One": { + "Tag": "Install", + "ToolTip": "Lädt die \"HEVC Video Extensions from Device Manufacturer\" herunter und installiert es, um die Formate .heic und .heif öffnen zu können. Die HEVC-Videoerweiterung ist standardmäßig bereits in Windows 11 22H2 installiert." + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Autostart von Cortana deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Autostart von Cortana aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "TeamsAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Autostart von Microsoft Teams deaktivieren" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Autostart von Microsoft Teams (Standardeinstellung)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Nach UWP-Apps-Updates suchen" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Xbox Game Bar deaktivieren. Um zu verhindern, dass die Warnung \"Sie benötigen eine neue App, um dieses ms-gamingoverlay zu öffnen\" angezeigt wird, müssen Sie die Xbox Game Bar App deaktivieren, auch wenn Sie sie zuvor deinstalliert haben." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Xbox Game Bar aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktivieren der Xbox Game Bar Tipps" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Xbox Game Bar-Tipps aktivieren (Standardeinstellung)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Wählen Sie eine Anwendung aus und stellen Sie für diese die \"Hohe Leistung\" für die Grafikleistung ein. Nur mit einer dedizierten GPU" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die hardwarebeschleunigte GPU-Planung. Neustart erforderlich. Nur mit einem dedizierten Grafikprozessor und einer WDDM-Version von 2.7 oder höher" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die hardwarebeschleunigte GPU-Planung. Neustart erforderlich (Standardeinstellung)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Erstellt eine geplante Aufgabe \"Windows Cleanup\" zum Bereinigen von nicht verwendeten Windows-Dateien und Updates. Alle 30 Tage wird eine interaktive Toast-Benachrichtigung angezeigt. Die Aufgabe wird alle 30 Tage ausgeführt" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Löscht die geplanten Aufgaben \"Windows-Bereinigung\" und \"Windows-Bereinigungsbenachrichtigung\" zum Bereinigen von nicht verwendeten Windows-Dateien und Updates." + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Erstellt eine geplante Aufgabe \"SoftwareDistribution\" zum Bereinigen des Ordners \"%SystemRoot%\\SoftwareDistribution\\Download\".Die Aufgabe wartet, bis der Windows-Update-Dienst seine Ausführung beendet hat. Die Aufgabe wird alle 90 Tage ausgeführt." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Löscht die geplante Aufgabe \"SoftwareDistribution\" zum Bereinigen des Ordners \"%SystemRoot%\\SoftwareDistribution\\Download\"." + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Erstellt eine geplante Aufgabe \"Temp\" zum Bereinigen des Ordners %TEMP%. Die Aufgabe wird alle 60 Tage ausgeführt" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Löscht die geplante Aufgabe \"Temp\" zum Bereinigen des Ordners %TEMP%." + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Microsoft Defender Exploit Guard Netzwerkschutz" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert den Microsoft Defender Exploit Guard-Netzwerkschutz (Standardeinstellung)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Erkennung von potenziell unerwünschten Anwendungen aktivieren und diese blockieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Erkennung von potenziell unerwünschten Anwendungen deaktivieren und diese blockieren (Standardeinstellung)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Das Angebot von Microsoft Defender ablehnen, sich bei Ihrem Microsoft-Konto anzumelden." + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Ablehnen des Vorschlags von Microsoft Defender in \"Windows Security\", den SmartScreen-Filter für Microsoft Edge zu aktivieren" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Ereignisüberwachung, die beim Erstellen (Starten) eines Prozesses erzeugt werden." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Ereignisüberwachung, die beim Erstellen (Starten) eines Prozesses erzeugt wird (Standardeinstellung)." + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Einbeziehung der Befehlszeile in Ereignisse der Prozesserstellung. Damit diese Funktion funktioniert, muss die Ereignisüberprüfung (ProcessAudit -Enable) aktiviert werden" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Befehlszeile nicht in Prozesserzeugungsereignisse aufnehmen (Standardeinstellung)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Erstellt eine dauerhafte Ansicht \"Prozesserstellung\" in der Ereignisanzeige. Damit dies funktioniert, müssen Auditing-Ereignisse (AuditProcess -Enable) und Kommandozeilenereignisse bei der Prozesserstellung aktiviert sein" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Benutzerdefinierte Ansicht \"Prozesserstellung\" der Ereignisanzeige entfernen (Standardeinstellung)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Protokollierung für alle Windows PowerShell-Module" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Protokollierung für alle Windows PowerShell-Module (Standardeinstellung)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktivieren der Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktivieren der Protokollierung für alle PowerShell-Skripte, die in das Windows PowerShell-Ereignisprotokoll eingegeben werden (Standardeinstellung)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen markiert heruntergeladene Dateien aus dem Internet nicht als unsicher" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen markiert aus dem Internet heruntergeladene Dateien als unsicher (Standardeinstellung)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Überprüfung von aus dem Internet heruntergeladenen Dateien durch den Dateianlagen-Manager als unsicher" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Aktiviert den Dateianhangsmanager, um aus dem Internet heruntergeladene Dateien als unsicher zu prüfen (Standardeinstellung)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Windows Script Host deaktivieren. Sperrt WSH für die Ausführung von .js und .vbs Dateien" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Windows Script Host aktivieren (Standardeinstellung)." + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Windows-Sandbox aktivieren" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Windows-Sandbox deaktivieren (Standardeinstellung)." + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "DNSoverHTTPS", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert den DNS-over-HTTPS für IPv4. Bevorzugter DNS-Server: 1.0.0.1, alternativ: 1.1.1.1" + }, + "One": { + "Tag": "Disable", + "ToolTip": "DNS-over-HTTPS für IPv4 deaktivieren ( Standardeinstellung)." + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Anzeigen der Option \"Alle extrahieren\" im Kontextmenü des Windows-Installationsprogramms (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Option \"Alle extrahieren\" im Kontextmenü des Windows Installers (.msi) ( Standardeinstellung)." + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "\"Installieren\" im Kontextmenü der .cab-Archive anzeigen" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Option \"Installieren\" im Kontextmenü der .cab-Archive (Standardeinstellung)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Anzeige von \"Als anderer Benutzer ausführen\" im Kontextmenü der .exe-Dateien" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Die Option \"Als anderer Benutzer ausführen\" im Kontextmenü der .exe-Dateien ausblenden (Standardeinstellung)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Option \"Auf Gerät übertragen\" im Kontextmenü von Mediendateien und Ordnern" + }, + "One": { + "Tag": "Show", + "ToolTip": "Übertragen auf \"Gerät\" im Kontextmenü von Mediendateien und Ordnern anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Senden (Teilen)\" im Kontextmenü" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Senden (Teilen)\" im Kontextmenü anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Mit Fotos bearbeiten\" im Kontextmenü von Mediendateien" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Mit Fotos bearbeiten\" im Kontextmenü der Mediendateien anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Neues Video erstellen\" im Kontextmenü der Mediendateien" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Ein neues Video erstellen\" im Kontextmenü der Mediendateien anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Drucken\" im Kontextmenü von .bat und .cmd" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Drucken\" im Kontextmenü von .bat und .cmd anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"In Bibliothek einbeziehen\" im Kontextmenü von Ordnern und Laufwerken" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"In Bibliothek einbeziehen\" im Kontextmenü von Ordnern und Laufwerken anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden des Eintrags \"Senden an\" aus dem Ordner-Kontextmenü" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Senden an\" im Kontextmenü der Ordner anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Den Eintrag \"Komprimierter ZIP-Ordner\" \"Erstellen\" im Kontextmenü ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Eintrag \"Komprimierte (zip) Ordner\" \"Neu\"im Kontextmenü anzeigen (Standardeinstellung)." + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Aktiviert die Kontextmenüelemente \"Öffnen\", \"Drucken\" und \"Bearbeiten\" für mehr als 15 ausgewählte Elemente" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deaktiviert die Kontextmenüelemente \"Öffnen\", \"Drucken\" und \"Bearbeiten\" für mehr als 15 ausgewählte Elemente (Standardeinstellung)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Den Punkt \"Nach einer App im Microsoft Store suchen\" im Dialogfeld \"Öffnen mit\" ausblenden" + }, + "One": { + "Tag": "Show", + "ToolTip": "Den Punkt \"Nach einer App im Microsoft Store suchen\" im Dialogfeld \"Öffnen mit\" anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "OpenWindowsTerminalContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ausblenden der Menüoption \"In Windows Terminal öffnen\" im Kontextmenü von Ordnern" + }, + "One": { + "Tag": "Show", + "ToolTip": "Menüoption \"In Windows Terminal öffnen\" im Kontextmenü der Ordner anzeigen (Standardeinstellung)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "OpenWindowsTerminalAdminContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Öffnen Sie Windows Terminal über das Kontextmenü als Administrator" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Öffnen Sie Windows Terminal nicht standardmäßig als Administrator über das Kontextmenü (Standardwert)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "Windows10ContextMenu", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Windows 10-Kontextmenüstils deaktivieren (Standardwert)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Windows 10-Kontextmenüstils aktivieren" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Aktualisieren Sie den lokalen Gruppenrichtlinien-Editor (gpedit.msc), um alle manuell erstellten Richtlinienschlüssel in der Registrierung im Snap-In sichtbar zu machen" + } + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/ui.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/ui.json new file mode 100644 index 00000000..070ff22b --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/de-DE/ui.json @@ -0,0 +1,71 @@ +[ + { + "Id": "Menu", + "Options": { + "menuImportExportPreset": "Importieren | Exportieren", + "menuImportPreset": "Voreinstellung importieren", + "menuExportPreset": "Voreinstellung exportieren", + "menuPresets": "Voreinstellungen", + "menuOpposite": "Alle umkehren", + "menuClear": "Löschen", + "menuTheme": "Thema", + "menuThemeDark": "Dunkel", + "menuThemeLight": "Hell", + "menuLanguage": "Sprache", + "menuAbout": "Über" + } + }, + { + "Id": "Tab", + "Options": { + "tabSystemProtection": "Systemschutz", + "tabPrivacyTelemetry": "Datenschutz und Telemetrie", + "tabUIPersonalization": "UI & Personalisierung", + "tabOneDrive": "OneDrive", + "tabSystem": "System", + "tabWSL": "WSL", + "tabStartMenu": "Startmenü", + "tabUWP": "UWP Apps", + "tabGaming": "Gaming", + "tabScheduledTasks": "Geplante Aufgaben", + "tabDefenderSecurity": "Defender & Security", + "tabContextMenu": "Kontextmenü", + "tabUpdatePolicies": "Aktualisieren Sie die Richtlinien", + "tabConsoleOutput": "Konsolenausgabe" + } + }, + { + "Id": "Button", + "Options": { + "btnRefreshConsole": "Konsole aktualisieren", + "btnRunPowerShell": "PowerShell ausführen" + } + }, + { + "Id": "StatusBar", + "Options": { + "statusBarHover": "Bewegen Sie den Mauszeiger über die Auswahlpunkte, um Informationen zu jeder Option zu erhalten", + "statusBarPresetLoaded": "Voreinstellung geladen!", + "statusBarPresetNotComp": "Voreinstellungsdatei ist nicht kompatibel!", + "statusBarSophiaPreset": "Sophia Voreinstellung geladen!", + "statusBarWindowsDefaultPreset": "Windows Standardvoreinstellung geladen!", + "statusBarPowerShellScriptCreatedFromSelections": "PowerShell Skript, das anhand Ihrer Auswahlen erstellt wurde! Sie können es ausführen oder speichern.", + "statusBarPowerShellExport": "PowerShell Skript erstellt!", + "statusBarOpposite": "Umgekehrte Einstellungen ausgewählt!", + "statusBarClear": "Auswahlen alle gelöscht!", + "statusBarDisabled": "Sie müssen zuerst 'Voreinstellung importieren', um die Verwendung von Wrapper zu aktivieren. Importieren, um Steuerelemente zu aktivieren.", + "statusBarCurrentOS": "Aktuelles OS" + } + }, + { + "Id": "MessageBox", + "Options": { + "messageBoxNewWrapperFound": "Eine neue Version von 'Wrapper' wurde entdeckt.\nGitHub-Seite öffnen?", + "messageBoxNewSophiaFound": "Eine neue Version von 'Sophia Script' wurde entdeckt.\nGitHub-Seite öffnen?", + "messageBoxDoesNotExist": "existiert nicht", + "messageBoxPresetNotComp": "Voreinstellung ist nicht kompatibel!", + "messageBoxFilesMissingClose": "Die erforderlichen Sophia Script Wrapper-Dateien fehlen. Das Programm wird geschlossen", + "messageBoxConsoleEmpty": "Die Konsole ist leer.\n Drücken Sie die Schaltfläche Konsole aktualisieren, um ein Skript entsprechend Ihrer Auswahl zu erstellen" + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/tooltip_Windows_10.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/tooltip_Windows_10.json new file mode 100644 index 00000000..12e18424 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/tooltip_Windows_10.json @@ -0,0 +1,2203 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "The mandatory Checks. If you want to disable a warning message about whether the preset file was customized, remove the \"-Warning\" argument" + }, + "One": { + "Tag": "", + "ToolTip": "The mandatory Checks. No argument therefore no warning message about whether you've customized the preset file" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Enable script logging. The log will be being recorded into the script folder. To stop logging just close the console or type \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Create a restore point" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the \"Connected User Experiences and Telemetry\" service (DiagTrack), and block the connection for the Unified Telemetry Client Outbound Traffic. Disabling the \"Connected User Experiences and Telemetry\" service (DiagTrack) can cause you not being able to get Xbox achievements anymore" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the DiagTrack service, firewall rule for Unified Telemetry Client Outbound Traffic and allow connection (default value)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Set the OS level of diagnostic data gathering to minimum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Set the diagnostic data collection to default (default value)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off the Windows Error Reporting" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on the Windows Error Reporting (default value)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Change the feedback frequency to \"Never\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Change the feedback frequency to \"Automatically\" (default value)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off the diagnostics tracking scheduled tasks" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on the diagnostics tracking scheduled tasks (default value)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not use sign-in info to automatically finish setting up device and reopen apps after an update or restart" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use sign-in info to automatically finish setting up device and reopen apps after an update or restart (default value)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let websites provide locally relevant content by accessing language list" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let websites provide locally relevant content by accessing language list (default value)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not allow apps to use advertising ID" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Allow apps to use advertising ID (default value)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested (default value)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Get tips, tricks, and suggestions as you use Windows (default value)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not get tips, tricks, and suggestions as you use Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide from me suggested content in the Settings app" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show me suggested content in the Settings app (default value)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off automatic installing suggested apps" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on automatic installing suggested apps (default value)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not suggest ways I can finish setting up my device to get the most out of Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Suggest ways I can finish setting up my device to get the most out of Windows (default value)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen (default value)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Bing search in the Start Menu (for the USA only)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Bing search in the Start Menu (default value)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"This PC\" icon on Desktop" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"This PC\" icon on Desktop (default value)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not use item check boxes" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use check boxes to select items (default value)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Show hidden files, folders, and drives" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not show hidden files, folders, and drives (default value)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the file name extensions" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the file name extensions (default value)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show folder merge conflicts" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide folder merge conflicts (default value)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Open File Explorer to \"This PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Open File Explorer to Quick access (default value)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the File Explorer compact mode" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the File Explorer compact mode (default value)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide Cortana button on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show Cortana button on the taskbar (default value)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Do not show sync provider notification within File Explorer" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show sync provider notification within File Explorer (default value)" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "When I snap a window, do not show what I can snap next to it" + }, + "One": { + "Tag": "Enable", + "ToolTip": "When I snap a window, show what I can snap next to it (default value)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Show the file transfer dialog box in the detailed mode" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Show the file transfer dialog box in the compact mode (default value)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Expand the File Explorer ribbon" + }, + "One": { + "Tag": "Minimized", + "ToolTip": "Minimize the File Explorer ribbon (default value)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Display the recycle bin files delete confirmation" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not display the recycle bin files delete confirmation (default value)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"3D Objects\" folder in \"This PC\" and \"Quick access\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"3D Objects\" folder in \"This PC\" and \"Quick access\" (default value)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide frequently used files in Quick access" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show recently used files in Quick access (default value)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide frequently used folders in Quick access" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show frequently used folders in Quick access (default value)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the search on the taskbar" + }, + "One": { + "Tag": "SearchIcon", + "ToolTip": "Show the search icon on the taskbar" + }, + "Two": { + "Tag": "SearchBox", + "ToolTip": "Show the search box on the taskbar (default value)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Task View button on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Task View button on the taskbar (default value)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide search highlights" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show search highlights (default value)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide People on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show People on the taskbar (default value)" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show seconds on the taskbar clock" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide seconds on the taskbar clock (default value)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Windows Ink Workspace button on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Windows Ink Workspace button in taskbar (default value)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "NotificationAreaIcons", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Always show all icons in the notification area" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide all icons in the notification area (default value)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Meet Now icon in the notification area" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Meet Now icon in the notification area (default value)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable \"News and Interests\" on the taskbar" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable \"News and Interests\" on the taskbar (default value)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Unpin the \"Microsoft Edge\", \"Microsoft Store\", or \"Mail\" shortcuts from the taskbar", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Unpin the \"Microsoft Edge\" shortcut from the taskbar" + }, + "One": { + "Tag": "Store", + "ToolTip": "Unpin the \"Microsoft Store\" shortcut from the taskbar" + }, + "Two": { + "Tag": "Mail", + "ToolTip": "Unpin the \"Mail\" shortcut from the taskbar" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "View the Control Panel icons by large icons" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "View the Control Panel icons by small icons" + }, + "Two": { + "Tag": "Category", + "ToolTip": "View the Control Panel icons by category (default value)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Set the default Windows mode to dark" + }, + "One": { + "Tag": "Light", + "ToolTip": "Set the default Windows mode to light (default value)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Set the default app mode to dark" + }, + "One": { + "Tag": "Light", + "ToolTip": "Set the default app mode to light (default value)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"New App Installed\" indicator" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"New App Installed\" indicator (default value)" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Hide user first sign-in animation after the upgrade" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Show user first sign-in animation after the upgrade (default value)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Set the quality factor of the JPEG desktop wallpapers to maximum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Set the quality factor of the JPEG desktop wallpapers to default (default value)" + } + } + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Start Task Manager in the expanded mode" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Start Task Manager in the compact mode (default value)" + } + } + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show a notification when your PC requires a restart to finish updating" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Do not show a notification when your PC requires a restart to finish updating (default value)" + } + } + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not add the \"- Shortcut\" suffix to the file name of created shortcuts" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Add the \"- Shortcut\" suffix to the file name of created shortcuts (default value)" + } + } + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use the Print screen button to open screen snipping" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not use the Print screen button to open screen snipping (default value)" + } + } + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not use a different input method for each app window (default value)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let me use a different input method for each app window" + } + } + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "When I grab a windows's title bar and shake it, don't minimize all other windows (default value)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "When I grab a windows's title bar and shake it, minimize all other windows" + } + } + }, + { + "Id": 338, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Set default cursors" + }, + "One": { + "Tag": "Light", + "ToolTip": "Download and install free light \"Windows 11 Cursors Concept v2\" cursors from Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Download and install free dark \"Windows 11 Cursors Concept v2\" cursors from Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Uninstall OneDrive. The OneDrive user folder won't be removed" + }, + "One": { + "Tag": "Install", + "ToolTip": "Install OneDrive 64-bit" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Turn on Storage Sense" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Turn off Storage Sense (default value)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Run Storage Sense every month" + }, + "One": { + "Tag": "Default", + "ToolTip": "Run Storage Sense during low free disk space (default value)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Delete temporary files that apps aren't using (default value)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not delete temporary files that apps aren't using" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable hibernation. Do not recommend turning it off on laptops" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable hibernate (default value)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Change the %TEMP% environment variable path to %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Change %TEMP% environment variable path to %LOCALAPPDATA%\\Temp (default value)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Windows 260 characters path limit" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Windows 260 character path limit (default value)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Display Stop error code when BSoD occurs" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not Stop error code when BSoD occurs (default value)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Choose when to be notified about changes to your computer: never notify" + }, + "One": { + "Tag": "Default", + "ToolTip": "Choose when to be notified about changes to your computer: notify me only when apps try to make changes to my computer (default value)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Turn on access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Turn off access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled (default value)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off Delivery Optimization" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on Delivery Optimization (default value)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Always wait for the network at computer startup and logon for workgroup networks" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Never wait for the network at computer startup and logon for workgroup networks (default value)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let Windows manage my default printer" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let Windows manage my default printer (default value)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Windows features using the pop-up dialog box" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Windows features using the pop-up dialog box (default value)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Uninstall optional features using the pop-up dialog box" + }, + "One": { + "Tag": "Install", + "ToolTip": "Install optional features using the pop-up dialog box (default value)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Receive updates for other Microsoft products when you update Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not receive updates for other Microsoft products when you update Windows (default value)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Set power plan on \"High performance\". It isn't recommended to turn on the \"High performance\" power plan on laptops" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Set the power plan on \"Balanced\" (default value)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use the latest installed .NET runtime for all apps" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not use the latest installed .NET runtime for all apps (default value)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not allow the computer to turn off the network adapters to save power" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Allow the computer to turn off the network adapters to save power (default value)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Internet Protocol Version 6 (TCP/IPv6) component for all network connections. Before invoking the function, a check will be run whether your ISP supports the IPv6 protocol using https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Internet Protocol Version 6 (TCP/IPv6) component for all network connections (default value). Before invoking the function, a check will be run whether your ISP supports the IPv6 protocol using https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Override for default input method: English" + }, + "One": { + "Tag": "Default", + "ToolTip": "Override for default input method: use language list (default value)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "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. Move them manually. They're located in the %USERPROFILE% folder by default" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Select folders for user folders location manually using a folder browser dialog. User files or folders won't me moved to a new location. Move them manually. They're located in the %USERPROFILE% folder by default" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Change user folders location to the default values. User files or folders won't me moved to a new location. Move them manually. They're located in the %USERPROFILE% folder by default (default value)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Save screenshots by pressing Win+PrtScr on the Desktop. The function will be applied only if the preset is configured to remove OneDrive. Otherwise the backup functionality for the \"Desktop\" and \"Pictures\" folders in OneDrive breaks" + }, + "One": { + "Tag": "Default", + "ToolTip": "Save screenshots by pressing Win+PrtScr in the Pictures folder (default value)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Run troubleshooter automatically, then notify. In order this feature to work the OS level of diagnostic data gathering will be set to \"Optional diagnostic data\" and the error reporting feature will be turned on" + }, + "One": { + "Tag": "Default", + "ToolTip": "Ask me before running troubleshooters. In order this feature to work the OS level of diagnostic data gathering will be set to \"Optional diagnostic data\" and the error reporting feature will be turned on (default value)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Launch folder windows in a separate process" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not launch folder windows in a separate process (default value)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable and delete reserved storage after the next update installation" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable reserved storage (default value)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable help lookup via F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable help lookup via F1 (default value)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable Num Lock at startup" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable Num Lock at startup (default value)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Caps Lock" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Caps Lock (default value)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not allow the shortcut key to Start Sticky Keys by pressing the the Shift key 5 times to turn Sticky keys off" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Allow the shortcut key to Start Sticky Keys by pressing the the Shift key 5 times to turn Sticky keys on (default value)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Don't use AutoPlay for all media and devices" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use AutoPlay for all media and devices (default value)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable thumbnail cache removal" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable thumbnail cache removal (default value)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable automatically saving my restartable apps when signing out and restart them after signing in" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable automatically saving my restartable apps when signing out and restart them after signing in (default value)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable \"Network Discovery\" and \"File and Printers Sharing\" for workgroup networks" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable \"Network Discovery\" and \"File and Printers Sharing\" for workgroup networks (default value)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Automatically adjust active hours for me based on daily usage" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Manually adjust active hours for me based on daily usage (default value)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Restart this device as soon as possible when a restart is required to install an update" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not restart this device as soon as possible when a restart is required to install an update (default value)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "UninstallPCHealthCheck", + "Arg": { + "Zero": { + "Tag": "Block", + "ToolTip": "Uninstall the \"PC Health Check\" app and prevent it from installing in the future. The KB5005463 update installs the PC Health Check app to check if PC meets the system requirements of Windows 11" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64)" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Install the latest .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Enable Windows Subsystem for Linux (WSL), install the latest WSL Linux kernel version, and a Linux distribution using a pop-up form. The \"Receive updates for other Microsoft products\" setting will enabled automatically to receive kernel updates" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide recently added apps in the Start menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show recently added apps in the Start menu (default value)" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide app suggestions in the Start menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show app suggestions in the Start menu (default value)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Run the Windows PowerShell shortcut from the Start menu as Administrator" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Run the Windows PowerShell shortcut from the Start menu as user (default value)" + } + } + }, + { + "Id": 703, + "Region": "Start menu", + "Function": "PinToStart -Tiles", + "ToolTip": "Pin to Start the following shortcuts: Control Panel, Devices and Printers, PowerShell", + "Arg": { + "Zero": { + "Tag": "ControlPanel", + "ToolTip": "Pin the Control Panel shortcut to Start" + }, + "One": { + "Tag": "DevicesPrinters", + "ToolTip": "Pin the \"Devices & Printers\" shortcut to Start" + }, + "Two": { + "Tag": "PowerShell", + "ToolTip": "Pin the Windows PowerShell shortcut to Start" + } + } + }, + { + "Id": 704, + "Region": "Start menu", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Unpin all the Start tiles" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Uninstall UWP apps using the pop-up dialog box" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Uninstall UWP apps using the pop-up dialog box. If the \"For all users\" is checked apps packages will not be installed for new users. The \"ForAllUsers\" argument sets a checkbox to unistall packages for all users" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Restore the default UWP apps using the pop-up dialog box. UWP apps can be restored only if they were uninstalled only for the current user" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Open Microsoft Store \"HEVC Video Extensions from Device Manufacturer\" page to install this extension manually to be able to open .heic and .heif image formats. The extension can be installed without a Microsoft account" + }, + "One": { + "Tag": "Install", + "ToolTip": "Download and install \"HEVC Video Extensions from Device Manufacturer\" to be able to open .heic and .heif formats" + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Cortana autostarting" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Cortana autostarting (default value)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let all UWP apps run in the background" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let all UWP apps run in the background (default value)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Check for UWP apps updates" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Xbox Game Bar. To prevent popping up the \"You'll need a new app to open this ms-gamingoverlay\" warning, you need to disable the Xbox Game Bar app, even if you uninstalled it before" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Xbox Game Bar (default value)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Xbox Game Bar tips" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Xbox Game Bar tips (default value)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Choose an app and set the \"High performance\" graphics performance for it. Only if you have a dedicated GPU" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Turn on hardware-accelerated GPU scheduling. Restart needed. Only if you have a dedicated GPU and WDDM verion is 2.7 or higher" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Turn off hardware-accelerated GPU scheduling. Restart needed (default value)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Create the \"Windows Cleanup\" scheduled task for cleaning up Windows unused files and updates. A native interactive toast notification pops up every 30 days. The task runs every 30 days" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Delete the \"Windows Cleanup\" and \"Windows Cleanup Notification\" scheduled tasks for cleaning up Windows unused files and updates" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Create the \"SoftwareDistribution\" scheduled task for cleaning up the %SystemRoot%\\SoftwareDistribution\\Download folder. The task will wait until the Windows Updates service finishes running. The task runs every 90 days" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Delete the \"SoftwareDistribution\" scheduled task for cleaning up the %SystemRoot%\\SoftwareDistribution\\Download folder" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Create the \"Temp\" scheduled task for cleaning up the %TEMP% folder. Only files older than one day will be deleted. The task runs every 60 days" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Delete the \"Temp\" scheduled task for cleaning up the %TEMP% folder" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable Microsoft Defender Exploit Guard network protection" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable Microsoft Defender Exploit Guard network protection (default value)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable detection for potentially unwanted applications and block them" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable detection for potentially unwanted applications and block them (default value)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable sandboxing for Microsoft Defender" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable sandboxing for Microsoft Defender (default value)" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dismiss Microsoft Defender offer in the Windows Security about signing in Microsoft account" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dismiss Microsoft Defender offer in the Windows Security about turning on the SmartScreen filter for Microsoft Edge" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable events auditing generated when a process is created (starts)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable events auditing generated when a process is created (starts) (default value)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Include command line in process creation events. In order this feature to work events auditing (ProcessAudit -Enable) will be enabled" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not include command line in process creation events (default value)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Create the \"Process Creation\" сustom view in the Event Viewer to log executed processes and their arguments. In order this feature to work events auditing (AuditProcess -Enable) and command line (CommandLineProcessAudit -Enable) in process creation events will be enabled" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Remove the \"Process Creation\" custom view in the Event Viewer to log executed processes and their arguments (default value)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable logging for all Windows PowerShell modules" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable logging for all Windows PowerShell modules (default value)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable logging for all PowerShell scripts input to the Windows PowerShell event log" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable logging for all PowerShell scripts input to the Windows PowerShell event log (default value)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen doesn't marks downloaded files from the Internet as unsafe" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen marks downloaded files from the Internet as unsafe (default value)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Attachment Manager marking files that have been downloaded from the Internet as unsafe" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Attachment Manager marking files that have been downloaded from the Internet as unsafe (default value)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Windows Script Host. Blocks WSH from executing .js and .vbs files" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Windows Script Host (default value)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable Windows Sandbox" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable Windows Sandbox (default value)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"Extract all\" item in the Windows Installer (.msi) context menu" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"Extract all\" item from the Windows Installer (.msi) context menu (default value)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"Install\" item in the Cabinet (.cab) filenames extensions context menu" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"Install\" item from the Cabinet (.cab) filenames extensions context menu (default value)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"Run as different user\" item to the .exe filename extensions context menu" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"Run as different user\" item from the .exe filename extensions context menu (default value)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Cast to Device\" item from the media files and folders context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Cast to Device\" item in the media files and folders context menu (default value)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Share\" item from the context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Share\" item in the context menu (default value)" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Edit with Paint 3D\" item from the media files context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Edit with Paint 3D\" item in the media files context menu (default value)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Edit with Photos\" item from the media files context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Edit with Photos\" item in the media files context menu (default value)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Create a new video\" item in the media files context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Create a new video\" item in the media files context menu (default value)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Edit\" item from the images context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Edit\" item in images context menu (default value)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Print\" item from the .bat and .cmd context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Print\" item in the .bat and .cmd context menu (default value)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Include in Library\" item from the folders and drives context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Include in Library\" item in the folders and drives context menu (default value)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Send to\" item from the folders context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Send to\" item in the folders context menu (default value)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Bitmap image\" item from the \"New\" context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Bitmap image\" item to the \"New\" context menu (default value)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Rich Text Document\" item from the \"New\" context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Rich Text Document\" item to the \"New\" context menu (default value)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Compressed (zipped) Folder\" item from the \"New\" context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Compressed (zipped) Folder\" item to the \"New\" context menu (default value)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable the \"Open\", \"Print\", and \"Edit\" context menu items for more than 15 items selected" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable the \"Open\", \"Print\", and \"Edit\" context menu items for more than 15 items selected (default value)" + } + } + }, + { + "Id": 1216, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Look for an app in the Microsoft Store\" item in the \"Open with\" dialog" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Look for an app in the Microsoft Store\" item in the \"Open with\" dialog (default value)" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in" + } + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/tooltip_Windows_11.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/tooltip_Windows_11.json new file mode 100644 index 00000000..6f37520f --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/tooltip_Windows_11.json @@ -0,0 +1,2063 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "The mandatory Checks. If you want to disable a warning message about whether the preset file was customized, remove the \"-Warning\" argument" + }, + "One": { + "Tag": "", + "ToolTip": "The mandatory Checks. No argument therefore no warning message about whether you've customized the preset file" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Enable script logging. The log will be being recorded into the script folder. To stop logging just close the console or type \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Create a restore point" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the \"Connected User Experiences and Telemetry\" service (DiagTrack), and block the connection for the Unified Telemetry Client Outbound Traffic. Disabling the \"Connected User Experiences and Telemetry\" service (DiagTrack) can cause you not being able to get Xbox achievements anymore" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the DiagTrack service, firewall rule for Unified Telemetry Client Outbound Traffic and allow connection (default value)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Set the OS level of diagnostic data gathering to minimum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Set the diagnostic data collection to default (default value)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off the Windows Error Reporting" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on the Windows Error Reporting (default value)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Change the feedback frequency to \"Never\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Change the feedback frequency to \"Automatically\" (default value)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off the diagnostics tracking scheduled tasks" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on the diagnostics tracking scheduled tasks (default value)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not use sign-in info to automatically finish setting up device and reopen apps after an update or restart" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use sign-in info to automatically finish setting up device and reopen apps after an update or restart (default value)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let websites provide locally relevant content by accessing language list" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let websites provide locally relevant content by accessing language list (default value)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not allow apps to use advertising ID" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Allow apps to use advertising ID (default value)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested (default value)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Get tips and suggestions when I use Windows (default value)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not get tips and suggestions when I use Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide from me suggested content in the Settings app" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show me suggested content in the Settings app (default value)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off automatic installing suggested apps" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on automatic installing suggested apps (default value)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not suggest ways I can finish setting up my device to get the most out of Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Suggest ways I can finish setting up my device to get the most out of Windows (default value)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let Microsoft offer you tailored expereinces based on the diagnostic data setting you hava chosen (default value)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Bing search in the Start Menu (for the USA only)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Bing search in the Start Menu (default value)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"This PC\" icon on Desktop" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"This PC\" icon on Desktop (default value)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not use item check boxes" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use check boxes to select items (default value)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Show hidden files, folders, and drives" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not show hidden files, folders, and drives (default value)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the file name extensions" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the file name extensions (default value)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show folder merge conflicts" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide folder merge conflicts (default value)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Open File Explorer to \"This PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Open File Explorer to Quick access (default value)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerCompactMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the File Explorer compact mode" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the File Explorer compact mode (default value)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Do not show sync provider notification within File Explorer" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show sync provider notification within File Explorer (default value)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "SnapAssistFlyout", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Show snap layouts when I hover over a windows's maximaze button (default value)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Hide snap layouts when I hover over a windows's maximaze button" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "When I snap a window, do not show what I can snap next to it" + }, + "One": { + "Tag": "Enable", + "ToolTip": "When I snap a window, show what I can snap next to it (default value)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Show the file transfer dialog box in the detailed mode" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Show the file transfer dialog box in the compact mode (default value)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Display the recycle bin files delete confirmation" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not display the recycle bin files delete confirmation (default value)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide frequently used files in Quick access" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show recently used files in Quick access (default value)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide frequently used folders in Quick access" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show frequently used folders in Quick access (default value)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "TaskbarAlignment", + "Arg": { + "Zero": { + "Tag": "Left", + "ToolTip": "Set the taskbar alignment to the left" + }, + "One": { + "Tag": "Center", + "ToolTip": "Set the taskbar alignment to the center (default value)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the search button from the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the search icon on the taskbar (default value)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Task View button on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Task View button on the taskbar (default value)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskbarWidgets", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the widgets icon on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the widgets icon on the taskbar (default value)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "TaskbarChat", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the Chat icon (Microsoft Teams) on the taskbar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the Chat icon (Microsoft Teams) on the taskbar (default value)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Unpin the \"Microsoft Edge\" and \"Microsoft Store\" shortcuts from the taskbar", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Unpin the \"Microsoft Edge\" shortcut from the taskbar" + }, + "One": { + "Tag": "Store", + "ToolTip": "Unpin the \"Microsoft Store\" shortcut from the taskbar" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "View the Control Panel icons by large icons" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "View the Control Panel icons by small icons" + }, + "Two": { + "Tag": "Category", + "ToolTip": "View the Control Panel icons by category (default value)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Set the default Windows mode to dark" + }, + "One": { + "Tag": "Light", + "ToolTip": "Set the default Windows mode to light (default value)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Set the default app mode to dark" + }, + "One": { + "Tag": "Light", + "ToolTip": "Set the default app mode to light (default value)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Hide user first sign-in animation after the upgrade" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Show user first sign-in animation after the upgrade (default value)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Set the quality factor of the JPEG desktop wallpapers to maximum" + }, + "One": { + "Tag": "Default", + "ToolTip": "Set the quality factor of the JPEG desktop wallpapers to default (default value)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Start Task Manager in the expanded mode" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Start Task Manager in the compact mode (default value)" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show a notification when your PC requires a restart to finish updating" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Do not show a notification when your PC requires a restart to finish updating (default value)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not add the \"- Shortcut\" suffix to the file name of created shortcuts" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Add the \"- Shortcut\" suffix to the file name of created shortcuts (default value)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use the Print screen button to open screen snipping" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not use the Print screen button to open screen snipping (default value)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not use a different input method for each app window (default value)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let me use a different input method for each app window" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "When I grab a windows's title bar and shake it, minimize all other windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "When I grab a windows's title bar and shake it, don't minimize all other windows (default value)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Set default cursors" + }, + "One": { + "Tag": "Light", + "ToolTip": "Download and install free light \"Windows 11 Cursors Concept v2\" cursors from Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Download and install free dark \"Windows 11 Cursors Concept v2\" cursors from Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Uninstall OneDrive. The OneDrive user folder won't be removed" + }, + "One": { + "Tag": "Install", + "ToolTip": "Install OneDrive 64-bit" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Turn on Storage Sense" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Turn off Storage Sense (default value)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Run Storage Sense every month" + }, + "One": { + "Tag": "Default", + "ToolTip": "Run Storage Sense during low free disk space (default value)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Delete temporary files that apps aren't using (default value)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not delete temporary files that apps aren't using" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable hibernation. Do not recommend turning it off on laptops" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable hibernate (default value)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Change the %TEMP% environment variable path to %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Change %TEMP% environment variable path to %LOCALAPPDATA%\\Temp (default value)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Windows 260 characters path limit" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Windows 260 character path limit (default value)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Display Stop error code when BSoD occurs" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not Stop error code when BSoD occurs (default value)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Choose when to be notified about changes to your computer: never notify" + }, + "One": { + "Tag": "Default", + "ToolTip": "Choose when to be notified about changes to your computer: notify me only when apps try to make changes to my computer (default value)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Turn on access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Turn off access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled (default value)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off Delivery Optimization" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on Delivery Optimization (default value)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Always wait for the network at computer startup and logon for workgroup networks" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Never wait for the network at computer startup and logon for workgroup networks (default value)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not let Windows manage my default printer" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Let Windows manage my default printer (default value)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Windows features using the pop-up dialog box" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Windows features using the pop-up dialog box (default value)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Uninstall optional features using the pop-up dialog box" + }, + "One": { + "Tag": "Install", + "ToolTip": "Install optional features using the pop-up dialog box (default value)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Receive updates for other Microsoft products when you update Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not receive updates for other Microsoft products when you update Windows (default value)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Set power plan on \"High performance\". It isn't recommended to turn on the \"High performance\" power plan on laptops" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Set the power plan on \"Balanced\" (default value)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use the latest installed .NET runtime for all apps" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not use the latest installed .NET runtime for all apps (default value)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Do not allow the computer to turn off the network adapters to save power" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Allow the computer to turn off the network adapters to save power (default value)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Internet Protocol Version 6 (TCP/IPv6) component for all network connections. Before invoking the function, a check will be run whether your ISP supports the IPv6 protocol using https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Internet Protocol Version 6 (TCP/IPv6) component for all network connections (default value). Before invoking the function, a check will be run whether your ISP supports the IPv6 protocol using https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Override for default input method: English" + }, + "One": { + "Tag": "Default", + "ToolTip": "Override for default input method: use language list (default value)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "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. Move them manually. They're located in the %USERPROFILE% folder by default" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Select folders for user folders location manually using a folder browser dialog. User files or folders won't me moved to a new location. Move them manually. They're located in the %USERPROFILE% folder by default" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Change user folders location to the default values. User files or folders won't me moved to a new location. Move them manually. They're located in the %USERPROFILE% folder by default (default value)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Save screenshots by pressing Win+PrtScr on the Desktop. The function will be applied only if the preset is configured to remove OneDrive. Otherwise the backup functionality for the \"Desktop\" and \"Pictures\" folders in OneDrive breaks" + }, + "One": { + "Tag": "Default", + "ToolTip": "Save screenshots by pressing Win+PrtScr in the Pictures folder (default value)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Run troubleshooter automatically, then notify. In order this feature to work the OS level of diagnostic data gathering will be set to \"Optional diagnostic data\" and the error reporting feature will be turned on" + }, + "One": { + "Tag": "Default", + "ToolTip": "Ask me before running troubleshooters. In order this feature to work the OS level of diagnostic data gathering will be set to \"Optional diagnostic data\" and the error reporting feature will be turned on (default value)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Launch folder windows in a separate process" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not launch folder windows in a separate process (default value)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable and delete reserved storage after the next update installation" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable reserved storage (default value)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable help lookup via F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable help lookup via F1 (default value)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable Num Lock at startup" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable Num Lock at startup (default value)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Caps Lock" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Caps Lock (default value)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Turn off pressing the Shift key 5 times to turn Sticky keys" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on pressing the Shift key 5 times to turn Sticky keys (default value)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Don't use AutoPlay for all media and devices" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use AutoPlay for all media and devices (default value)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable thumbnail cache removal" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable thumbnail cache removal (default value)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable automatically saving my restartable apps when signing out and restart them after signing in" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable automatically saving my restartable apps when signing out and restart them after signing in (default value)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable \"Network Discovery\" and \"File and Printers Sharing\" for workgroup networks" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable \"Network Discovery\" and \"File and Printers Sharing\" for workgroup networks (default value)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Automatically adjust active hours for me based on daily usage" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Manually adjust active hours for me based on daily usage (default value)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Restart this device as soon as possible when a restart is required to install an update" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not restart this device as soon as possible when a restart is required to install an update (default value)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "DefaultTerminalApp", + "Arg": { + "Zero": { + "Tag": "WindowsTerminal", + "ToolTip": "Set Windows Terminal as default terminal app to host the user interface for command-line applications" + }, + "One": { + "Tag": "ConsoleHost", + "ToolTip": "Set Windows Console Host as default terminal app to host the user interface for command-line applications (default value)" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64)" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Install the latest .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable proxying only blocked sites from the unified registry of Roskomnadzor (default value)" + } + } + }, + { + "Id": 539, + "Region": "System", + "Function": "WSA", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable all necessary dependencies (reboot may require) and open Microsoft Store WSA page to install Windows Subsystem for Android™ with Amazon Appstore manually" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable all necessary dependencies (reboot may require) and uninstall Windows Subsystem for Android™ with Amazon Appstore (default value)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Enable Windows Subsystem for Linux (WSL), install the latest WSL Linux kernel version, and a Linux distribution using a pop-up form. The \"Receive updates for other Microsoft products\" setting will enabled automatically to receive kernel updates" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "UnpinAllStartApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Unpin all Start apps" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Run the Windows PowerShell shortcut from the Start menu as Administrator" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Run the Windows PowerShell shortcut from the Start menu as user (default value)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "StartLayout", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Show default Start layout (for 22621+ build only) (default value)" + }, + "One": { + "Tag": "ShowMorePins", + "ToolTip": "Show more pins on Start (for 22621+ build only)" + }, + "Two": { + "Tag": "ShowMoreRecommendations", + "ToolTip": "Show more recommendations on Start (for 22621+ build only)" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Uninstall UWP apps using the pop-up dialog box" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Uninstall UWP apps using the pop-up dialog box. If the \"For all users\" is checked apps packages will not be installed for new users. The \"ForAllUsers\" argument sets a checkbox to unistall packages for all users" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Restore the default UWP apps using the pop-up dialog box. UWP apps can be restored only if they were uninstalled only for the current user" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Open Microsoft Store \"HEVC Video Extensions from Device Manufacturer\" page to install this extension manually to be able to open .heic and .heif image formats. The extension can be installed without a Microsoft account" + }, + "One": { + "Tag": "Install", + "ToolTip": "Download and install \"HEVC Video Extensions from Device Manufacturer\" to be able to open .heic and .heif formats. HEVC Video Extension is already installed in Windows 11 22H2 by default." + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Cortana autostarting" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Cortana autostarting (default value)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "TeamsAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Microsoft Teams autostarting" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Microsoft Teams autostarting (default value)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Check for UWP apps updates" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Xbox Game Bar. To prevent popping up the \"You'll need a new app to open this ms-gamingoverlay\" warning, you need to disable the Xbox Game Bar app, even if you uninstalled it before" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Xbox Game Bar (default value)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Xbox Game Bar tips" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Xbox Game Bar tips (default value)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Choose an app and set the \"High performance\" graphics performance for it. Only if you have a dedicated GPU" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Turn on hardware-accelerated GPU scheduling. Restart needed. Only if you have a dedicated GPU and WDDM verion is 2.7 or higher" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Turn off hardware-accelerated GPU scheduling. Restart needed (default value)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Create the \"Windows Cleanup\" scheduled task for cleaning up Windows unused files and updates. A native interactive toast notification pops up every 30 days. The task runs every 30 days" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Delete the \"Windows Cleanup\" and \"Windows Cleanup Notification\" scheduled tasks for cleaning up Windows unused files and updates" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Create the \"SoftwareDistribution\" scheduled task for cleaning up the %SystemRoot%\\SoftwareDistribution\\Download folder. The task will wait until the Windows Updates service finishes running. The task runs every 90 days" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Delete the \"SoftwareDistribution\" scheduled task for cleaning up the %SystemRoot%\\SoftwareDistribution\\Download folder" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Create the \"Temp\" scheduled task for cleaning up the %TEMP% folder. Only files older than one day will be deleted. The task runs every 60 days" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Delete the \"Temp\" scheduled task for cleaning up the %TEMP% folder" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable Microsoft Defender Exploit Guard network protection" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable Microsoft Defender Exploit Guard network protection (default value)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable detection for potentially unwanted applications and block them" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable detection for potentially unwanted applications and block them (default value)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dismiss Microsoft Defender offer in the Windows Security about signing in Microsoft account" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dismiss Microsoft Defender offer in the Windows Security about turning on the SmartScreen filter for Microsoft Edge" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable events auditing generated when a process is created (starts)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable events auditing generated when a process is created (starts) (default value)" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Include command line in process creation events. In order this feature to work events auditing (ProcessAudit -Enable) will be enabled" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not include command line in process creation events (default value)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Create the \"Process Creation\" Event Viewer сustom view to log executed processes and their arguments. In order this feature to work events auditing (AuditProcess -Enable) and command line (CommandLineProcessAudit -Enable) in process creation events will be enabled" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Remove \"Process Creation\" Event Viewer сustom view to log executed processes and their arguments (default value)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable logging for all Windows PowerShell modules" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable logging for all Windows PowerShell modules (default value)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable logging for all PowerShell scripts input to the Windows PowerShell event log" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable logging for all PowerShell scripts input to the Windows PowerShell event log (default value)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen doesn't marks downloaded files from the Internet as unsafe" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen marks downloaded files from the Internet as unsafe (default value)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Attachment Manager marking files that have been downloaded from the Internet as unsafe" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Attachment Manager marking files that have been downloaded from the Internet as unsafe (default value)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable Windows Script Host. Blocks WSH from executing .js and .vbs files" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable Windows Script Host (default value)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable Windows Sandbox" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable Windows Sandbox (default value)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "DNSoverHTTPS", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable DNS-over-HTTPS for IPv4. The valid IPv4 addresses: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable DNS-over-HTTPS for IPv4 (default value)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"Extract all\" item in the Windows Installer (.msi) context menu" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"Extract all\" item from the Windows Installer (.msi) context menu (default value)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"Install\" item in the Cabinet (.cab) filenames extensions context menu" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"Install\" item from the Cabinet (.cab) filenames extensions context menu (default value)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Show the \"Run as different user\" item to the .exe filename extensions context menu" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Hide the \"Run as different user\" item from the .exe filename extensions context menu (default value)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Cast to Device\" item from the media files and folders context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Cast to Device\" item in the media files and folders context menu (default value)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Share\" item from the context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Share\" item in the context menu (default value)" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Edit with Photos\" item from the media files context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Edit with Photos\" item in the media files context menu (default value)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Create a new video\" item in the media files context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Create a new video\" item in the media files context menu (default value)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Print\" item from the .bat and .cmd context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Print\" item in the .bat and .cmd context menu (default value)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Include in Library\" item from the folders and drives context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Include in Library\" item in the folders and drives context menu (default value)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Send to\" item from the folders context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Send to\" item in the folders context menu (default value)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Compressed (zipped) Folder\" item from the \"New\" context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Compressed (zipped) Folder\" item to the \"New\" context menu (default value)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Enable the \"Open\", \"Print\", and \"Edit\" context menu items for more than 15 items selected" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Disable the \"Open\", \"Print\", and \"Edit\" context menu items for more than 15 items selected (default value)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Look for an app in the Microsoft Store\" item in the \"Open with\" dialog" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Look for an app in the Microsoft Store\" item in the \"Open with\" dialog (default value)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "OpenWindowsTerminalContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Hide the \"Open in Windows Terminal\" menu option in the folders context menu" + }, + "One": { + "Tag": "Show", + "ToolTip": "Show the \"Open in Windows Terminal\" menu option in the folders context menu (default value)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "OpenWindowsTerminalAdminContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Open Windows Terminal in context menu as administrator by default" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Do not open Windows Terminal in context menu as administrator by default (default value)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "Windows10ContextMenu", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Disable the Windows 10 context menu style (default value)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Enable the Windows 10 context menu style" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in" + } + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/ui.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/ui.json new file mode 100644 index 00000000..769fa0d6 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/en-US/ui.json @@ -0,0 +1,71 @@ +[ + { + "Id": "Menu", + "Options": { + "menuImportExportPreset": "Import | Export", + "menuImportPreset": "Import Preset", + "menuExportPreset": "Export Preset", + "menuPresets": "Presets", + "menuOpposite": "Opposite", + "menuClear": "Clear", + "menuTheme": "Theme", + "menuThemeDark": "Dark", + "menuThemeLight": "Light", + "menuLanguage": "Language", + "menuAbout": "About" + } + }, + { + "Id": "Tab", + "Options": { + "tabSystemProtection": "System Protection", + "tabPrivacyTelemetry": "Privacy & Telemetry", + "tabUIPersonalization": "UI & Personalization", + "tabOneDrive": "OneDrive", + "tabSystem": "System", + "tabWSL": "WSL", + "tabStartMenu": "Start Menu", + "tabUWP": "UWP Apps", + "tabGaming": "Gaming", + "tabScheduledTasks": "Scheduled Tasks", + "tabDefenderSecurity": "Defender & Security", + "tabContextMenu": "Context Menu", + "tabUpdatePolicies": "Update Policies", + "tabConsoleOutput": "Console Output" + } + }, + { + "Id": "Button", + "Options": { + "btnRefreshConsole": "Refresh Console", + "btnRunPowerShell": "Run PowerShell" + } + }, + { + "Id": "StatusBar", + "Options": { + "statusBarHover": "Hover your mouse cursor over the selection items to information about each option", + "statusBarPresetLoaded": "preset loaded!", + "statusBarPresetNotComp": "preset file is not compatible!", + "statusBarSophiaPreset": "Sophia preset loaded!", + "statusBarWindowsDefaultPreset": "Windows Default preset loaded!", + "statusBarPowerShellScriptCreatedFromSelections": "PowerShell Script created from your selections! You can run it or save it.", + "statusBarPowerShellExport": "PowerShell script created!", + "statusBarOpposite": "Opposite selected!", + "statusBarClear": "Selections all cleared!", + "statusBarDisabled": "You must 'Import Preset' first to enable use of Wrapper. Import to enable controls.", + "statusBarCurrentOS": "Current OS" + } + }, + { + "Id": "MessageBox", + "Options": { + "messageBoxNewWrapperFound": "A new version of 'Wrapper' found.\nOpen a GitHub latest release page?", + "messageBoxNewSophiaFound": "A new version Sophia Script found.\nOpen GitHub latest release page?", + "messageBoxDoesNotExist": "does not exist", + "messageBoxPresetNotComp": "preset file is not compatible!", + "messageBoxFilesMissingClose": "Files missing so Sophia Script Wrapper will close", + "messageBoxConsoleEmpty": "The console is empty.\nClick 'Refresh Console' button to create script with your selections" + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tag.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tag.json new file mode 100644 index 00000000..dd19a7ef --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tag.json @@ -0,0 +1,46 @@ +{ + "Warning": "Advertencia", + "Checks": "Comprobaciones", + "Disable": "Desactivar", + "Enable": "Habilitar", + "None": "Ninguno", + "Minimal": "Mínimo", + "Default": "Defecto", + "Never": "Nunca", + "Hide": "Esconder", + "Show": "Show", + "ThisPC": "Este PC", + "QuickAccess": "Acceso rapido", + "Detailed": "Detallado", + "Compact": "Compacto", + "Expanded": "Expandido", + "Minimized": "Minimizado", + "SearchIcon": "Icono de búsqueda", + "SearchBox": "Caja de búsqeda", + "LargeIcons": "Iconos grandes", + "SmallIcons": "Iconos pequeños", + "Category": "Categoría", + "Dark": "Oscuro", + "Light": "Ligero", + "Max": "Max", + "Uninstall": "Desinstalar", + "Install": "Instalar", + "Month": "Mes", + "SystemDrive": "Unidad del sistema", + "High": "Alto", + "Balanced": "Equilibrado", + "English": "Inglés", + "Root": "Raíz", + "Custom": "Personalizado", + "Desktop": "Escritorio", + "Automatically": "Automáticamente", + "Manually": "A mano", + "Elevated": "Elevado", + "NonElevated": "No elevado", + "Register": "Registrarse", + "Delete": "Borrar", + "Left": "Izquierdo", + "Center": "Centrar", + "WindowsTerminal": "Terminal de Windows", + "ConsoleHost": "Host de la consola" +} diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tooltip_Windows_10.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tooltip_Windows_10.json new file mode 100644 index 00000000..71768110 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tooltip_Windows_10.json @@ -0,0 +1,2203 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "Las comprobaciones necesarias. Si desea deshabilitar un mensaje de advertencia sobre si el archivo preestablecido fue personalizado, elimine el argumento \"-Warning\"" + }, + "One": { + "Tag": "", + "ToolTip": "Se requieren comprobaciones. Ningún argumento, por lo tanto, ningún mensaje de advertencia sobre si ha personalizado el archivo preestablecido" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite el registro de secuencias de comandos. El registro se grabará en la carpeta de secuencias de comandos. Para detener el registro, simplemente cierre la consola o escriba \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Crea un punto de restauración" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilite el servicio \"Telemetría y experiencias de usuario conectado\" (DiagTrack) y bloquee la conexión para el tráfico saliente del cliente de telemetría unificada. Deshabilitar el servicio \"Experiencias de usuario conectado y telemetría\" (DiagTrack) puede hacer que ya no puedas obtener los logros de Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el servicio DiagTrack, la regla de firewall para el tráfico saliente del cliente de telemetría unificada y permita la conexión (valor predeterminado)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Establecer el nivel de sistema operativo de recopilación de datos de diagnóstico al mínimo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Establecer la recopilación de datos de diagnóstico por defecto (valor predeterminado)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive el informe de errores de Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Active el Informe de errores de Windows (valor predeterminado)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Cambia la frecuencia de los comentarios a \"Nunca\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Cambiar la frecuencia de retroalimentación a \"Automáticamente\" (valor predeterminado)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive las tareas programadas de seguimiento de diagnósticos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Active las tareas programadas de seguimiento de diagnóstico (valor predeterminado)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No use la información de inicio de sesión para finalizar automáticamente la configuración del dispositivo y volver a abrir las aplicaciones después de una actualización o reinicio" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use la información de inicio de sesión para finalizar automáticamente la configuración del dispositivo y volver a abrir las aplicaciones después de una actualización o reinicio (valor predeterminado)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No permita que los sitios web proporcionen contenido relevante a nivel local accediendo a la lista de idiomas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permita que los sitios web proporcionen contenido relevante a nivel local accediendo a la lista de idiomas (valor predeterminado)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No permita que las aplicaciones usen ID de publicidad" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que las aplicaciones usen ID de publicidad (valor predeterminado)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar las experiencias de bienvenida de Windows después de las actualizaciones y ocasionalmente cuando inicio sesión para resaltar las novedades y sugerencias" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar las experiencias de bienvenida de Windows después de las actualizaciones y ocasionalmente cuando inicio sesión para resaltar las novedades y las sugerencias (valor predeterminado)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Obtenga consejos, trucos y sugerencias mientras usa Windows (valor predeterminado)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No reciba propinas, trucos ni sugerencias mientras usa Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultarme el contenido sugerido en la aplicación Configuración" + }, + "One": { + "Tag": "Show", + "ToolTip": "Muéstrame contenido sugerido en la aplicación Configuración (valor predeterminado)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar la instalación automática de aplicaciones sugeridas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Activar la instalación automática de aplicaciones sugeridas (valor predeterminado)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No sugiera formas en las que pueda terminar de configurar mi dispositivo para aprovechar Windows al máximo" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Sugerir formas en las que puedo terminar de configurar mi dispositivo para aprovechar Windows al máximo (valor predeterminado)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No ofrezca experiencias personalizadas basadas en la configuración de datos de diagnóstico" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ofrezca experiencias personalizadas basadas en la configuración de datos de diagnóstico (valor predeterminado)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive la búsqueda de Bing en el menú Inicio (solo para EE. UU.)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite la búsqueda de Bing en el menú Inicio (valor predeterminado)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el icono \"Esta PC\" en el escritorio" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el icono \"Esta PC\" en el escritorio (valor predeterminado)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No utilice casillas de verificación de elementos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Utilice casillas de verificación para seleccionar elementos (valor predeterminado)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar archivos, carpetas y unidades ocultos" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No mostrar archivos, carpetas ni unidades ocultos (valor predeterminado)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar extensiones de nombre de archivo" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar extensiones de nombre de archivo (valor predeterminado)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar conflictos de fusión de carpetas" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar conflictos de fusión de carpetas (valor predeterminado)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Abra el Explorador de archivos en \"Esta PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Abra el Explorador de archivos para acceder rápidamente (valor predeterminado)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el modo compacto del Explorador de archivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el modo compacto del Explorador de archivos (valor predeterminado)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el botón Cortana en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el botón Cortana en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "No mostrar la notificación del proveedor de sincronización en el Explorador de archivos" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar notificación del proveedor de sincronización en el Explorador de archivos (valor predeterminado)" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Cuando abro una ventana, no muestro lo que puedo ajustar junto a ella" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Cuando abro una ventana, muestro lo que puedo ajustar junto a ella (valor predeterminado)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Mostrar el cuadro de diálogo de transferencia de archivos en el modo detallado" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Mostrar el cuadro de diálogo de transferencia de archivos en el modo compacto (valor predeterminado)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Expanda la cinta del Explorador de archivos" + }, + "One": { + "Tag": "Minimized", + "ToolTip": "Minimizar la cinta del Explorador de archivos (valor predeterminado)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar la confirmación de eliminación de archivos de la papelera de reciclaje" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No mostrar la confirmación de eliminación de archivos de la papelera de reciclaje (valor predeterminado)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar la carpeta \"Objetos 3D\" en \"Esta PC\" y \"Acceso rápido\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar la carpeta \"Objetos 3D\" en \"Esta PC\" y \"Acceso rápido\" (valor predeterminado)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar carpetas de uso frecuente en Acceso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar archivos usados recientemente en Acceso rápido (valor predeterminado)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar carpetas de uso frecuente en Acceso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar carpetas de uso frecuente en Acceso rápido (valor predeterminado)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar la búsqueda en la barra de tareas" + }, + "One": { + "Tag": "SearchIcon", + "ToolTip": "Mostrar el icono de búsqueda en la barra de tareas" + }, + "Two": { + "Tag": "SearchBox", + "ToolTip": "Mostrar el cuadro de búsqueda en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el botón Vista de tareas en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el botón Vista de tareas en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar destacados de búsqueda" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar destacados de búsqueda (valor predeterminado)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el botón Personas en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el botón Personas en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar segundos en el reloj de la barra de tareas" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar segundos en el reloj de la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el botón del espacio de trabajo de Windows Ink en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el botón Espacio de trabajo de Windows Ink en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "NotificationAreaIcons", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar siempre todos los íconos en el área de notificación" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar todos los iconos en el área de notificación (valor predeterminado)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el icono Reunirse ahora en el área de notificación" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el icono Reunirse ahora en el área de notificación (valor predeterminado)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactiva \"Noticias e intereses\" en la barra de tareas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite \"Noticias e intereses\" en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Desanclar los accesos directos de \"Microsoft Edge\", \"Microsoft Store\" o \"Mail\" de la barra de tareas", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Desanclar el acceso directo de \"Microsoft Edge\" de la barra de tareas" + }, + "One": { + "Tag": "Store", + "ToolTip": "Desanclar el acceso directo de \"Microsoft Store\" de la barra de tareas" + }, + "Two": { + "Tag": "Mail", + "ToolTip": "Desanclar el acceso directo \"Mail\" de la barra de tareas" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Ver los iconos del Panel de control por iconos grandes" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Ver los iconos del Panel de control por iconos pequeños" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Ver los iconos del Panel de control por categoría (valor predeterminado)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Configure el modo predeterminado de Windows en oscuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Establecer el modo de Windows predeterminado en luz (valor predeterminado)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Establecer el modo de aplicación predeterminado en oscuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Establecer el modo de aplicación predeterminado en luz (valor predeterminado)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el indicador \"Nueva aplicación instalada\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Muestra el indicador \"Nueva aplicación instalada\" (valor predeterminado)" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Ocultar la animación del primer inicio de sesión del usuario después de la actualización" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Mostrar la animación de inicio de sesión del usuario después de la actualización (valor predeterminado)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Establezca el factor de calidad de los fondos de escritorio JPEG al máximo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Establezca el factor de calidad de los fondos de escritorio JPEG como predeterminado (valor predeterminado)" + } + } + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Inicie el Administrador de tareas en el modo expandido" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Inicie el Administrador de tareas en el modo compacto (valor predeterminado)" + } + } + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Muestre una notificación cuando su PC requiera un reinicio para finalizar la actualización" + }, + "One": { + "Tag": "Hide", + "ToolTip": "No muestre una notificación cuando su PC requiera un reinicio para finalizar la actualización (valor predeterminado)" + } + } + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No agregue el sufijo \"- Acceso directo\" al nombre de archivo de los accesos directos creados" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Agregue el sufijo \"- Acceso directo\" al nombre de archivo de los accesos directos creados (valor predeterminado)" + } + } + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Utilice el botón Imprimir pantalla para abrir recortes de pantalla" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No utilice el botón Imprimir pantalla para abrir recortes de pantalla (valor predeterminado)" + } + } + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No utilice un método de entrada diferente para cada ventana de la aplicación (valor predeterminado)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permítanme usar un método de entrada diferente para cada ventana de la aplicación" + } + } + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Cuando agarro la barra de título de una ventana y la agito, no minimizo todas las demás ventanas (valor predeterminado)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Cuando agarro la barra de título de una ventana y la agito, minimizo todas las demás ventanas" + } + } + }, + { + "Id": 338, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Establecer los cursores por defecto" + }, + "One": { + "Tag": "Light", + "ToolTip": "Descarga e instala gratis los cursores ligeros \"Windows 11 Cursors Concept v2\" de Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Descargue e instale gratis los cursores oscuros \"Windows 11 Cursors Concept v2\" de Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale OneDrive. La carpeta de usuario de OneDrive no se eliminará" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instalar OneDrive" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Activar Storage Sense" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar Storage Sense (valor predeterminado)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Ejecute Storage Sense todos los meses" + }, + "One": { + "Tag": "Default", + "ToolTip": "Ejecute Storage Sense durante poco espacio libre en disco (valor predeterminado)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Eliminar archivos temporales que las aplicaciones no están usando (valor predeterminado)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No elimine archivos temporales que las aplicaciones no estén usando" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactiva la hibernación. No recomiendo apagarlo en computadoras portátiles" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar hibernación (valor predeterminado)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Cambie la ruta de la variable de entorno% TEMP% a %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Cambie la ruta de la variable de entorno% TEMP% a %LOCALAPPDATA%\\Temp (valor predeterminado)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el límite de ruta de Windows 260 caracteres" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el límite de ruta de caracteres de Windows 260 (valor predeterminado)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar la información de error de parada en el BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No mostrar la información de error de detención en el BSoD (valor predeterminado)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Elija cuándo recibir notificaciones sobre cambios en su computadora: nunca notifique" + }, + "One": { + "Tag": "Default", + "ToolTip": "Elija cuándo ser notificado sobre cambios en su computadora: notificarme solo cuando las aplicaciones intenten realizar cambios en mi computadora (valor predeterminado)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Active el acceso a las unidades asignadas desde la aplicación que se ejecuta con permisos elevados con el modo de aprobación de administrador habilitado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive el acceso a las unidades asignadas desde la aplicación que se ejecuta con permisos elevados con el modo de aprobación de administrador habilitado (valor predeterminado)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar la optimización de la entrega" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on Delivery Optimization (default value)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Espere siempre la red al inicio de la computadora e inicie sesión para redes de grupo de trabajo" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Nunca espere a que se conecte la red al inicio de la computadora e inicie sesión para redes de grupos de trabajo (valor predeterminado)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No dejo que Windows administre mi impresora predeterminada" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Dejar que Windows administre mi impresora predeterminada (valor predeterminado)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive las funciones de Windows mediante el cuadro de diálogo emergente" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite las funciones de Windows usando el cuadro de diálogo emergente (valor predeterminado)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale las funciones opcionales mediante el cuadro de diálogo emergente" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instale funciones opcionales mediante el cuadro de diálogo emergente (valor predeterminado)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Reciba actualizaciones para otros productos de Microsoft cuando actualice Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No reciba actualizaciones para otros productos de Microsoft cuando actualice Windows (valor predeterminado)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Establezca el plan de energía en \"Alto rendimiento\". No se recomienda activar el plan de energía de \"Alto rendimiento\" en las computadoras portátiles" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Establezca el plan de energía en \"Equilibrado\" (valor predeterminado)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Utilice el último tiempo de ejecución .NET instalado para todas las aplicaciones" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No utilice el tiempo de ejecución .NET instalado más reciente para todas las aplicaciones (valor predeterminado)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No permita que la computadora apague los adaptadores de red para ahorrar energía" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permita que la computadora apague los adaptadores de red para ahorrar energía (valor predeterminado)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive el componente Protocolo de Internet versión 6 (TCP / IPv6) para todas las conexiones de red. Antes de invocar la función, se comprobará si su ISP admite el protocolo IPv6 utilizando https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el componente Protocolo de Internet versión 6 (TCP / IPv6) para todas las conexiones de red (valor predeterminado). Antes de invocar la función, se comprobará si su ISP admite el protocolo IPv6 utilizando https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Anular el método de entrada predeterminado: inglés" + }, + "One": { + "Tag": "Default", + "ToolTip": "Anular el método de entrada predeterminado: usar la lista de idiomas (valor predeterminado)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Mueva la ubicación de las carpetas de usuario a la raíz de cualquier unidad usando el menú interactivo. Los archivos o carpetas del usuario no se moverán a una nueva ubicación. Muévalos manualmente. Están ubicados en la carpeta %USERPROFILE% de forma predeterminada" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Seleccionar carpetas para la ubicación de las carpetas del usuario manualmente usando un cuadro de diálogo del navegador de carpetas Los archivos o carpetas del usuario no se moverán a una nueva ubicación. Muévalos manualmente. Están ubicados en la carpeta %USERPROFILE% de forma predeterminada" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Cambiar la ubicación de las carpetas del usuario a los valores predeterminados Los archivos o carpetas del usuario no se moverán a una nueva ubicación. Muévalos manualmente. Están ubicados en la carpeta %USERPROFILE% de forma predeterminada (valor predeterminado)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Guarde las capturas de pantalla presionando Win+PrtScr en el escritorio" + }, + "One": { + "Tag": "Default", + "ToolTip": "Guarde las capturas de pantalla presionando Win+PrtScr en la carpeta Imágenes (valor predeterminado)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Ejecute el solucionador de problemas automáticamente y luego notifique. Para que esta función funcione, el nivel de sistema operativo de recopilación de datos de diagnóstico se establecerá en \"Datos de diagnóstico opcionales\" y la función de informe de errores se activará" + }, + "One": { + "Tag": "Default", + "ToolTip": "Pregúntame antes de ejecutar solucionadores de problemas. Para que esta función funcione, el nivel de sistema operativo de recopilación de datos de diagnóstico se establecerá en \"Datos de diagnóstico opcionales\" y la función de informe de errores se activará (valor predeterminado)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Lanzar ventanas de carpetas en un proceso separado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No inicie ventanas de carpetas en un proceso separado (valor predeterminado)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilite y elimine el almacenamiento reservado después de la siguiente instalación de actualización" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar almacenamiento reservado (valor predeterminado)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la búsqueda de ayuda a través de F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite la búsqueda de ayuda a través de F1 (valor predeterminado)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar Bloq Num al inicio" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar Bloq Num al inicio (valor predeterminado)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar el bloqueo de mayúsculas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir la tecla Caps Lock (valor predeterminado)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Apague presionando la tecla Shift 5 veces para activar las teclas adhesivas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Encienda presionando la tecla Shift 5 veces para activar las teclas adhesivas (valor predeterminado)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No use la reproducción automática para todos los medios y dispositivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Usar reproducción automática para todos los medios y dispositivos (valor predeterminado)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la eliminación de la caché de miniaturas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar la eliminación de la caché de miniaturas (valor predeterminado)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar guardar automáticamente mis aplicaciones reiniciables al cerrar sesión y reiniciarlas después de iniciar sesión" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar guardar automáticamente mis aplicaciones reiniciables al cerrar sesión y reiniciarlas después de iniciar sesión (valor predeterminado)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite \"Detección de redes\" y \"Uso compartido de archivos e impresoras\" para redes de grupos de trabajo" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive \"Detección de redes\" y \"Uso compartido de archivos e impresoras\" para redes de grupos de trabajo (valor predeterminado)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Ajustar automáticamente las horas activas para mí según el uso diario" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Ajustar manualmente las horas activas para mí según el uso diario (valor predeterminado)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Reinicie este dispositivo lo antes posible cuando sea necesario reiniciar para instalar una actualización" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No reinicie este dispositivo lo antes posible cuando sea necesario reiniciar para instalar una actualización (valor predeterminado)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "UninstallPCHealthCheck", + "Arg": { + "Zero": { + "Tag": "Block", + "ToolTip": "Desinstala la aplicación \"PC Health Check\" y evita que se instale en el futuro. La actualización KB5005463 instala la aplicación \"PC Health Check\" para comprobar si el PC cumple con los requisitos del sistema de Windows 11" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale la última versión compatible de Microsoft Visual C++ Redistributable 2015-2022 x64" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale el último .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar el proxy sólo sitios bloqueados desde el registro unificado de Roskomnadzor. La función es aplicable solo para Rusia." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar el proxy sólo de los sitios bloqueados del registro unificado de Roskomnadzor (valor predeterminado)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite el Subsistema de Windows para Linux (WSL), instale la última versión del kernel de WSL Linux y una distribución de Linux mediante un formulario emergente. El ajuste \"Recibir actualizaciones para otros productos de Microsoft\" se activará automáticamente para recibir las actualizaciones del kernel" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar aplicaciones agregadas recientemente en el menú Inicio" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar aplicaciones agregadas recientemente en el menú Inicio (valor predeterminado)" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar sugerencias de aplicaciones en el menú Inicio" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar sugerencias de aplicaciones en el menú Inicio (valor predeterminado)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Ejecute el acceso directo de Windows PowerShell desde el menú Inicio como administrador" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Ejecute el acceso directo de Windows PowerShell desde el menú Inicio como usuario (valor predeterminado)" + } + } + }, + { + "Id": 703, + "Region": "Start menu", + "Function": "PinToStart -Tiles", + "ToolTip": "Pin para iniciar los siguientes accesos directos: Panel de control, Dispositivos e impresoras, PowerShell", + "Arg": { + "Zero": { + "Tag": "ControlPanel", + "ToolTip": "Anclar el acceso directo del Panel de control a Inicio" + }, + "One": { + "Tag": "DevicesPrinters", + "ToolTip": "Fija el acceso directo \"Dispositivos e impresoras\" a Inicio" + }, + "Two": { + "Tag": "PowerShell", + "ToolTip": "Anclar el acceso directo de Windows PowerShell a Inicio" + } + } + }, + { + "Id": 704, + "Region": "Start menu", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desanclar todos los mosaicos de inicio" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstalar aplicaciones para UWP mediante el cuadro de diálogo emergente" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstale las aplicaciones para UWP mediante el cuadro de diálogo emergente. Si se marca \"Para todos los usuarios\", los paquetes de aplicaciones no se instalarán para los nuevos usuarios. El argumento \"ForAllUsers\" establece una casilla de verificación para desinstalar paquetes para todos los usuarios" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Restaure las aplicaciones para UWP predeterminadas mediante el cuadro de diálogo emergente. Las aplicaciones para UWP se pueden restaurar solo si se desinstalaron solo para el usuario actual" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Abra la página de Microsoft Store \"Extensiones de video HEVC del fabricante del dispositivo\" para instalar esta extensión manualmente y poder abrir los formatos de imagen .heic y .heif. La extensión se puede instalar sin una cuenta de Microsoft" + }, + "One": { + "Tag": "Install", + "ToolTip": "Descargue e instale \"Extensiones de video HEVC del fabricante del dispositivo\" para poder abrir los formatos .heic y .heif" + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el inicio automático de Cortana" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar el inicio automático de Cortana (valor predeterminado)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No dejes que todas las aplicaciones para UWP se ejecuten en segundo plano" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Deje que todas las aplicaciones para UWP se ejecuten en segundo plano (valor predeterminado)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Buscar actualizaciones de aplicaciones para UWP" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar la barra de juegos de Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar la barra de juegos de Xbox (valor predeterminado)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar los consejos de la barra de juegos de Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar las sugerencias de la barra de juegos de Xbox (valor predeterminado)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Elija una aplicación y configure el rendimiento de gráficos de \"Alto rendimiento\" para ella. Solo con una GPU dedicada" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Active la programación de GPU acelerada por hardware. Reinicio necesario. Solo con una GPU dedicada y la versión WDDM es 2.7 o superior" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive la programación de GPU acelerada por hardware. Reinicio necesario (valor predeterminado)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Cree la tarea programada \"Limpieza de Windows\" para limpiar los archivos y actualizaciones no utilizados de Windows. Una notificación de brindis interactiva nativa aparece cada 30 días. La tarea se ejecuta cada 30 días." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Elimine las tareas programadas \"Limpieza de Windows\" y \"Notificación de limpieza de Windows\" para limpiar los archivos y actualizaciones no utilizados de Windows" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Cree la tarea programada \"SoftwareDistribution\" para limpiar la carpeta %SystemRoot%\\SoftwareDistribution\\Download. La tarea esperará hasta que el servicio de actualizaciones de Windows termine de ejecutarse. La tarea se ejecuta cada 90 días." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Elimine la tarea programada \"SoftwareDistribution\" para limpiar la carpeta %SystemRoot%\\SoftwareDistribution\\Download" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Cree la tarea programada \"Temp\" para limpiar la carpeta %TEMP%. La tarea se ejecuta cada 60 días." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Elimine la tarea programada \"Temp\" para limpiar la carpeta %TEMP%" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la protección de red de Microsoft Defender Exploit Guard" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la protección de red Microsoft Defender Exploit Guard (valor predeterminado)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite la detección de aplicaciones potencialmente no deseadas y bloquéelas" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive la detección de aplicaciones potencialmente no deseadas y bloquéelas (valor predeterminado)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la zona de pruebas para Microsoft Defender" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la zona de pruebas para Microsoft Defender (valor predeterminado)" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Descartar la oferta de Microsoft Defender en la seguridad de Windows sobre el inicio de sesión en la cuenta de Microsoft" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Descartar la oferta de Microsoft Defender en la seguridad de Windows sobre cómo activar el filtro SmartScreen para Microsoft Edge" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la auditoría de eventos generada cuando se crea un proceso (se inicia)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la auditoría de eventos generada cuando se crea un proceso (se inicia) (valor predeterminado)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Incluya la línea de comando en los eventos de creación de procesos. Para que esta característica funcione, la auditoría de eventos (ProcessAudit -Enable) estará habilitada" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No incluir línea de comando en eventos de creación de procesos (valor predeterminado)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Cree una vista personalizada del Visor de eventos de \"Creación de procesos\". Para que esta característica funcione, la auditoría de eventos (AuditProcess -Enable) y la línea de comando en los eventos de creación de procesos estarán habilitadas" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Eliminar la vista personalizada del Visor de eventos \"Creación de procesos\" (valor predeterminado)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar el registro para todos los módulos de Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el registro para todos los módulos de Windows PowerShell (valor predeterminado)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite el registro para todas las entradas de scripts de PowerShell en el registro de eventos de Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilite el registro para todas las entradas de scripts de PowerShell en el registro de eventos de Windows PowerShell (valor predeterminado)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen no marca los archivos descargados de Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen marca los archivos descargados de Internet como inseguros (valor predeterminado)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive el Administrador de archivos adjuntos que marcan los archivos que se han descargado de Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el Administrador de archivos adjuntos para marcar los archivos que se han descargado de Internet como inseguros (valor predeterminado)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilite Windows Script Host. Impide que WSH ejecute archivos .js y .vbs" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar Windows Script Host (valor predeterminado)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la zona de pruebas de Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar Windows Sandbox (valor predeterminado)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Extraer todo\" en el menú contextual de Windows Installer (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Extraer todo\" del menú contextual de Windows Installer (.msi) (valor predeterminado)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Instalar\" en el menú contextual de extensiones de nombre de archivo del gabinete (.cab)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Instalar\" del menú contextual de extensiones de nombre de archivo del gabinete (.cab) (valor predeterminado)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Ejecutar como usuario diferente\" en el menú contextual de extensiones de nombre de archivo .exe" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Ejecutar como usuario diferente\" del menú contextual de extensiones de nombre de archivo .exe (valor predeterminado)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Transmitir al dispositivo\" del menú contextual de carpetas y archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Transmitir al dispositivo\" en el menú contextual de carpetas y archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Compartir\" del menú contextual" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Compartir\" en el menú contextual (valor predeterminado)" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Editar con Paint 3D\" del menú contextual de archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Editar con Paint 3D\" en el menú contextual de archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Editar con fotos\" del menú contextual de archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Editar con fotos\" en el menú contextual de archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Crear un nuevo video\" en el menú contextual de archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Crear un nuevo video\" en el menú contextual de archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Editar\" del menú contextual de las imágenes" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Editar\" en el menú contextual de imágenes (valor predeterminado)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Imprimir\" del menú contextual .bat y .cmd" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Imprimir\" en el menú contextual .bat y .cmd (valor predeterminado)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Incluir en la biblioteca\" del menú contextual de carpetas y unidades" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Incluir en biblioteca\" en el menú contextual de carpetas y unidades (valor predeterminado)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Enviar a\" del menú contextual de carpetas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Enviar a\" en el menú contextual de las carpetas (valor predeterminado)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Imagen de mapa de bits\" del menú contextual \"Nuevo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Imagen de mapa de bits\" en el menú contextual \"Nuevo\" (valor predeterminado)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Documento de texto enriquecido\" del menú contextual \"Nuevo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Documento de texto enriquecido\" en el menú contextual \"Nuevo\" (valor predeterminado)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Carpeta comprimida (en zip)\" del menú contextual \"Nuevo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Carpeta comprimida (en zip)\" en el menú contextual \"Nuevo\" (valor predeterminado)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite los elementos del menú contextual \"Abrir\", \"Imprimir\" y \"Editar\" para más de 15 elementos seleccionados" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive los elementos del menú contextual \"Abrir\", \"Imprimir\" y \"Editar\" para más de 15 elementos seleccionados (valor predeterminado)" + } + } + }, + { + "Id": 1216, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Buscar una aplicación en Microsoft Store\" en el cuadro de diálogo \"Abrir con\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Buscar una aplicación en Microsoft Store\" en el cuadro de diálogo \"Abrir con\" (valor predeterminado)" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Actualice el Editor de políticas de grupo local (gpedit.msc) para que todas las claves de política creadas manualmente en el registro sean visibles en el complemento" + } + } + } +] \ No newline at end of file diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tooltip_Windows_11.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tooltip_Windows_11.json new file mode 100644 index 00000000..80c29b9c --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/tooltip_Windows_11.json @@ -0,0 +1,2063 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "Las comprobaciones necesarias. Si desea deshabilitar un mensaje de advertencia sobre si el archivo preestablecido fue personalizado, elimine el argumento \"-Warning\"" + }, + "One": { + "Tag": "", + "ToolTip": "Se requieren comprobaciones. Ningún argumento, por lo tanto, ningún mensaje de advertencia sobre si ha personalizado el archivo preestablecido" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite el registro de secuencias de comandos. El registro se grabará en la carpeta de secuencias de comandos. Para detener el registro, simplemente cierre la consola o escriba \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Crea un punto de restauración" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilite el servicio \"Telemetría y experiencias de usuario conectado\" (DiagTrack) y bloquee la conexión para el tráfico saliente del cliente de telemetría unificada. Deshabilitar el servicio \"Experiencias de usuario conectado y telemetría\" (DiagTrack) puede hacer que ya no puedas obtener los logros de Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el servicio DiagTrack, la regla de firewall para el tráfico saliente del cliente de telemetría unificada y permita la conexión (valor predeterminado)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Establecer el nivel de sistema operativo de recopilación de datos de diagnóstico al mínimo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Establecer la recopilación de datos de diagnóstico por defecto (valor predeterminado)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive el informe de errores de Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Active el Informe de errores de Windows (valor predeterminado)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Cambia la frecuencia de los comentarios a \"Nunca\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Cambiar la frecuencia de retroalimentación a \"Automáticamente\" (valor predeterminado)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive las tareas programadas de seguimiento de diagnósticos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Active las tareas programadas de seguimiento de diagnóstico (valor predeterminado)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No use la información de inicio de sesión para finalizar automáticamente la configuración del dispositivo y volver a abrir las aplicaciones después de una actualización o reinicio" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use la información de inicio de sesión para finalizar automáticamente la configuración del dispositivo y volver a abrir las aplicaciones después de una actualización o reinicio (valor predeterminado)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No permita que los sitios web proporcionen contenido relevante a nivel local accediendo a la lista de idiomas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permita que los sitios web proporcionen contenido relevante a nivel local accediendo a la lista de idiomas (valor predeterminado)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No permita que las aplicaciones usen ID de publicidad" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que las aplicaciones usen ID de publicidad (valor predeterminado)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar las experiencias de bienvenida de Windows después de las actualizaciones y ocasionalmente cuando inicio sesión para resaltar las novedades y sugerencias" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar las experiencias de bienvenida de Windows después de las actualizaciones y ocasionalmente cuando inicio sesión para resaltar las novedades y las sugerencias (valor predeterminado)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Obtenga consejos, trucos y sugerencias mientras usa Windows (valor predeterminado)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No reciba propinas, trucos ni sugerencias mientras usa Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultarme el contenido sugerido en la aplicación Configuración" + }, + "One": { + "Tag": "Show", + "ToolTip": "Muéstrame contenido sugerido en la aplicación Configuración (valor predeterminado)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar la instalación automática de aplicaciones sugeridas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Activar la instalación automática de aplicaciones sugeridas (valor predeterminado)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No sugiera formas en las que pueda terminar de configurar mi dispositivo para aprovechar Windows al máximo" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Sugerir formas en las que puedo terminar de configurar mi dispositivo para aprovechar Windows al máximo (valor predeterminado)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No ofrezca experiencias personalizadas basadas en la configuración de datos de diagnóstico" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ofrezca experiencias personalizadas basadas en la configuración de datos de diagnóstico (valor predeterminado)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive la búsqueda de Bing en el menú Inicio (solo para EE. UU.)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite la búsqueda de Bing en el menú Inicio (valor predeterminado)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el icono \"Esta PC\" en el escritorio" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el icono \"Esta PC\" en el escritorio (valor predeterminado)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No utilice casillas de verificación de elementos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Utilice casillas de verificación para seleccionar elementos (valor predeterminado)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar archivos, carpetas y unidades ocultos" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No mostrar archivos, carpetas ni unidades ocultos (valor predeterminado)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar extensiones de nombre de archivo" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar extensiones de nombre de archivo (valor predeterminado)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar conflictos de fusión de carpetas" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar conflictos de fusión de carpetas (valor predeterminado)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Abra el Explorador de archivos en \"Esta PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Abra el Explorador de archivos para acceder rápidamente (valor predeterminado)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerCompactMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el modo compacto del Explorador de archivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el modo compacto del Explorador de archivos (valor predeterminado)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "No mostrar la notificación del proveedor de sincronización en el Explorador de archivos" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar notificación del proveedor de sincronización en el Explorador de archivos (valor predeterminado)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "SnapAssistFlyout", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar diseños de instantáneas cuando coloco el cursor sobre un botón de maximizar de Windows (valor predeterminado)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Ocultar diseños de instantáneas cuando coloco el cursor sobre un botón de maximizar de Windows" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Cuando abro una ventana, no muestro lo que puedo ajustar junto a ella" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Cuando abro una ventana, muestro lo que puedo ajustar junto a ella (valor predeterminado)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Mostrar el cuadro de diálogo de transferencia de archivos en el modo detallado" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Mostrar el cuadro de diálogo de transferencia de archivos en el modo compacto (valor predeterminado)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar la confirmación de eliminación de archivos de la papelera de reciclaje" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No mostrar la confirmación de eliminación de archivos de la papelera de reciclaje (valor predeterminado)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar carpetas de uso frecuente en Acceso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar archivos usados recientemente en Acceso rápido (valor predeterminado)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar carpetas de uso frecuente en Acceso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar carpetas de uso frecuente en Acceso rápido (valor predeterminado)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "TaskbarAlignment", + "Arg": { + "Zero": { + "Tag": "Left", + "ToolTip": "Establecer la alineación de la barra de tareas a la izquierda" + }, + "One": { + "Tag": "Center", + "ToolTip": "Establecer la alineación de la barra de tareas en el centro (valor predeterminado)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el botón de búsqueda de la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el icono de búsqueda en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el botón Vista de tareas en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el botón Vista de tareas en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskbarWidgets", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el icono de widgets en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el icono de widgets en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "TaskbarChat", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el icono de chat (Microsoft Teams) en la barra de tareas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el icono de chat (Microsoft Teams) en la barra de tareas (valor predeterminado)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Desanclar los accesos directos de \"Microsoft Edge\" o \"Microsoft Store\"de la barra de tareas", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Desanclar el acceso directo de \"Microsoft Edge\" de la barra de tareas" + }, + "One": { + "Tag": "Store", + "ToolTip": "Desanclar el acceso directo de \"Microsoft Store\" de la barra de tareas" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Ver los iconos del Panel de control por iconos grandes" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Ver los iconos del Panel de control por iconos pequeños" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Ver los iconos del Panel de control por categoría (valor predeterminado)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Configure el modo predeterminado de Windows en oscuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Establecer el modo de Windows predeterminado en luz (valor predeterminado)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Establecer el modo de aplicación predeterminado en oscuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Establecer el modo de aplicación predeterminado en luz (valor predeterminado)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Ocultar la animación del primer inicio de sesión del usuario después de la actualización" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Mostrar la animación de inicio de sesión del usuario después de la actualización (valor predeterminado)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Establezca el factor de calidad de los fondos de escritorio JPEG al máximo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Establezca el factor de calidad de los fondos de escritorio JPEG como predeterminado (valor predeterminado)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Inicie el Administrador de tareas en el modo expandido" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Inicie el Administrador de tareas en el modo compacto (valor predeterminado)" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Muestre una notificación cuando su PC requiera un reinicio para finalizar la actualización" + }, + "One": { + "Tag": "Hide", + "ToolTip": "No muestre una notificación cuando su PC requiera un reinicio para finalizar la actualización (valor predeterminado)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No agregue el sufijo \"- Acceso directo\" al nombre de archivo de los accesos directos creados" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Agregue el sufijo \"- Acceso directo\" al nombre de archivo de los accesos directos creados (valor predeterminado)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Utilice el botón Imprimir pantalla para abrir recortes de pantalla" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No utilice el botón Imprimir pantalla para abrir recortes de pantalla (valor predeterminado)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No utilice un método de entrada diferente para cada ventana de la aplicación (valor predeterminado)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permítanme usar un método de entrada diferente para cada ventana de la aplicación" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Cuando agarro la barra de título de una ventana y la agito, minimizo todas las demás ventanas" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Cuando agarro la barra de título de una ventana y la agito, no minimizo todas las demás ventanas (valor predeterminado)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Establecer los cursores por defecto" + }, + "One": { + "Tag": "Light", + "ToolTip": "Descarga e instala gratis los cursores ligeros \"Windows 11 Cursors Concept v2\" de Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Descargue e instale gratis los cursores oscuros \"Windows 11 Cursors Concept v2\" de Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale OneDrive. La carpeta de usuario de OneDrive no se eliminará" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instalar OneDrive" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Activar Storage Sense" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar Storage Sense (valor predeterminado)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Ejecute Storage Sense todos los meses" + }, + "One": { + "Tag": "Default", + "ToolTip": "Ejecute Storage Sense durante poco espacio libre en disco (valor predeterminado)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Eliminar archivos temporales que las aplicaciones no están usando (valor predeterminado)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No elimine archivos temporales que las aplicaciones no estén usando" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactiva la hibernación. No recomiendo apagarlo en computadoras portátiles" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar hibernación (valor predeterminado)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Cambie la ruta de la variable de entorno% TEMP% a %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Cambie la ruta de la variable de entorno% TEMP% a %LOCALAPPDATA%\\Temp (valor predeterminado)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el límite de ruta de Windows 260 caracteres" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el límite de ruta de caracteres de Windows 260 (valor predeterminado)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar la información de error de parada en el BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No mostrar la información de error de detención en el BSoD (valor predeterminado)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Elija cuándo recibir notificaciones sobre cambios en su computadora: nunca notifique" + }, + "One": { + "Tag": "Default", + "ToolTip": "Elija cuándo ser notificado sobre cambios en su computadora: notificarme solo cuando las aplicaciones intenten realizar cambios en mi computadora (valor predeterminado)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Active el acceso a las unidades asignadas desde la aplicación que se ejecuta con permisos elevados con el modo de aprobación de administrador habilitado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive el acceso a las unidades asignadas desde la aplicación que se ejecuta con permisos elevados con el modo de aprobación de administrador habilitado (valor predeterminado)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar la optimización de la entrega" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Turn on Delivery Optimization (default value)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Espere siempre la red al inicio de la computadora e inicie sesión para redes de grupo de trabajo" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Nunca espere a que se conecte la red al inicio de la computadora e inicie sesión para redes de grupos de trabajo (valor predeterminado)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No dejo que Windows administre mi impresora predeterminada" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Dejar que Windows administre mi impresora predeterminada (valor predeterminado)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive las funciones de Windows mediante el cuadro de diálogo emergente" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite las funciones de Windows usando el cuadro de diálogo emergente (valor predeterminado)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale las funciones opcionales mediante el cuadro de diálogo emergente" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instale funciones opcionales mediante el cuadro de diálogo emergente (valor predeterminado)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Reciba actualizaciones para otros productos de Microsoft cuando actualice Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No reciba actualizaciones para otros productos de Microsoft cuando actualice Windows (valor predeterminado)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Establezca el plan de energía en \"Alto rendimiento\". No se recomienda activar el plan de energía de \"Alto rendimiento\" en las computadoras portátiles" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Establezca el plan de energía en \"Equilibrado\" (valor predeterminado)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Utilice el último tiempo de ejecución .NET instalado para todas las aplicaciones" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No utilice el tiempo de ejecución .NET instalado más reciente para todas las aplicaciones (valor predeterminado)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No permita que la computadora apague los adaptadores de red para ahorrar energía" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permita que la computadora apague los adaptadores de red para ahorrar energía (valor predeterminado)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive el componente Protocolo de Internet versión 6 (TCP / IPv6) para todas las conexiones de red. Antes de invocar la función, se comprobará si su ISP admite el protocolo IPv6 utilizando https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el componente Protocolo de Internet versión 6 (TCP / IPv6) para todas las conexiones de red (valor predeterminado). Antes de invocar la función, se comprobará si su ISP admite el protocolo IPv6 utilizando https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Anular el método de entrada predeterminado: inglés" + }, + "One": { + "Tag": "Default", + "ToolTip": "Anular el método de entrada predeterminado: usar la lista de idiomas (valor predeterminado)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Mueva la ubicación de las carpetas de usuario a la raíz de cualquier unidad usando el menú interactivo. Los archivos o carpetas del usuario no se moverán a una nueva ubicación. Muévalos manualmente. Están ubicados en la carpeta %USERPROFILE% de forma predeterminada" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Seleccionar carpetas para la ubicación de las carpetas del usuario manualmente usando un cuadro de diálogo del navegador de carpetas Los archivos o carpetas del usuario no se moverán a una nueva ubicación. Muévalos manualmente. Están ubicados en la carpeta %USERPROFILE% de forma predeterminada" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Cambiar la ubicación de las carpetas del usuario a los valores predeterminados Los archivos o carpetas del usuario no se moverán a una nueva ubicación. Muévalos manualmente. Están ubicados en la carpeta %USERPROFILE% de forma predeterminada (valor predeterminado)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Guarde las capturas de pantalla presionando Win+PrtScr en el escritorio" + }, + "One": { + "Tag": "Default", + "ToolTip": "Guarde las capturas de pantalla presionando Win+PrtScr en la carpeta Imágenes (valor predeterminado)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Ejecute el solucionador de problemas automáticamente y luego notifique. Para que esta función funcione, el nivel de sistema operativo de recopilación de datos de diagnóstico se establecerá en \"Datos de diagnóstico opcionales\" y la función de informe de errores se activará" + }, + "One": { + "Tag": "Default", + "ToolTip": "Pregúntame antes de ejecutar solucionadores de problemas. Para que esta función funcione, el nivel de sistema operativo de recopilación de datos de diagnóstico se establecerá en \"Datos de diagnóstico opcionales\" y la función de informe de errores se activará (valor predeterminado)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Lanzar ventanas de carpetas en un proceso separado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No inicie ventanas de carpetas en un proceso separado (valor predeterminado)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilite y elimine el almacenamiento reservado después de la siguiente instalación de actualización" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar almacenamiento reservado (valor predeterminado)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la búsqueda de ayuda a través de F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite la búsqueda de ayuda a través de F1 (valor predeterminado)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar Bloq Num al inicio" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar Bloq Num al inicio (valor predeterminado)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar el bloqueo de mayúsculas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir la tecla Caps Lock (valor predeterminado)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Apague presionando la tecla Shift 5 veces para activar las teclas adhesivas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Encienda presionando la tecla Shift 5 veces para activar las teclas adhesivas (valor predeterminado)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "No use la reproducción automática para todos los medios y dispositivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Usar reproducción automática para todos los medios y dispositivos (valor predeterminado)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la eliminación de la caché de miniaturas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar la eliminación de la caché de miniaturas (valor predeterminado)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar guardar automáticamente mis aplicaciones reiniciables al cerrar sesión y reiniciarlas después de iniciar sesión" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar guardar automáticamente mis aplicaciones reiniciables al cerrar sesión y reiniciarlas después de iniciar sesión (valor predeterminado)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite \"Detección de redes\" y \"Uso compartido de archivos e impresoras\" para redes de grupos de trabajo" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive \"Detección de redes\" y \"Uso compartido de archivos e impresoras\" para redes de grupos de trabajo (valor predeterminado)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Ajustar automáticamente las horas activas para mí según el uso diario" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Ajustar manualmente las horas activas para mí según el uso diario (valor predeterminado)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Reinicie este dispositivo lo antes posible cuando sea necesario reiniciar para instalar una actualización" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No reinicie este dispositivo lo antes posible cuando sea necesario reiniciar para instalar una actualización (valor predeterminado)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "DefaultTerminalApp", + "Arg": { + "Zero": { + "Tag": "WindowsTerminal", + "ToolTip": "Configure Windows Terminal Preview como aplicación de terminal predeterminada para alojar la interfaz de usuario para aplicaciones de línea de comandos" + }, + "One": { + "Tag": "ConsoleHost", + "ToolTip": "Configure Windows Console Host como aplicación de terminal predeterminada para alojar la interfaz de usuario para aplicaciones de línea de comandos (valor predeterminado)" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale la última versión compatible de Microsoft Visual C++ Redistributable 2015-2022 x64" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale el último .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar el proxy sólo sitios bloqueados desde el registro unificado de Roskomnadzor. La función es aplicable solo para Rusia." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar el proxy sólo de los sitios bloqueados del registro unificado de Roskomnadzor (valor predeterminado)" + } + } + }, + { + "Id": 539, + "Region": "System", + "Function": "WSA", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilita todas las dependencias necesarias (puede ser necesario reiniciar) y abre la página de la WSA de Microsoft Store para instalar manualmente Windows Subsystem for Android™ con Amazon Appstore" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar todas las dependencias necesarias (puede ser necesario reiniciar) y desinstalar Windows Subsystem for Android™ con Amazon Appstore (valor predeterminado)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite el Subsistema de Windows para Linux (WSL), instale la última versión del kernel de WSL Linux y una distribución de Linux mediante un formulario emergente. El ajuste \"Recibir actualizaciones para otros productos de Microsoft\" se activará automáticamente para recibir las actualizaciones del kernel" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "UnpinAllStartApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desenclavar todas las aplicaciones de Inicio" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Ejecute el acceso directo de Windows PowerShell desde el menú Inicio como administrador" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Ejecute el acceso directo de Windows PowerShell desde el menú Inicio como usuario (valor predeterminado)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "StartLayout", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Mostrar el diseño de inicio por defecto (sólo para la versión 22621+) (valor predeterminado)" + }, + "One": { + "Tag": "ShowMorePins", + "ToolTip": "Mostrar más pines en Inicio (sólo para la versión 22621+)" + }, + "Two": { + "Tag": "ShowMoreRecommendations", + "ToolTip": "Mostrar más recomendaciones en Inicio (sólo para la versión 22621+)" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstalar aplicaciones para UWP mediante el cuadro de diálogo emergente" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstale las aplicaciones para UWP mediante el cuadro de diálogo emergente. Si se marca \"Para todos los usuarios\", los paquetes de aplicaciones no se instalarán para los nuevos usuarios. El argumento \"ForAllUsers\" establece una casilla de verificación para desinstalar paquetes para todos los usuarios" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Restaure las aplicaciones para UWP predeterminadas mediante el cuadro de diálogo emergente. Las aplicaciones para UWP se pueden restaurar solo si se desinstalaron solo para el usuario actual" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Abra la página de Microsoft Store \"Extensiones de video HEVC del fabricante del dispositivo\" para instalar esta extensión manualmente y poder abrir los formatos de imagen .heic y .heif. La extensión se puede instalar sin una cuenta de Microsoft" + }, + "One": { + "Tag": "Install", + "ToolTip": "Descargue e instale \"Extensiones de video HEVC del fabricante del dispositivo\" para poder abrir los formatos .heic y .heif. L'estensione video HEVC è già installata in Windows 11 22H2 per impostazione predefinita." + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el inicio automático de Cortana" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar el inicio automático de Cortana (valor predeterminado)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "TeamsAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el inicio automático de Microsoft Teams" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar el inicio automático de Microsoft Teams (valor predeterminado)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Buscar actualizaciones de aplicaciones para UWP" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar la barra de juegos de Xbox. Para evitar que aparezca el aviso \"Necesitarás una nueva aplicación para abrir este ms-gamingoverlay\", debes desactivar la aplicación Xbox Game Bar, aunque la hayas desinstalado antes." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar la barra de juegos de Xbox (valor predeterminado)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar los consejos de la barra de juegos de Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar las sugerencias de la barra de juegos de Xbox (valor predeterminado)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Elija una aplicación y configure el rendimiento de gráficos de \"Alto rendimiento\" para ella. Solo con una GPU dedicada" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Active la programación de GPU acelerada por hardware. Reinicio necesario. Solo con una GPU dedicada y la versión WDDM es 2.7 o superior" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive la programación de GPU acelerada por hardware. Reinicio necesario (valor predeterminado)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Cree la tarea programada \"Limpieza de Windows\" para limpiar los archivos y actualizaciones no utilizados de Windows. Una notificación de brindis interactiva nativa aparece cada 30 días. La tarea se ejecuta cada 30 días." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Elimine las tareas programadas \"Limpieza de Windows\" y \"Notificación de limpieza de Windows\" para limpiar los archivos y actualizaciones no utilizados de Windows" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Cree la tarea programada \"SoftwareDistribution\" para limpiar la carpeta %SystemRoot%\\SoftwareDistribution\\Download. La tarea esperará hasta que el servicio de actualizaciones de Windows termine de ejecutarse. La tarea se ejecuta cada 90 días." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Elimine la tarea programada \"SoftwareDistribution\" para limpiar la carpeta %SystemRoot%\\SoftwareDistribution\\Download" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Cree la tarea programada \"Temp\" para limpiar la carpeta %TEMP%. La tarea se ejecuta cada 60 días." + }, + "One": { + "Tag": "Delete", + "ToolTip": "Elimine la tarea programada \"Temp\" para limpiar la carpeta %TEMP%" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la protección de red de Microsoft Defender Exploit Guard" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la protección de red Microsoft Defender Exploit Guard (valor predeterminado)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite la detección de aplicaciones potencialmente no deseadas y bloquéelas" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive la detección de aplicaciones potencialmente no deseadas y bloquéelas (valor predeterminado)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Descartar la oferta de Microsoft Defender en la seguridad de Windows sobre el inicio de sesión en la cuenta de Microsoft" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Descartar la oferta de Microsoft Defender en la seguridad de Windows sobre cómo activar el filtro SmartScreen para Microsoft Edge" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la auditoría de eventos generada cuando se crea un proceso (se inicia)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar la auditoría de eventos generada cuando se crea un proceso (se inicia) (valor predeterminado)" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Incluya la línea de comando en los eventos de creación de procesos. Para que esta característica funcione, la auditoría de eventos (ProcessAudit -Enable) estará habilitada" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No incluir línea de comando en eventos de creación de procesos (valor predeterminado)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Cree una vista personalizada del Visor de eventos de \"Creación de procesos\". Para que esta característica funcione, la auditoría de eventos (AuditProcess -Enable) y la línea de comando en los eventos de creación de procesos estarán habilitadas" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Eliminar la vista personalizada del Visor de eventos \"Creación de procesos\" (valor predeterminado)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar el registro para todos los módulos de Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar el registro para todos los módulos de Windows PowerShell (valor predeterminado)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite el registro para todas las entradas de scripts de PowerShell en el registro de eventos de Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilite el registro para todas las entradas de scripts de PowerShell en el registro de eventos de Windows PowerShell (valor predeterminado)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen no marca los archivos descargados de Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen marca los archivos descargados de Internet como inseguros (valor predeterminado)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactive el Administrador de archivos adjuntos que marcan los archivos que se han descargado de Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite el Administrador de archivos adjuntos para marcar los archivos que se han descargado de Internet como inseguros (valor predeterminado)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Deshabilite Windows Script Host. Impide que WSH ejecute archivos .js y .vbs" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar Windows Script Host (valor predeterminado)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar la zona de pruebas de Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar Windows Sandbox (valor predeterminado)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "DNSoverHTTPS", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite DNS sobre HTTPS para IPv4. Las direcciones IPv4 válidas: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Deshabilitar DNS sobre HTTPS para IPv4 (valor predeterminado)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Extraer todo\" en el menú contextual de Windows Installer (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Extraer todo\" del menú contextual de Windows Installer (.msi) (valor predeterminado)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Instalar\" en el menú contextual de extensiones de nombre de archivo del gabinete (.cab)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Instalar\" del menú contextual de extensiones de nombre de archivo del gabinete (.cab) (valor predeterminado)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Ejecutar como usuario diferente\" en el menú contextual de extensiones de nombre de archivo .exe" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Ejecutar como usuario diferente\" del menú contextual de extensiones de nombre de archivo .exe (valor predeterminado)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Transmitir al dispositivo\" del menú contextual de carpetas y archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Transmitir al dispositivo\" en el menú contextual de carpetas y archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Compartir\" del menú contextual" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Compartir\" en el menú contextual (valor predeterminado)" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Editar con fotos\" del menú contextual de archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Editar con fotos\" en el menú contextual de archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Crear un nuevo video\" en el menú contextual de archivos multimedia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Crear un nuevo video\" en el menú contextual de archivos multimedia (valor predeterminado)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Imprimir\" del menú contextual .bat y .cmd" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Imprimir\" en el menú contextual .bat y .cmd (valor predeterminado)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Incluir en la biblioteca\" del menú contextual de carpetas y unidades" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Incluir en biblioteca\" en el menú contextual de carpetas y unidades (valor predeterminado)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Enviar a\" del menú contextual de carpetas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Enviar a\" en el menú contextual de las carpetas (valor predeterminado)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Carpeta comprimida (en zip)\" del menú contextual \"Nuevo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Carpeta comprimida (en zip)\" en el menú contextual \"Nuevo\" (valor predeterminado)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite los elementos del menú contextual \"Abrir\", \"Imprimir\" y \"Editar\" para más de 15 elementos seleccionados" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactive los elementos del menú contextual \"Abrir\", \"Imprimir\" y \"Editar\" para más de 15 elementos seleccionados (valor predeterminado)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar el elemento \"Buscar una aplicación en Microsoft Store\" en el cuadro de diálogo \"Abrir con\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar el elemento \"Buscar una aplicación en Microsoft Store\" en el cuadro de diálogo \"Abrir con\" (valor predeterminado)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "OpenWindowsTerminalContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar la opción de menú \"Abrir en Windows Terminal\" en el menú contextual de carpetas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar la opción de menú \"Abrir en Windows Terminal\" en el menú contextual de carpetas (valor predeterminado)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "OpenWindowsTerminalAdminContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Abra la Terminal de Windows desde el menú contextual como administrador por defecto" + }, + "One": { + "Tag": "Disable", + "ToolTip": "No abra el Terminal de Windows desde el menú contextual como administrador por defecto (valor predeterminado)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "Windows10ContextMenu", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desactivar el estilo del menú contextual de Windows 10 (valor por defecto)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar el estilo de menú contextual de Windows 10" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Actualice el Editor de políticas de grupo local (gpedit.msc) para que todas las claves de política creadas manualmente en el registro sean visibles en el complemento" + } + } + } +] \ No newline at end of file diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/ui.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/ui.json new file mode 100644 index 00000000..55e642da --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/es-ES/ui.json @@ -0,0 +1,71 @@ +[ + { + "Id": "Menu", + "Options": { + "menuImportExportPreset": "Importar | Exportar", + "menuImportPreset": "Importar preajuste", + "menuExportPreset": "Exportar preajuste", + "menuPresets": "Preajustes", + "menuOpposite": "Opuesto", + "menuClear": "Claro", + "menuTheme": "Tema", + "menuThemeDark": "Oscuro", + "menuThemeLight": "Ligero", + "menuLanguage": "Idioma", + "menuAbout": "Sobre" + } + }, + { + "Id": "Tab", + "Options": { + "tabSystemProtection": "Proteccion del sistema", + "tabPrivacyTelemetry": "Intimidad & Telemetría", + "tabUIPersonalization": "UI & Personalización", + "tabOneDrive": "OneDrive", + "tabSystem": "Sistema", + "tabWSL": "WSL", + "tabStartMenu": "Menu de inicio", + "tabUWP": "UWP Apps", + "tabGaming": "Juego de azar", + "tabScheduledTasks": "Tareas programadas", + "tabDefenderSecurity": "Defensor & Seguridad", + "tabContextMenu": "Menú de contexto", + "tabUpdatePolicies": "Actualizar las políticas", + "tabConsoleOutput": "Salida de consola" + } + }, + { + "Id": "Button", + "Options": { + "btnRefreshConsole": "Actualizar consola", + "btnRunPowerShell": "Correr PowerShell" + } + }, + { + "Id": "StatusBar", + "Options": { + "statusBarHover": "Pase el cursor del mouse sobre los elementos de selección para obtener información sobre cada opción", + "statusBarPresetLoaded": "preestablecido cargado!", + "statusBarPresetNotComp": "el archivo predeterminado no es compatible!", + "statusBarSophiaPreset": "Sophia preestablecido cargado!", + "statusBarWindowsDefaultPreset": "Windows Preset predeterminado cargado!", + "statusBarPowerShellScriptCreatedFromSelections": "PowerShell ¡Secuencia de comandos creada a partir de sus selecciones! Puede ejecutarlo o guardarlo.", + "statusBarPowerShellExport": "PowerShell script creado!", + "statusBarOpposite": "Opuesto seleccionado!", + "statusBarClear": "Selecciones todas borradas!", + "statusBarDisabled": "Primero debe 'Importar preajuste' para habilitar el uso de Wrapper. Importar para habilitar controles.", + "statusBarCurrentOS": "OS Actual" + } + }, + { + "Id": "MessageBox", + "Options": { + "messageBoxNewWrapperFound": "Se encontró una nueva versión de 'Wrapper'.\nAbrir una página de la última versión de GitHub?", + "messageBoxNewSophiaFound": "Se encontró una nueva versión de Sophia Script.\nAbre la página de la última versión de GitHub?", + "messageBoxDoesNotExist": "no existe", + "messageBoxPresetNotComp": "¡El archivo predeterminado no es compatible!", + "messageBoxFilesMissingClose": "Faltan archivos, por lo que Sophia Script Wrapper se cerrará", + "messageBoxConsoleEmpty": "La consola está vacía.\nHaga clic en el botón 'Actualizar consola' para crear un script con sus selecciones" + } + } +] \ No newline at end of file diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tag.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tag.json new file mode 100644 index 00000000..2841d1e1 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tag.json @@ -0,0 +1,46 @@ +{ + "Warning": "Aviso", + "Checks": "Verificações", + "Disable": "Desabilitar", + "Enable": "Permitir", + "None": "Nenhum", + "Minimal": "Mínimo", + "Default": "Predefinição", + "Never": "Nunca", + "Hide": "Esconder", + "Show": "Mostrar", + "ThisPC": "Este PC", + "QuickAccess": "Acesso rápido", + "Detailed": "Detalhado", + "Compact": "Compactar", + "Expanded": "Expandido", + "Minimized": "Minimizado", + "SearchIcon": "Ícone de pesquisa", + "SearchBox": "Caixa de pesquisa", + "LargeIcons": "Ícones grandes", + "SmallIcons": "Ícones pequenos", + "Category": "Categoria", + "Dark": "Escuro", + "Light": "Luz", + "Max": "Máx.", + "Uninstall": "Desinstalar", + "Install": "Instalar", + "Month": "Mês", + "SystemDrive": "Unidade do sistema", + "High": "Alto", + "Balanced": "Equilibrado", + "English": "inglês", + "Root": "Raiz", + "Custom": "Personalizado", + "Desktop": "Área de Trabalho", + "Automatically": "Automaticamente", + "Manually": "Manualmente", + "Elevated": "Elevado", + "NonElevated": "Não Elevado", + "Register": "Registro", + "Delete": "Excluir", + "Left": "Esquerdo", + "Center": "Centro", + "WindowsTerminal": "Terminal Windows", + "ConsoleHost": "Host do console" +} diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tooltip_Windows_10.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tooltip_Windows_10.json new file mode 100644 index 00000000..7967c4c9 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tooltip_Windows_10.json @@ -0,0 +1,2184 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "As verificações necessárias. Se você deseja desativar uma mensagem de aviso sobre se o arquivo predefinido foi personalizado, remova o argumento \"- Warning\"" + }, + "One": { + "Tag": "", + "ToolTip": "É necessário fazer verificações. Nenhum argumento, portanto, nenhuma mensagem de aviso sobre se você personalizou o arquivo predefinido" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite o registro de script. O log será gravado na pasta do script. Para interromper o registro, feche o console ou digite \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Crie um ponto de restauração" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o serviço \"Experiências e telemetria do usuário conectado\" (DiagTrack) e bloqueie a conexão para o tráfego de saída do cliente de telemetria unificada. Desativar o serviço \"Experiências de usuário conectadas e telemetria\" (DiagTrack) pode fazer com que você não consiga mais obter conquistas do Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o serviço DiagTrack, regra de firewall para tráfego de saída do cliente de telemetria unificada e permita a conexão (valor padrão)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Defina o nível do sistema operacional de coleta de dados de diagnóstico para o mínimo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Defina a coleta de dados de diagnóstico para o padrão (valor padrão)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o Relatório de Erros do Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o Relatório de Erros do Windows (valor padrão)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Altere a frequência de feedback para \"Nunca\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Altere a frequência de feedback para \"Automaticamente\" (valor padrão)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desligue o diagnóstico de rastreamento de tarefas agendadas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o diagnóstico de rastreamento de tarefas agendadas (valor padrão)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use as informações de login para concluir automaticamente a configuração do dispositivo e reabrir os aplicativos após uma atualização ou reinicialização" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use as informações de login para concluir automaticamente a configuração do dispositivo e reabrir os aplicativos após uma atualização ou reinicialização (valor padrão)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não deixe os sites fornecerem conteúdo localmente relevante acessando a lista de idiomas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que os sites forneçam conteúdo localmente relevante acessando a lista de idiomas (valor padrão)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não permitir que aplicativos usem ID de publicidade" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que aplicativos usem ID de publicidade (valor padrão)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte as experiências de boas-vindas do Windows após as atualizações e ocasionalmente quando eu entrar para destacar o que há de novo e sugerido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre as experiências de boas-vindas do Windows após as atualizações e ocasionalmente quando eu entrar para destacar o que há de novo e sugerido (valor padrão)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Obtenha dicas, truques e sugestões ao usar o Windows (valor padrão)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não receba dicas, truques e sugestões ao usar o Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar de mim conteúdo sugerido no aplicativo Configurações" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre-me o conteúdo sugerido no aplicativo Configurações (valor padrão)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a instalação automática de aplicativos sugeridos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative a instalação automática de aplicativos sugeridos (valor padrão)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não sugira maneiras de terminar de configurar meu dispositivo para aproveitar ao máximo o Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Sugerir maneiras de terminar de configurar meu dispositivo para aproveitar ao máximo o Windows (valor padrão)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não ofereça experiências personalizadas com base na configuração de dados de diagnóstico" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ofereça experiências personalizadas com base na configuração de dados de diagnóstico (valor padrão)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a pesquisa do Bing no menu Iniciar (apenas para os EUA)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite a pesquisa do Bing no menu Iniciar (valor padrão)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostre o ícone \"Este PC\" na Área de Trabalho" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar o ícone \"Este PC\" na Área de Trabalho (valor padrão)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use as caixas de seleção do item" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use as caixas de seleção para selecionar os itens (valor padrão)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar arquivos, pastas e drives ocultos" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não mostrar arquivos, pastas e unidades ocultas (valor padrão)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar extensões de nome de arquivo" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar extensões de nome de arquivo (valor padrão)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar conflitos de mesclagem de pastas" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar conflitos de mesclagem de pastas (valor padrão)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Abra o Explorador de Arquivos em \"Este PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Abra o File Explorer para acesso rápido (valor padrão)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o modo compacto do Explorador de Arquivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o modo compacto do File Explorer (valor padrão)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar botão Cortana na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar botão Cortana na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Não mostrar notificação do provedor de sincronização no File Explorer" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar notificação do provedor de sincronização no File Explorer (valor padrão)" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Quando eu abro uma janela, não mostra o que posso encaixar ao lado dela" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Quando eu tiro uma janela, mostra o que posso ajustar ao lado dela (valor padrão)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Mostra a caixa de diálogo de transferência de arquivos no modo detalhado" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Mostra a caixa de diálogo de transferência de arquivos no modo compacto (valor padrão)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Expanda a faixa do File Explorer" + }, + "One": { + "Tag": "Minimized", + "ToolTip": "Minimize a faixa do File Explorer (valor padrão)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Exibe a confirmação de exclusão dos arquivos da lixeira" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não exibir a confirmação de exclusão de arquivos da lixeira (valor padrão)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte a pasta \"Objetos 3D\" em \"Este PC\" e \"Acesso rápido\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar a pasta \"Objetos 3D\" em \"Este PC\" e \"Acesso rápido\" (valor padrão)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte as pastas usadas com frequência no acesso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar arquivos usados recentemente em Acesso rápido (valor padrão)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte as pastas usadas com frequência no acesso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar pastas usadas com frequência em Acesso rápido (valor padrão)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Esconder a pesquisa na barra de tarefas" + }, + "One": { + "Tag": "SearchIcon", + "ToolTip": "Mostra o ícone de pesquisa na barra de tarefas" + }, + "Two": { + "Tag": "SearchBox", + "ToolTip": "Mostra a caixa de pesquisa na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o botão Visualização de Tarefas na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o botão Visualização da Tarefa na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar destaques da pesquisa" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar destaques da pesquisa (valor padrão)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Botão Ocultar Pessoas na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar botão Pessoas na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar segundos no relógio da barra de tarefas" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar segundos no relógio da barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o botão do Windows Ink Workspace na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o botão do Windows Ink Workspace na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "TrayIcons", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Sempre mostrar todos os ícones na área de notificação" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar todos os ícones na área de notificação (valor padrão)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o ícone Meet Now na área de notificação" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o ícone Meet Now na área de notificação (valor padrão)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative \"Notícias e interesses\" na barra de tarefas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative \"Notícias e interesses\" na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Solte os atalhos \"Microsoft Edge\", \"Microsoft Store\" ou \"Mail\" da barra de tarefas", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Solte o atalho \"Microsoft Edge\" da barra de tarefas" + }, + "One": { + "Tag": "Store", + "ToolTip": "Solte o atalho \"Microsoft Store\" da barra de tarefas" + }, + "Two": { + "Tag": "Mail", + "ToolTip": "Solte o atalho \"Mail\" da barra de tarefas" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Veja os ícones do Painel de Controle por ícones grandes" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Veja os ícones do Painel de Controle por pequenos ícones" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Visualize os ícones do Painel de Controle por categoria (valor padrão)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Defina o modo padrão do Windows como escuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Defina o modo padrão do Windows para claro (valor padrão)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "AppMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Defina o modo de aplicativo padrão para escuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Defina o modo de aplicativo padrão para claro (valor padrão)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar o indicador \"Novo aplicativo instalado\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostra o indicador \"Novo aplicativo instalado\" (valor padrão)" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Ocultar animação de primeiro login do usuário após a atualização" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Mostrar animação de primeiro login do usuário após a atualização (valor padrão)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Defina o fator de qualidade dos papéis de parede JPEG da área de trabalho para o máximo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Defina o fator de qualidade dos papéis de parede JPEG da área de trabalho para o padrão (valor padrão)" + } + } + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Inicie o Gerenciador de Tarefas no modo expandido" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Inicie o Gerenciador de Tarefas no modo compacto (valor padrão)" + } + } + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostra uma notificação quando o seu PC requer uma reinicialização para concluir a atualização" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Não mostrar uma notificação quando o seu PC exigir uma reinicialização para concluir a atualização (valor padrão)" + } + } + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não adicione o sufixo \"- Atalho\" ao nome do arquivo de atalhos criados" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Adicione o sufixo \"- Atalho\" ao nome do arquivo de atalhos criados (valor padrão)" + } + } + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use o botão Imprimir tela para abrir o recorte de tela" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não use o botão Imprimir tela para abrir o recorte de tela (valor padrão)" + } + } + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use um método de entrada diferente para cada janela do aplicativo (valor padrão)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Deixe-me usar um método de entrada diferente para cada janela do aplicativo" + } + } + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Quando pego a barra de título de uma janela e a sacudo, não minimize todas as outras janelas (valor padrão)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Quando pego a barra de título de uma janela e a agito, minimizo todas as outras janelas" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale o OneDrive. A pasta de usuário do OneDrive não será removida" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instale o OneDrive 64-bit" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ligue o Storage Sense" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desligue o Storage Sense (valor padrão)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Execute o Storage Sense todos os meses" + }, + "One": { + "Tag": "Default", + "ToolTip": "Execute o Storage Sense durante pouco espaço livre em disco (valor padrão)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Exclua arquivos temporários que os aplicativos não estão usando (valor padrão)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não exclua arquivos temporários que os aplicativos não estão usando" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a hibernação. Não recomendo desligá-lo em laptops" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar hibernação (valor padrão)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Altere o caminho da variável de ambiente% TEMP% para %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Altere o caminho da variável de ambiente% TEMP% para %LOCALAPPDATA%\\Temp (valor padrão)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o limite de caminho de 260 caracteres do Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o limite de caminho de 260 caracteres do Windows (valor padrão)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Exibir as informações de erro de parada no BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não exibe as informações de erro de parada no BSoD (valor padrão)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Escolha quando ser notificado sobre alterações em seu computador: nunca notificar" + }, + "One": { + "Tag": "Default", + "ToolTip": "Escolha quando ser notificado sobre alterações em seu computador: notifique-me apenas quando aplicativos tentarem fazer alterações em meu computador (valor padrão)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ative o acesso às unidades mapeadas do aplicativo em execução com permissões elevadas com o Modo de aprovação de administrador habilitado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o acesso às unidades mapeadas do aplicativo em execução com permissões elevadas com o Modo de aprovação de administrador habilitado (valor padrão)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a otimização de entrega" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative a Otimização de entrega (valor padrão)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Sempre espere pela rede na inicialização do computador e faça logon em redes de grupo de trabalho" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Nunca espere pela rede na inicialização do computador e logon para redes de grupo de trabalho (valor padrão)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não deixe o Windows gerenciar minha impressora padrão" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que o Windows gerencie minha impressora padrão (valor padrão)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative os recursos do Windows usando a caixa de diálogo pop-up" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite os recursos do Windows usando a caixa de diálogo pop-up (valor padrão)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale recursos opcionais usando a caixa de diálogo pop-up" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instale recursos opcionais usando a caixa de diálogo pop-up (valor padrão)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Receba atualizações para outros produtos da Microsoft ao atualizar o Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não receber atualizações para outros produtos da Microsoft ao atualizar o Windows (valor padrão)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Defina o plano de energia como \"Alto desempenho\". Não é recomendado ativar o plano de energia de \"Alto desempenho\" em laptops" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Defina o plano de energia como \"Equilibrado\" (valor padrão)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use o tempo de execução .NET mais recente instalado para todos os aplicativos" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não use o tempo de execução .NET mais recente instalado para todos os aplicativos (valor padrão)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não permita que o computador desligue os adaptadores de rede para economizar energia" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que o computador desligue os adaptadores de rede para economizar energia (valor padrão)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o componente Internet Protocol Versão 6 (TCP / IPv6) para todas as conexões de rede. Antes de invocar a função, uma verificação será executada se o seu ISP suporta o protocolo IPv6 usando https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o componente Protocolo da Internet Versão 6 (TCP / IPv6) para todas as conexões de rede (valor padrão). Antes de invocar a função, uma verificação será executada se o seu ISP suporta o protocolo IPv6 usando https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Substituir pelo método de entrada padrão: Inglês" + }, + "One": { + "Tag": "Default", + "ToolTip": "Substituir pelo método de entrada padrão: usar lista de idiomas (valor padrão)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Mova a localização das pastas do usuário para a raiz de qualquer unidade usando o menu interativo. Os arquivos ou pastas do usuário não serão movidos para um novo local. Mova-os manualmente. Eles estão localizados na pasta %USERPROFILE% por padrão" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Selecione as pastas para o local das pastas do usuário manualmente usando uma caixa de diálogo do navegador de pastas Os arquivos ou pastas do usuário não serão movidos para um novo local. Mova-os manualmente. Eles estão localizados na pasta %USERPROFILE% por padrão" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Altere a localização das pastas do usuário para os valores padrão Os arquivos ou pastas do usuário não serão movidos para um novo local. Mova-os manualmente. Eles estão localizados na pasta %USERPROFILE% por padrão (valor padrão)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Salve as capturas de tela pressionando Win + PrtScr na área de trabalho" + }, + "One": { + "Tag": "Default", + "ToolTip": "Salve as capturas de tela pressionando Win + PrtScr na pasta Imagens (valor padrão)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Execute o solucionador de problemas automaticamente e notifique. Para que este recurso funcione, o nível do sistema operacional de coleta de dados de diagnóstico será definido como \"Dados de diagnóstico opcionais\" e o recurso de relatório de erros será ativado" + }, + "One": { + "Tag": "Default", + "ToolTip": "Pergunte-me antes de executar os solucionadores de problemas. Para que este recurso funcione, o nível do sistema operacional de coleta de dados de diagnóstico será definido como \"Dados de diagnóstico opcionais\" e o recurso de relatório de erros será ativado (valor padrão)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Lançar janelas de pasta em um processo separado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não inicie janelas de pasta em um processo separado (valor padrão)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative e exclua o armazenamento reservado após a próxima instalação de atualização" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar armazenamento reservado (valor padrão)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar busca de ajuda via F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite a busca de ajuda via F1 (valor padrão)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar Num Lock na inicialização" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar Num Lock na inicialização (valor padrão)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar Caps Lock" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o Caps lock (valor padrão)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desligue pressionando a tecla Shift 5 vezes para girar as teclas de aderência" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative pressionando a tecla Shift 5 vezes para girar as teclas de aderência (valor padrão)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use a reprodução automática para todas as mídias e dispositivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use a reprodução automática para todas as mídias e dispositivos (valor padrão)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar remoção de cache de miniaturas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar remoção de cache de miniaturas (valor padrão)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ative o salvamento automático de meus aplicativos reinicializáveis ao sair e reinicie-os após o login" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o salvamento automático de meus aplicativos reinicializáveis ao sair e reinicie-os após o login (valor padrão)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite \"Descoberta de rede\" e \"Compartilhamento de arquivos e impressoras\" para redes de grupo de trabalho" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative \"Descoberta de rede\" e \"Compartilhamento de arquivos e impressoras\" para redes de grupo de trabalho (valor padrão)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Ajuste automaticamente o horário ativo para mim com base no uso diário" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Ajuste manualmente as horas ativas para mim com base no uso diário (valor padrão)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Reinicie este dispositivo o mais rápido possível quando for necessário reiniciar para instalar uma atualização" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não reinicie este dispositivo o mais rápido possível quando for necessário reiniciar para instalar uma atualização (valor padrão)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "UninstallPCHealthCheck", + "Arg": { + "Zero": { + "Tag": "Block", + "ToolTip": "Desinstale o aplicativo \"PC Health Check\" e impeça a sua instalação no futuro. A atualização do KB5005463 instala o aplicativo \"PC Health Check\" para verificar se o PC atende aos requisitos de sistema do Windows 11" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale o Microsoft Visual C ++ Redistributable 2015—2022 x64 mais recente compatível" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale o .NET Desktop Runtime 6 mais recente (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Activar a proxying apenas bloqueia sites do registo unificado de Roskomnadzor. A função é aplicável apenas para a Rússia." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar a proxy apenas bloqueou sites do registo unificado de Roskomnadzor (valor padrão)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite o subsistema Windows para Linux (WSL), instale a versão mais recente do kernel WSL Linux e uma distribuição Linux usando um formulário pop-up. A configuração \"Receber atualizações para outros produtos Microsoft\" permitirá receber automaticamente as atualizações do kernel" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar aplicativos adicionados recentemente no menu Iniciar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar aplicativos adicionados recentemente no menu Iniciar (valor padrão)" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar sugestões de aplicativos no menu Iniciar" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar sugestões de aplicativos no menu Iniciar (valor padrão)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Execute o atalho do Windows PowerShell no menu Iniciar como Administrador" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Execute o atalho do Windows PowerShell no menu Iniciar como usuário (valor padrão)" + } + } + }, + { + "Id": 703, + "Region": "Start menu", + "Function": "PinToStart -Tiles", + "ToolTip": "Fixar para iniciar os seguintes atalhos: Painel de Controle, Dispositivos e Impressoras, PowerShell", + "Arg": { + "Zero": { + "Tag": "ControlPanel", + "ToolTip": "Fixe o atalho do Painel de Controle em Iniciar" + }, + "One": { + "Tag": "DevicesPrinters", + "ToolTip": "Fixe o atalho \"Dispositivos e impressoras\" para iniciar" + }, + "Two": { + "Tag": "PowerShell", + "ToolTip": "Fixe o atalho do Windows PowerShell em Iniciar" + } + } + }, + { + "Id": 704, + "Region": "Start menu", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Solte todos os blocos iniciais" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstalar aplicativos UWP usando a caixa de diálogo pop-up" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstale aplicativos UWP usando a caixa de diálogo pop-up. Se a opção \"Para todos os usuários\" estiver marcada, os pacotes de aplicativos não serão instalados para novos usuários. O argumento \"ForAllUsers\" marca uma caixa de seleção para desinstalar pacotes para todos os usuários" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Restaure os aplicativos UWP padrão usando a caixa de diálogo pop-up. Os aplicativos UWP podem ser restaurados apenas se foram desinstalados apenas para o usuário atual" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Abra a página \"Extensões de vídeo HEVC do fabricante do dispositivo\" da Microsoft Store para instalar essa extensão manualmente para poder abrir os formatos de imagem .heic e .heif. A extensão pode ser instalada sem uma conta da Microsoft" + }, + "One": { + "Tag": "Install", + "ToolTip": "Baixe e instale \"Extensões de vídeo HEVC do fabricante do dispositivo\" para poder abrir os formatos .heic e .heif" + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar inicialização automática do Cortana" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar inicialização automática da Cortana (valor padrão)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não deixe todos os aplicativos UWP serem executados em segundo plano" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que todos os aplicativos UWP sejam executados em segundo plano (valor padrão)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Verifique se há atualizações de aplicativos UWP" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar Xbox Game Bar" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar Barra de Jogo Xbox (valor padrão)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar dicas da barra de jogos do Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar dicas da barra de jogos do Xbox (valor padrão)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Escolha um aplicativo e defina o desempenho gráfico de \"Alto desempenho\" para ele. Apenas com uma GPU dedicada" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ative o agendamento de GPU acelerado por hardware. É necessário reiniciar. Apenas com uma GPU dedicada e a versão WDDM é 2.7 ou superior" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o agendamento de GPU acelerado por hardware. Reinicialização necessária (valor padrão)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Crie a tarefa agendada \"Limpeza do Windows\" para limpar arquivos e atualizações não utilizados do Windows. Uma notificação do sistema interativa nativa aparece a cada 30 dias. A tarefa é executada a cada 30 dias" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Exclua as tarefas agendadas \"Windows Cleanup\" e \"Windows Cleanup Notification\" para limpar arquivos e atualizações não utilizados do Windows" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Crie a tarefa agendada \"SoftwareDistribution\" para limpar a pasta %SystemRoot%\\SoftwareDistribution\\Download. A tarefa aguardará até que o serviço de atualizações do Windows termine de ser executado. A tarefa é executada a cada 90 dias" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Exclua a tarefa agendada \"SoftwareDistribution\" para limpar a pasta %SystemRoot%\\SoftwareDistribution\\Download" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Crie a tarefa agendada \"Temp\" para limpar a pasta %TEMP%. A tarefa é executada a cada 60 dias" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Exclua a tarefa agendada \"Temp\" para limpar a pasta %TEMP%" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ativar proteção de rede Microsoft Defender Exploit Guard" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar proteção de rede do Microsoft Defender Exploit Guard (valor padrão)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite a detecção de aplicativos potencialmente indesejados e bloqueie-os" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative a detecção de aplicativos potencialmente indesejados e bloqueie-os (valor padrão)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar sandbox para Microsoft Defender" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar sandbox para Microsoft Defender (valor padrão)" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dispensar oferta do Microsoft Defender na Segurança do Windows sobre como entrar na conta da Microsoft" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dispensar a oferta do Microsoft Defender na Segurança do Windows sobre a ativação do filtro SmartScreen para o Microsoft Edge" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar auditoria de eventos gerados quando um processo é criado (inicia)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desabilita a auditoria de eventos gerados quando um processo é criado (inicia) (valor padrão)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Inclui linha de comando em eventos de criação de processo. Para que este recurso funcione, a auditoria de eventos (ProcessAudit -Enable) será habilitada" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não inclua a linha de comando em eventos de criação de processo (valor padrão)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Crie a exibição personalizada do Visualizador de Eventos \"Criação de Processo\". Para que este recurso funcione, auditoria de eventos (AuditProcess -Enable) e linha de comando em eventos de criação de processos serão habilitados" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Remover exibição personalizada do Visualizador de Eventos \"Criação de Processo\" (valor padrão)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite o registro em log para todos os módulos do Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o registro em log para todos os módulos do Windows PowerShell (valor padrão)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite o registro de entrada de todos os scripts do PowerShell no log de eventos do Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desabilite o log de entrada de todos os scripts do PowerShell no log de eventos do Windows PowerShell (valor padrão)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "O Microsoft Defender SmartScreen não marca os arquivos baixados da Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "O Microsoft Defender SmartScreen marca os arquivos baixados da Internet como inseguros (valor padrão)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o Gerenciador de anexos marcando arquivos que foram baixados da Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o Gerenciador de anexos marcando arquivos que foram baixados da Internet como não seguros (valor padrão)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o Windows Script Host. Impede que o WSH execute arquivos .js e .vbs" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar Windows Script Host (valor padrão)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar Windows Sandbox" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar Windows Sandbox (valor padrão)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Extrair tudo\" no menu de contexto do Windows Installer (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Extrair tudo\" do menu de contexto do Windows Installer (.msi) (valor padrão)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostra o item \"Instalar\" no menu de contexto das extensões de nomes de arquivos do Gabinete (.cab)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Instalar\" do menu de contexto das extensões de nomes de arquivos do Gabinete (.cab) (valor padrão)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Executar como usuário diferente\" no menu de contexto das extensões de nome de arquivo .exe" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Executar como usuário diferente\" do menu de contexto das extensões de nome de arquivo .exe (valor padrão)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Transmitir para dispositivo\" do menu de contexto de arquivos e pastas de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Transmitir para dispositivo\" no menu de contexto de arquivos e pastas de mídia (valor padrão)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Compartilhar\" do menu de contexto" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostra o item \"Compartilhar\" no menu de contexto (valor padrão)" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Editar com Paint 3D\" do menu de contexto dos arquivos de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Editar com Paint 3D\" no menu de contexto dos arquivos de mídia (valor padrão)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Editar com Fotos\" do menu de contexto dos arquivos de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Editar com fotos\" no menu de contexto dos arquivos de mídia (valor padrão)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Criar um novo vídeo\" no menu de contexto dos arquivos de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Criar um novo vídeo\" no menu de contexto dos arquivos de mídia (valor padrão)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Editar\" do menu de contexto das imagens" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Editar\" no menu de contexto de imagens (valor padrão)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Imprimir\" do menu de contexto .bat e .cmd" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Imprimir\" no menu de contexto .bat e .cmd (valor padrão)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Incluir na Biblioteca\" do menu de contexto de pastas e unidades" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Incluir na Biblioteca\" nas pastas e no menu de contexto das unidades (valor padrão)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Enviar para\" do menu de contexto das pastas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Enviar para\" no menu de contexto das pastas (valor padrão)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Imagem bitmap\" do menu de contexto \"Novo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Imagem bitmap\" no menu de contexto \"Novo\" (valor padrão)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Documento Rich Text\" do menu de contexto \"Novo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Documento Rich Text\" no menu de contexto \"Novo\" (valor padrão)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Pasta compactada (zipada)\" do menu de contexto \"Novo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Pasta compactada (zipada)\" no menu de contexto \"Novo\" (valor padrão)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite os itens de menu de contexto \"Abrir\", \"Imprimir\" e \"Editar\" para mais de 15 itens selecionados" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative os itens do menu de contexto \"Abrir\", \"Imprimir\" e \"Editar\" para mais de 15 itens selecionados (valor padrão)" + } + } + }, + { + "Id": 1216, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Procurar um aplicativo na Microsoft Store\" na caixa de diálogo \"Abrir com\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Procurar um aplicativo na Microsoft Store\" na caixa de diálogo \"Abrir com\" (valor padrão)" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Atualize o Editor de Diretiva de Grupo Local (gpedit.msc) para tornar todas as chaves de diretiva criadas manualmente no registro visíveis no snap-in" + } + } + } +] \ No newline at end of file diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tooltip_Windows_11.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tooltip_Windows_11.json new file mode 100644 index 00000000..45910947 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/tooltip_Windows_11.json @@ -0,0 +1,2063 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "As verificações necessárias. Se você deseja desativar uma mensagem de aviso sobre se o arquivo predefinido foi personalizado, remova o argumento \"- Warning\"" + }, + "One": { + "Tag": "", + "ToolTip": "É necessário fazer verificações. Nenhum argumento, portanto, nenhuma mensagem de aviso sobre se você personalizou o arquivo predefinido" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite o registro de script. O log será gravado na pasta do script. Para interromper o registro, feche o console ou digite \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Crie um ponto de restauração" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o serviço \"Experiências e telemetria do usuário conectado\" (DiagTrack) e bloqueie a conexão para o tráfego de saída do cliente de telemetria unificada. Desativar o serviço \"Experiências de usuário conectadas e telemetria\" (DiagTrack) pode fazer com que você não consiga mais obter conquistas do Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o serviço DiagTrack, regra de firewall para tráfego de saída do cliente de telemetria unificada e permita a conexão (valor padrão)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Defina o nível do sistema operacional de coleta de dados de diagnóstico para o mínimo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Defina a coleta de dados de diagnóstico para o padrão (valor padrão)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o Relatório de Erros do Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o Relatório de Erros do Windows (valor padrão)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Altere a frequência de feedback para \"Nunca\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Altere a frequência de feedback para \"Automaticamente\" (valor padrão)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desligue o diagnóstico de rastreamento de tarefas agendadas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o diagnóstico de rastreamento de tarefas agendadas (valor padrão)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use as informações de login para concluir automaticamente a configuração do dispositivo e reabrir os aplicativos após uma atualização ou reinicialização" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use as informações de login para concluir automaticamente a configuração do dispositivo e reabrir os aplicativos após uma atualização ou reinicialização (valor padrão)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não deixe os sites fornecerem conteúdo localmente relevante acessando a lista de idiomas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que os sites forneçam conteúdo localmente relevante acessando a lista de idiomas (valor padrão)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não permitir que aplicativos usem ID de publicidade" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que aplicativos usem ID de publicidade (valor padrão)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte as experiências de boas-vindas do Windows após as atualizações e ocasionalmente quando eu entrar para destacar o que há de novo e sugerido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre as experiências de boas-vindas do Windows após as atualizações e ocasionalmente quando eu entrar para destacar o que há de novo e sugerido (valor padrão)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Obtenha dicas, truques e sugestões ao usar o Windows (valor padrão)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não receba dicas, truques e sugestões ao usar o Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar de mim conteúdo sugerido no aplicativo Configurações" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre-me o conteúdo sugerido no aplicativo Configurações (valor padrão)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a instalação automática de aplicativos sugeridos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative a instalação automática de aplicativos sugeridos (valor padrão)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não sugira maneiras de terminar de configurar meu dispositivo para aproveitar ao máximo o Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Sugerir maneiras de terminar de configurar meu dispositivo para aproveitar ao máximo o Windows (valor padrão)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não ofereça experiências personalizadas com base na configuração de dados de diagnóstico" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ofereça experiências personalizadas com base na configuração de dados de diagnóstico (valor padrão)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a pesquisa do Bing no menu Iniciar (apenas para os EUA)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite a pesquisa do Bing no menu Iniciar (valor padrão)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostre o ícone \"Este PC\" na Área de Trabalho" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar o ícone \"Este PC\" na Área de Trabalho (valor padrão)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use as caixas de seleção do item" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use as caixas de seleção para selecionar os itens (valor padrão)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar arquivos, pastas e drives ocultos" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não mostrar arquivos, pastas e unidades ocultas (valor padrão)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar extensões de nome de arquivo" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar extensões de nome de arquivo (valor padrão)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar conflitos de mesclagem de pastas" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Ocultar conflitos de mesclagem de pastas (valor padrão)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Abra o Explorador de Arquivos em \"Este PC\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Abra o File Explorer para acesso rápido (valor padrão)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerCompactMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o modo compacto do Explorador de Arquivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o modo compacto do File Explorer (valor padrão)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Não mostrar notificação do provedor de sincronização no File Explorer" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar notificação do provedor de sincronização no File Explorer (valor padrão)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "SnapAssistFlyout", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Mostrar layouts de snap ao passar o mouse sobre o botão de maximizar janelas (valor padrão)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Ocultar layouts de snap quando passo o mouse sobre o botão de maximizar janelas" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Quando eu abro uma janela, não mostra o que posso encaixar ao lado dela" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Quando eu tiro uma janela, mostra o que posso ajustar ao lado dela (valor padrão)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Mostra a caixa de diálogo de transferência de arquivos no modo detalhado" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Mostra a caixa de diálogo de transferência de arquivos no modo compacto (valor padrão)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Exibe a confirmação de exclusão dos arquivos da lixeira" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não exibir a confirmação de exclusão de arquivos da lixeira (valor padrão)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte as pastas usadas com frequência no acesso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar arquivos usados recentemente em Acesso rápido (valor padrão)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte as pastas usadas com frequência no acesso rápido" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar pastas usadas com frequência em Acesso rápido (valor padrão)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "TaskbarAlignment", + "Arg": { + "Zero": { + "Tag": "Left", + "ToolTip": "Defina o alinhamento da barra de tarefas à esquerda" + }, + "One": { + "Tag": "Center", + "ToolTip": "Defina o alinhamento da barra de tarefas ao centro (valor padrão)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Ocultar o botão de pesquisa da barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostra o ícone de pesquisa na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o botão Visualização de Tarefas na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o botão Visualização da Tarefa na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskbarWidgets", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o ícone de widgets na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostra o ícone de widgets na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "TaskbarChat", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o ícone de bate-papo (Microsoft Teams) na barra de tarefas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o ícone de bate-papo (Microsoft Teams) na barra de tarefas (valor padrão)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Solte os atalhos \"Microsoft Edge\" e \"Microsoft Store\" da barra de tarefas", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Solte o atalho \"Microsoft Edge\" da barra de tarefas" + }, + "One": { + "Tag": "Store", + "ToolTip": "Solte o atalho \"Microsoft Store\" da barra de tarefas" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Veja os ícones do Painel de Controle por ícones grandes" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Veja os ícones do Painel de Controle por pequenos ícones" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Visualize os ícones do Painel de Controle por categoria (valor padrão)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Defina o modo padrão do Windows como escuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Defina o modo padrão do Windows para claro (valor padrão)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "AppMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Defina o modo de aplicativo padrão para escuro" + }, + "One": { + "Tag": "Light", + "ToolTip": "Defina o modo de aplicativo padrão para claro (valor padrão)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Ocultar animação de primeiro login do usuário após a atualização" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Mostrar animação de primeiro login do usuário após a atualização (valor padrão)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Defina o fator de qualidade dos papéis de parede JPEG da área de trabalho para o máximo" + }, + "One": { + "Tag": "Default", + "ToolTip": "Defina o fator de qualidade dos papéis de parede JPEG da área de trabalho para o padrão (valor padrão)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Inicie o Gerenciador de Tarefas no modo expandido" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Inicie o Gerenciador de Tarefas no modo compacto (valor padrão)" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostra uma notificação quando o seu PC requer uma reinicialização para concluir a atualização" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Não mostrar uma notificação quando o seu PC exigir uma reinicialização para concluir a atualização (valor padrão)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não adicione o sufixo \"- Atalho\" ao nome do arquivo de atalhos criados" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Adicione o sufixo \"- Atalho\" ao nome do arquivo de atalhos criados (valor padrão)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use o botão Imprimir tela para abrir o recorte de tela" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não use o botão Imprimir tela para abrir o recorte de tela (valor padrão)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use um método de entrada diferente para cada janela do aplicativo (valor padrão)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Deixe-me usar um método de entrada diferente para cada janela do aplicativo" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Quando pego a barra de título de uma janela e a agito, minimizo todas as outras janelas" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Quando pego a barra de título de uma janela e a sacudo, não minimize todas as outras janelas (valor padrão)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Definir cursores por defeito" + }, + "One": { + "Tag": "Light", + "ToolTip": "Descarregar e instalar gratuitamente os cursores \"Windows 11 Cursors Concept v2\" da Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Descarregar e instalar os cursores \"Windows 11 Cursors Concept v2\" de Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale o OneDrive. A pasta de usuário do OneDrive não será removida" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instale o OneDrive 64-bit" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ligue o Storage Sense" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desligue o Storage Sense (valor padrão)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Execute o Storage Sense todos os meses" + }, + "One": { + "Tag": "Default", + "ToolTip": "Execute o Storage Sense durante pouco espaço livre em disco (valor padrão)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Exclua arquivos temporários que os aplicativos não estão usando (valor padrão)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não exclua arquivos temporários que os aplicativos não estão usando" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a hibernação. Não recomendo desligá-lo em laptops" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar hibernação (valor padrão)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Altere o caminho da variável de ambiente% TEMP% para %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Altere o caminho da variável de ambiente% TEMP% para %LOCALAPPDATA%\\Temp (valor padrão)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o limite de caminho de 260 caracteres do Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o limite de caminho de 260 caracteres do Windows (valor padrão)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Exibir as informações de erro de parada no BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não exibe as informações de erro de parada no BSoD (valor padrão)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Escolha quando ser notificado sobre alterações em seu computador: nunca notificar" + }, + "One": { + "Tag": "Default", + "ToolTip": "Escolha quando ser notificado sobre alterações em seu computador: notifique-me apenas quando aplicativos tentarem fazer alterações em meu computador (valor padrão)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ative o acesso às unidades mapeadas do aplicativo em execução com permissões elevadas com o Modo de aprovação de administrador habilitado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o acesso às unidades mapeadas do aplicativo em execução com permissões elevadas com o Modo de aprovação de administrador habilitado (valor padrão)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative a otimização de entrega" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative a Otimização de entrega (valor padrão)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Sempre espere pela rede na inicialização do computador e faça logon em redes de grupo de trabalho" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Nunca espere pela rede na inicialização do computador e logon para redes de grupo de trabalho (valor padrão)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não deixe o Windows gerenciar minha impressora padrão" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que o Windows gerencie minha impressora padrão (valor padrão)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative os recursos do Windows usando a caixa de diálogo pop-up" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite os recursos do Windows usando a caixa de diálogo pop-up (valor padrão)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Desinstale recursos opcionais usando a caixa de diálogo pop-up" + }, + "One": { + "Tag": "Install", + "ToolTip": "Instale recursos opcionais usando a caixa de diálogo pop-up (valor padrão)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Receba atualizações para outros produtos da Microsoft ao atualizar o Windows" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não receber atualizações para outros produtos da Microsoft ao atualizar o Windows (valor padrão)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Defina o plano de energia como \"Alto desempenho\". Não é recomendado ativar o plano de energia de \"Alto desempenho\" em laptops" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Defina o plano de energia como \"Equilibrado\" (valor padrão)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Use o tempo de execução .NET mais recente instalado para todos os aplicativos" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não use o tempo de execução .NET mais recente instalado para todos os aplicativos (valor padrão)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não permita que o computador desligue os adaptadores de rede para economizar energia" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Permitir que o computador desligue os adaptadores de rede para economizar energia (valor padrão)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o componente Internet Protocol Versão 6 (TCP / IPv6) para todas as conexões de rede. Antes de invocar a função, uma verificação será executada se o seu ISP suporta o protocolo IPv6 usando https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o componente Protocolo da Internet Versão 6 (TCP / IPv6) para todas as conexões de rede (valor padrão). Antes de invocar a função, uma verificação será executada se o seu ISP suporta o protocolo IPv6 usando https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Substituir pelo método de entrada padrão: Inglês" + }, + "One": { + "Tag": "Default", + "ToolTip": "Substituir pelo método de entrada padrão: usar lista de idiomas (valor padrão)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Mova a localização das pastas do usuário para a raiz de qualquer unidade usando o menu interativo. Os arquivos ou pastas do usuário não serão movidos para um novo local. Mova-os manualmente. Eles estão localizados na pasta %USERPROFILE% por padrão" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Selecione as pastas para o local das pastas do usuário manualmente usando uma caixa de diálogo do navegador de pastas Os arquivos ou pastas do usuário não serão movidos para um novo local. Mova-os manualmente. Eles estão localizados na pasta %USERPROFILE% por padrão" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Altere a localização das pastas do usuário para os valores padrão Os arquivos ou pastas do usuário não serão movidos para um novo local. Mova-os manualmente. Eles estão localizados na pasta %USERPROFILE% por padrão (valor padrão)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Salve as capturas de tela pressionando Win + PrtScr na área de trabalho" + }, + "One": { + "Tag": "Default", + "ToolTip": "Salve as capturas de tela pressionando Win + PrtScr na pasta Imagens (valor padrão)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Execute o solucionador de problemas automaticamente e notifique. Para que este recurso funcione, o nível do sistema operacional de coleta de dados de diagnóstico será definido como \"Dados de diagnóstico opcionais\" e o recurso de relatório de erros será ativado" + }, + "One": { + "Tag": "Default", + "ToolTip": "Pergunte-me antes de executar os solucionadores de problemas. Para que este recurso funcione, o nível do sistema operacional de coleta de dados de diagnóstico será definido como \"Dados de diagnóstico opcionais\" e o recurso de relatório de erros será ativado (valor padrão)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Lançar janelas de pasta em um processo separado" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não inicie janelas de pasta em um processo separado (valor padrão)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative e exclua o armazenamento reservado após a próxima instalação de atualização" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar armazenamento reservado (valor padrão)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar busca de ajuda via F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite a busca de ajuda via F1 (valor padrão)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar Num Lock na inicialização" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar Num Lock na inicialização (valor padrão)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar Caps Lock (valor padrão)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative o Caps lock" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desligue pressionando a tecla Shift 5 vezes para girar as teclas de aderência" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Ative pressionando a tecla Shift 5 vezes para girar as teclas de aderência (valor padrão)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Não use a reprodução automática para todas as mídias e dispositivos" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Use a reprodução automática para todas as mídias e dispositivos (valor padrão)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar remoção de cache de miniaturas" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar remoção de cache de miniaturas (valor padrão)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ative o salvamento automático de meus aplicativos reinicializáveis ao sair e reinicie-os após o login" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o salvamento automático de meus aplicativos reinicializáveis ao sair e reinicie-os após o login (valor padrão)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite \"Descoberta de rede\" e \"Compartilhamento de arquivos e impressoras\" para redes de grupo de trabalho" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative \"Descoberta de rede\" e \"Compartilhamento de arquivos e impressoras\" para redes de grupo de trabalho (valor padrão)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Ajuste automaticamente o horário ativo para mim com base no uso diário" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Ajuste manualmente as horas ativas para mim com base no uso diário (valor padrão)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Reinicie este dispositivo o mais rápido possível quando for necessário reiniciar para instalar uma atualização" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não reinicie este dispositivo o mais rápido possível quando for necessário reiniciar para instalar uma atualização (valor padrão)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "DefaultTerminalApp", + "Arg": { + "Zero": { + "Tag": "WindowsTerminal", + "ToolTip": "Defina o Terminal do Windows como aplicativo de terminal padrão para hospedar a interface do usuário para aplicativos de linha de comando" + }, + "One": { + "Tag": "ConsoleHost", + "ToolTip": "Definir o Windows Console Host como aplicativo de terminal padrão para hospedar a interface do usuário para aplicativos de linha de comando (valor padrão)" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale o Microsoft Visual C ++ Redistributable 2015—2022 x64 mais recente compatível" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Instale o .NET Desktop Runtime 6 mais recente (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Activar a proxying apenas bloqueia sites do registo unificado de Roskomnadzor. A função é aplicável apenas para a Rússia." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar a proxy apenas bloqueou sites do registo unificado de Roskomnadzor (valor padrão)" + } + } + }, + { + "Id": 539, + "Region": "System", + "Function": "WSA", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Activar todas as dependências necessárias (reiniciar pode ser necessário) e abrir a página WSA do Microsoft Store para instalar manualmente o Subsistema Windows para Android™ com a Amazon Appstore" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desactivar todas as dependências necessárias (pode ser necessário reiniciar) e desinstalar o subsistema Windows para Android™ com Amazon Appstore (valor padrão)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Habilite o subsistema Windows para Linux (WSL), instale a versão mais recente do kernel WSL Linux e uma distribuição Linux usando um formulário pop-up. A configuração \"Receber atualizações para outros produtos Microsoft\" permitirá receber automaticamente as atualizações do kernel" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "UnpinAllStartApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstalar todas as aplicações Start" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Execute o atalho do Windows PowerShell no menu Iniciar como Administrador" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Execute o atalho do Windows PowerShell no menu Iniciar como usuário (valor padrão)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "StartLayout", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Mostrar o layout inicial por defeito (apenas para 22621+ build) (valor padrão)" + }, + "One": { + "Tag": "ShowMorePins", + "ToolTip": "Mostrar mais pinos no Start (apenas para 22621+ build)" + }, + "Two": { + "Tag": "ShowMoreRecommendations", + "ToolTip": "Mostrar mais recomendações no Start (apenas para 22621+ build)" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstalar aplicativos UWP usando a caixa de diálogo pop-up" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Desinstale aplicativos UWP usando a caixa de diálogo pop-up. Se a opção \"Para todos os usuários\" estiver marcada, os pacotes de aplicativos não serão instalados para novos usuários. O argumento \"ForAllUsers\" marca uma caixa de seleção para desinstalar pacotes para todos os usuários" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Restaure os aplicativos UWP padrão usando a caixa de diálogo pop-up. Os aplicativos UWP podem ser restaurados apenas se foram desinstalados apenas para o usuário atual" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Abra a página \"Extensões de vídeo HEVC do fabricante do dispositivo\" da Microsoft Store para instalar essa extensão manualmente para poder abrir os formatos de imagem .heic e .heif. A extensão pode ser instalada sem uma conta da Microsoft" + }, + "One": { + "Tag": "Install", + "ToolTip": "Baixe e instale \"Extensões de vídeo HEVC do fabricante do dispositivo\" para poder abrir os formatos .heic e .heif. A extensão de vídeo HEVC já está instalada no Windows 11 22H2 por padrão." + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar inicialização automática do Cortana" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar inicialização automática da Cortana (valor padrão)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "TeamsAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar o início automático do Microsoft Teams" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar inicialização automática do Microsoft Teams (valor padrão)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Verifique se há atualizações de aplicativos UWP" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar Xbox Game Bar. Para evitar que aparezca el aviso \"Necesitarás una nueva aplicación para abrir este ms-gamingoverlay\", debes desactivar la aplicación Xbox Game Bar, aunque la hayas desinstalado antes." + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar Barra de Jogo Xbox (valor padrão)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desativar dicas da barra de jogos do Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar dicas da barra de jogos do Xbox (valor padrão)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Escolha um aplicativo e defina o desempenho gráfico de \"Alto desempenho\" para ele. Apenas com uma GPU dedicada" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ative o agendamento de GPU acelerado por hardware. É necessário reiniciar. Apenas com uma GPU dedicada e a versão WDDM é 2.7 ou superior" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o agendamento de GPU acelerado por hardware. Reinicialização necessária (valor padrão)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Crie a tarefa agendada \"Limpeza do Windows\" para limpar arquivos e atualizações não utilizados do Windows. Uma notificação do sistema interativa nativa aparece a cada 30 dias. A tarefa é executada a cada 30 dias" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Exclua as tarefas agendadas \"Windows Cleanup\" e \"Windows Cleanup Notification\" para limpar arquivos e atualizações não utilizados do Windows" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Crie a tarefa agendada \"SoftwareDistribution\" para limpar a pasta %SystemRoot%\\SoftwareDistribution\\Download. A tarefa aguardará até que o serviço de atualizações do Windows termine de ser executado. A tarefa é executada a cada 90 dias" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Exclua a tarefa agendada \"SoftwareDistribution\" para limpar a pasta %SystemRoot%\\SoftwareDistribution\\Download" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Crie a tarefa agendada \"Temp\" para limpar a pasta %TEMP%. A tarefa é executada a cada 60 dias" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Exclua a tarefa agendada \"Temp\" para limpar a pasta %TEMP%" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Ativar proteção de rede Microsoft Defender Exploit Guard" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar proteção de rede do Microsoft Defender Exploit Guard (valor padrão)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite a detecção de aplicativos potencialmente indesejados e bloqueie-os" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative a detecção de aplicativos potencialmente indesejados e bloqueie-os (valor padrão)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dispensar oferta do Microsoft Defender na Segurança do Windows sobre como entrar na conta da Microsoft" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Dispensar a oferta do Microsoft Defender na Segurança do Windows sobre a ativação do filtro SmartScreen para o Microsoft Edge" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar auditoria de eventos gerados quando um processo é criado (inicia)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desabilita a auditoria de eventos gerados quando um processo é criado (inicia) (valor padrão)" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Inclui linha de comando em eventos de criação de processo. Para que este recurso funcione, a auditoria de eventos (ProcessAudit -Enable) será habilitada" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não inclua a linha de comando em eventos de criação de processo (valor padrão)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Crie a exibição personalizada do Visualizador de Eventos \"Criação de Processo\". Para que este recurso funcione, auditoria de eventos (AuditProcess -Enable) e linha de comando em eventos de criação de processos serão habilitados" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Remover exibição personalizada do Visualizador de Eventos \"Criação de Processo\" (valor padrão)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite o registro em log para todos os módulos do Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative o registro em log para todos os módulos do Windows PowerShell (valor padrão)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite o registro de entrada de todos os scripts do PowerShell no log de eventos do Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desabilite o log de entrada de todos os scripts do PowerShell no log de eventos do Windows PowerShell (valor padrão)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "O Microsoft Defender SmartScreen não marca os arquivos baixados da Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "O Microsoft Defender SmartScreen marca os arquivos baixados da Internet como inseguros (valor padrão)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o Gerenciador de anexos marcando arquivos que foram baixados da Internet como inseguros" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o Gerenciador de anexos marcando arquivos que foram baixados da Internet como não seguros (valor padrão)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o Windows Script Host. Impede que o WSH execute arquivos .js e .vbs" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilitar Windows Script Host (valor padrão)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilitar Windows Sandbox" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desativar Windows Sandbox (valor padrão)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "DNSoverHTTPS", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite DNS-over-HTTPS para IPv4. Os endereços IPv4 válidos: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative DNS-over-HTTPS para IPv4 (valor padrão)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Extrair tudo\" no menu de contexto do Windows Installer (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Extrair tudo\" do menu de contexto do Windows Installer (.msi) (valor padrão)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostra o item \"Instalar\" no menu de contexto das extensões de nomes de arquivos do Gabinete (.cab)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Instalar\" do menu de contexto das extensões de nomes de arquivos do Gabinete (.cab) (valor padrão)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Executar como usuário diferente\" no menu de contexto das extensões de nome de arquivo .exe" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Executar como usuário diferente\" do menu de contexto das extensões de nome de arquivo .exe (valor padrão)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Transmitir para dispositivo\" do menu de contexto de arquivos e pastas de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Transmitir para dispositivo\" no menu de contexto de arquivos e pastas de mídia (valor padrão)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Compartilhar\" do menu de contexto" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostra o item \"Compartilhar\" no menu de contexto (valor padrão)" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Editar com Fotos\" do menu de contexto dos arquivos de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Editar com fotos\" no menu de contexto dos arquivos de mídia (valor padrão)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Criar um novo vídeo\" no menu de contexto dos arquivos de mídia" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Criar um novo vídeo\" no menu de contexto dos arquivos de mídia (valor padrão)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Imprimir\" do menu de contexto .bat e .cmd" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Imprimir\" no menu de contexto .bat e .cmd (valor padrão)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Incluir na Biblioteca\" do menu de contexto de pastas e unidades" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Incluir na Biblioteca\" nas pastas e no menu de contexto das unidades (valor padrão)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Enviar para\" do menu de contexto das pastas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar o item \"Enviar para\" no menu de contexto das pastas (valor padrão)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Pasta compactada (zipada)\" do menu de contexto \"Novo\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Pasta compactada (zipada)\" no menu de contexto \"Novo\" (valor padrão)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Habilite os itens de menu de contexto \"Abrir\", \"Imprimir\" e \"Editar\" para mais de 15 itens selecionados" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Desative os itens do menu de contexto \"Abrir\", \"Imprimir\" e \"Editar\" para mais de 15 itens selecionados (valor padrão)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte o item \"Procurar um aplicativo na Microsoft Store\" na caixa de diálogo \"Abrir com\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostre o item \"Procurar um aplicativo na Microsoft Store\" na caixa de diálogo \"Abrir com\" (valor padrão)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "OpenWindowsTerminalContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Oculte a opção de menu \"Abrir em Windows Terminal\" no menu de contexto de pastas" + }, + "One": { + "Tag": "Show", + "ToolTip": "Mostrar a opção de menu \"Abrir em Windows Terminal\" no menu de contexto das pastas (valor padrão)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "OpenWindowsTerminalAdminContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Abrir o Terminal Windows a partir do menu de contexto como administrador por defeito" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Não abrir o Terminal do Windows a partir do menu de contexto como administrador por defeito (valor padrão)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "Windows10ContextMenu", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Desative o estilo do menu de contexto do Windows 10 (valor padrão)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Habilite o estilo de menu de contexto do Windows 10" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Atualize o Editor de Diretiva de Grupo Local (gpedit.msc) para tornar todas as chaves de diretiva criadas manualmente no registro visíveis no snap-in" + } + } + } +] \ No newline at end of file diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/ui.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/ui.json new file mode 100644 index 00000000..7c307185 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/pt-BR/ui.json @@ -0,0 +1,71 @@ +[ + { + "Id": "Menu", + "Options": { + "menuImportExportPreset": "Importar | Exportar", + "menuImportPreset": "Importar Predefinição", + "menuExportPreset": "Exportar Predefinição", + "menuPresets": "Presets", + "menuOpposite": "Oposto", + "menuClear": "Claro", + "menuTheme": "Tema", + "menuThemeDark": "Escuro", + "menuThemeLight": "Luz", + "menuLanguage": "Língua", + "menuAbout": "Cerca de" + } + }, + { + "Id": "Tab", + "Options": { + "tabSystemProtection": "Proteção do sistema", + "tabPrivacyTelemetry": "Privacidade & Telemetria", + "tabUIPersonalization": "UI & Personalização", + "tabOneDrive": "OneDrive", + "tabSystem": "Sistema", + "tabWSL": "WSL", + "tabStartMenu": "Menu Iniciar", + "tabUWP": "UWP Apps", + "tabGaming": "Jogos", + "tabScheduledTasks": "Atividades agendadas", + "tabDefenderSecurity": "Defensor & Segurança", + "tabContextMenu": "Menu contextual", + "tabUpdatePolicies": "Actualizar as políticas", + "tabConsoleOutput": "Saída do console" + } + }, + { + "Id": "Button", + "Options": { + "btnRefreshConsole": "Atualizar console", + "btnRunPowerShell": "Execute PowerShell" + } + }, + { + "Id": "StatusBar", + "Options": { + "statusBarHover": "Passe o cursor do mouse sobre os itens de seleção para obter informações sobre cada opção", + "statusBarPresetLoaded": "predefinição carregada!", + "statusBarPresetNotComp": "arquivo predefinido não é compatível!", + "statusBarSophiaPreset": "Predefinição de Sophia carregada!", + "statusBarWindowsDefaultPreset": "Predefinição padrão do Windows carregada!", + "statusBarPowerShellScriptCreatedFromSelections": "Script do PowerShell criado a partir de suas seleções! Você pode executá-lo ou salvá-lo.", + "statusBarPowerShellExport": "Script PowerShell criado!", + "statusBarOpposite": "Oposto selecionado!", + "statusBarClear": "Todas as seleções foram apagadas!", + "statusBarDisabled": "Você deve 'Importar Predefinição' primeiro para habilitar o uso do Wrapper. Importe para habilitar os controles.", + "statusBarCurrentOS": "OS atual" + } + }, + { + "Id": "MessageBox", + "Options": { + "messageBoxNewWrapperFound": "Uma nova versão de 'Wrapper' encontrada.\nAbra uma página de lançamento mais recente do GitHub?", + "messageBoxNewSophiaFound": "Uma nova versão do Sophia Script encontrada.\nAbra a página de lançamento mais recente do GitHub?", + "messageBoxDoesNotExist": "não existe", + "messageBoxPresetNotComp": "arquivo predefinido não é compatível!", + "messageBoxFilesMissingClose": "Arquivos faltando para que o Sophia Script Wrapper feche", + "messageBoxConsoleEmpty": "O console está vazio.\nClique no botão 'Atualizar console' para criar um script com suas seleções" + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tag.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tag.json new file mode 100644 index 00000000..9a954749 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tag.json @@ -0,0 +1,46 @@ +{ + "Warning": "Предупреждение", + "Checks": "Проверки", + "Disable": "Выключить", + "Enable": "Включить", + "None": "Пропустить", + "Minimal": "Минимальный", + "Default": "По умолчанию", + "Never": "Никогда", + "Hide": "Скрывать", + "Show": "Показывать", + "ThisPC": "Этот Компьютер", + "QuickAccess": "Быстрый доступ", + "Detailed": "Развернутый вид", + "Compact": "Свернутый вид", + "Expanded": "Развернуть", + "Minimized": "Свернуть", + "SearchIcon": "Значок поиска", + "SearchBox": "Поисковая строка", + "LargeIcons": "Большие иконки", + "SmallIcons": "Маленькие иконки", + "Category": "Категория", + "Dark": "Тёмный", + "Light": "Светлый", + "Max": "Максимальный", + "Uninstall": "Удалить", + "Install": "Установить", + "Month": "Ежемесячно", + "SystemDrive": "Системный диск", + "High": "Высокая производительность", + "Balanced": "Сбалансированная", + "English": "Английский", + "Root": "В корень", + "Custom": "Настраиваемый", + "Desktop": "Рабочий стол", + "Automatically": "Автоматически", + "Manually": "Вручную", + "Elevated": "От имени Администратора", + "NonElevated": "От имени пользователя", + "Register": "Создать", + "Delete": "Удалить", + "Left": "Слева", + "Center": "По центру", + "WindowsTerminal": "Windows Терминал", + "ConsoleHost": "Узел консоли Windows" +} diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tooltip_Windows_10.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tooltip_Windows_10.json new file mode 100644 index 00000000..1a718e75 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tooltip_Windows_10.json @@ -0,0 +1,2203 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "Обязательные проверки. Чтобы выключить предупреждение о необходимости настройки пресет-файла, удалите аргумент \"-Warning\"" + }, + "One": { + "Tag": "", + "ToolTip": "Обязательные проверки. Отсутствует предупреждающее сообщение о том, был ли настроек пресет-файл" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Включить логирование работы скрипта. Лог будет записываться в папку скрипта. Чтобы остановить логгирование, закройте консоль или наберите \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Создать точку восстановления" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить службу \"Функциональные возможности для подключенных пользователей и телеметрия\" (DiagTrack) и блокировать соединение для исходящего трафик клиента единой телеметрии. Отключение службы \"Функциональные возможности для подключенных пользователей и телеметрия\" (DiagTrack) может привести к тому, что вы больше не сможете получать достижения Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить службу DiagTrack и разрешить соединение для исходящего трафик клиента единой телеметрии (значение по умолчанию)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Установить уровень сбора диагностических данных ОС на минимальный" + }, + "One": { + "Tag": "Default", + "ToolTip": "Установить уровень сбора диагностических данных ОС по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить запись отчетов об ошибках Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить отчеты об ошибках Windows (значение по умолчанию)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Изменить частоту формирования отзывов на \"Никогда\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Изменить частоту формирования отзывов на \"Автоматически\" (значение по умолчанию)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить задачи диагностического отслеживания" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить задачи диагностического отслеживания (значение по умолчанию)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления (значение по умолчанию)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков (значение по умолчанию)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать приложениям использовать идентификатор рекламы" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешать приложениям использовать идентификатор рекламы (значение по умолчанию)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать экран приветствия Windows после обновлений и иногда при входе, чтобы сообщить о новых функциях и предложениях" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать экран приветствия Windows после обновлений и иногда при входе, чтобы сообщить о новых функциях и предложениях (значение по умолчанию)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Получать советы и предложения при использованию Windows (значение по умолчанию)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не получать советы и предложения при использованию Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать рекомендуемое содержимое в приложении \"Параметры\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать рекомендуемое содержимое в приложении \"Параметры\" (значение по умолчанию)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить автоматическую установку рекомендованных приложений" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить автоматическую установку рекомендованных приложений (значение по умолчанию)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не предлагать способы завершения настройки устройства для максимально эффективного использования Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Предлагать способы завершения настройки устройства для максимально эффективного использования Windows (значение по умолчанию)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать корпорации Майкософт использовать ваши диагностические данные для предоставления вам персонализированных советов, рекламы и рекомендаций, чтобы улучшить работу со службами Майкрософт" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешите корпорации Майкософт использовать ваши диагностические данные для предоставления вам персонализированных советов, рекламы и рекомендаций, чтобы улучшить работу со службами Майкрософт (значение по умолчанию)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить в меню \"Пуск\" поиск через Bing (только для США)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить поиск через Bing в меню \"Пуск\" (значение по умолчанию)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отображать значок \"Этот компьютер\" на рабочем столе" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать \"Этот компьютер\" на рабочем столе (значение по умолчанию)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать флажки для выбора элементов" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Использовать флажки для выбора элементов (значение по умолчанию)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Отображать скрытые файлы, папки и диски" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не отображать скрытые файлы, папки и диски (значение по умолчанию)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отображать расширения имён файлов" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать расширения имён файлов файлов (значение по умолчанию)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Не скрывать конфликт слияния папок" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать конфликт слияния папок (значение по умолчанию)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Открывать проводник для \"Этот компьютер\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Открывать проводник для \"Быстрый доступ\" (значение по умолчанию)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить компактный режим проводника" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить компактный режим проводника (значение по умолчанию)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "CortanaButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать кнопку Кортаны на панели задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать кнопку Кортаны на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Не показывать уведомления поставщика синхронизации в проводнике" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать уведомления поставщика синхронизации в проводнике (значение по умолчанию)" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "При прикреплении окна не показывать, что можно прикрепить рядом с ним" + }, + "One": { + "Tag": "Enable", + "ToolTip": "При прикреплении окна показывать, что можно прикрепить рядом с ним (значение по умолчанию)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Отображать диалоговое окно передачи файлов в развернутом виде" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Отображать диалоговое окно передачи файлов в свернутом виде (значение по умолчанию)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "FileExplorerRibbon", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Развернуть ленту проводника" + }, + "One": { + "Tag": "Minimized", + "ToolTip": "Свернуть ленту проводника (значение по умолчанию)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Запрашивать подтверждение на удаление файлов в корзину" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не запрашивать подтверждение на удаление файлов в корзину (значение по умолчанию)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "3DObjects", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть папку \"Объемные объекты\" в \"Этот компьютер\" и панели быстрого доступа" + }, + "One": { + "Tag": "Show", + "ToolTip": "Отображать папку \"Объемные объекты\" в \"Этот компьютер\" и панели быстрого доступа (значение по умолчанию)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть недавно использовавшиеся файлы на панели быстрого доступа" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать недавно использовавшиеся файлы на панели быстрого доступа (значение по умолчанию)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть недавно используемые папки на панели быстрого доступа" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать часто используемые папки на панели быстрого доступа (значение по умолчанию)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть поле или значок поиска на панели задач" + }, + "One": { + "Tag": "SearchIcon", + "ToolTip": "Показать значок поиска на панели задач" + }, + "Two": { + "Tag": "SearchBox", + "ToolTip": "Показать поле поиска на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть главное в поиске" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать главное в поиске (значение по умолчанию)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "SearchHighlights", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть главное в поиске" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать главное в поиске (значение по умолчанию)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "PeopleTaskbar", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать панель \"Люди\" на панели задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать панель \"Люди\" на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "SecondsInSystemClock", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отображать секунды в системных часах на панели задач" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать секунды в системных часах на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsInkWorkspace", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Не показывать кнопку Windows Ink Workspace на панели задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать кнопку Windows Ink Workspace на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "NotificationAreaIcons", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Всегда отображать все значки в области уведомлений" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть все значки в области уведомлений (значение по умолчанию)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "MeetNow", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть иконку \"Провести собрание\" в области уведомлений" + }, + "One": { + "Tag": "Show", + "ToolTip": "Отображать иконку \"Провести собрание\" в трее (значение по умолчанию)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "NewsInterests", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить \"Новости и интересы\" на панели задач" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить \"Новости и интересы\" на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" или \"Почта\" от панели задач", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Открепить ярлык \"Microsoft Edge\" от панели задач" + }, + "One": { + "Tag": "Store", + "ToolTip": "Открепить ярлык \"Microsoft Store\" от панели задач" + }, + "Two": { + "Tag": "Mail", + "ToolTip": "Открепить ярлык \"Почта\" от панели задач" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Просмотр иконок Панели управления как крупные значки" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Просмотр иконок Панели управления как маленькие значки" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Просмотр иконок Панели управления как категория (значение по умолчанию)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Установить режим Windows по умолчанию на темный" + }, + "One": { + "Tag": "Light", + "ToolTip": "Установить режим Windows по умолчанию на светлый (значение по умолчанию)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Установить цвет режима приложения на темный" + }, + "One": { + "Tag": "Light", + "ToolTip": "Установить цвет режима приложения на светлый (значение по умолчанию)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "NewAppInstalledNotification", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть уведомление \"Установлено новое приложение\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать уведомление \"Установлено новое приложение\" (значение по умолчанию)" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Скрывать анимацию при первом входе в систему после обновления" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Показывать анимацию при первом входе в систему после обновления (значение по умолчанию)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Установить коэффициент качества обоев рабочего стола в формате JPEG на максимальный" + }, + "One": { + "Tag": "Default", + "ToolTip": "Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 332, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Запускать Диспетчера задач в развернутом виде" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Запускать Диспетчера задач в свернутом виде (значение по умолчанию)" + } + } + }, + { + "Id": 333, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Не показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления (значение по умолчанию)" + } + } + }, + { + "Id": 334, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Нe дoбaвлять \"- яpлык\" к имени coздaвaeмых яpлыков" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Дoбaвлять \"- яpлык\" к имени coздaвaeмых яpлыков (значение по умолчанию)" + } + } + }, + { + "Id": 335, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана (значение по умолчанию)" + } + } + }, + { + "Id": 336, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать метод ввода для каждого окна (значение по умолчанию)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Позволить выбирать метод ввода для каждого окна" + } + } + }, + { + "Id": 337, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Когда я беру строку заголовка окна и встряхиваю ее, сворачивайте все остальные окна (значение по умолчанию)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "При захвате заголовка окна и встряхивании сворачиваются все остальные окна" + } + } + }, + { + "Id": 338, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Установить курсоры по умолчанию" + }, + "One": { + "Tag": "Light", + "ToolTip": "Скачать и установить бесплатные светлые курсоры \"Windows 11 Cursors Concept v2\" от Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Скачать и установить бесплатные темные курсоры \"Windows 11 Cursors Concept v2\" от Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Удалить OneDrive. Папка пользователя OneDrive не будет удалена" + }, + "One": { + "Tag": "Install", + "ToolTip": "Установить OneDrive 64-бит" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить Контроль памяти" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить Контроль памяти (значение по умолчанию)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Запускать Контроль памяти каждый месяц" + }, + "One": { + "Tag": "Default", + "ToolTip": "Запускать Контроль памяти, когда остается мало место на диске (значение по умолчанию)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Удалять временные файлы, не используемые в приложениях (значение по умолчанию)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не удалять временные файлы, не используемые в приложениях" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить режим гибернации. Не рекомендуется выключать на ноутбуках" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить режим гибернации (значение по умолчанию)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Изменить путь переменной среды для %TEMP% на %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Изменить путь переменной среды для %TEMP% на %LOCALAPPDATA%\\Temp (значение по умолчанию)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить ограничение Windows на 260 символов в пути" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить ограничение Windows на 260 символов в пути (значение по умолчанию)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Отображать код Stop-ошибки при появлении BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Настройка уведомления об изменении параметров компьютера: никогда не уведомлять" + }, + "One": { + "Tag": "Default", + "ToolTip": "Настройка уведомления об изменении параметров компьютера: уведомлять меня только при попытках приложений внести изменения в компьютер (значение по умолчанию)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами (значение по умолчанию)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить оптимизацию доставки" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить оптимизацию доставки (значение по умолчанию)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Всегда ждать сеть при запуске и входе в систему для рабочих групп" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Никогда не ждать сеть при запуске и входе в систему для рабочих групп (значение по умолчанию)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать Windows управлять принтером, используемым по умолчанию" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешать Windows управлять принтером, используемым по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить компоненты Windows, используя всплывающее диалоговое окно. Если вы хотите оставить параметр \"Параметры мультимедиа\" в дополнительных параметрах схемы управления питанием, не отключайте \"Компоненты для работы с медиа\"" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить компоненты Windows, используя всплывающее диалоговое окно (значение по умолчанию)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Удалить дополнительные компоненты, используя всплывающее диалоговое окно. Если вы хотите оставить параметр \"Параметры мультимедиа\" в дополнительных параметрах схемы управления питанием, не удаляйте компонент \"Компоненты для работы с медиа\"" + }, + "One": { + "Tag": "Install", + "ToolTip": "Установить дополнительные компоненты, используя всплывающее диалоговое окно (значение по умолчанию)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "При обновлении Windows получать обновления для других продуктов Майкрософт" + }, + "One": { + "Tag": "Disable", + "ToolTip": "При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Установить схему управления питанием на \"Высокая производительность\". Не рекомендуется включать схему управления питанием \"Высокая производительность\" для ноутбуков" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Установить схему управления питанием на \"Сбалансированная\" (значение по умолчанию)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Использовать последнюю установленную среду выполнения .NET для всех приложений" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не использовать последнюю установленную версию .NET для всех приложений (значение по умолчанию)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Запретить отключение всех сетевых адаптеров для экономии энергии" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешить отключение всех сетевых адаптеров для экономии энергии (значение по умолчанию)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить IP версии 6 (TCP/IPv6). Перед выполнением функции будет проведена проверка: поддерживает ли ваш провайдер IPv6, используя ресурс https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить IP версии 6 (TCP/IPv6) (значение по умолчанию). Перед выполнением функции будет проведена проверка: поддерживает ли ваш провайдер IPv6, используя ресурс https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Переопределить метод ввода по умолчанию: английский" + }, + "One": { + "Tag": "Default", + "ToolTip": "Переопределить метод ввода по умолчанию: использовать список языков (значение по умолчанию)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Переместить пользовательские папки в корень любого диска на выбор с помощью интерактивного меню. Пользовательские файлы и папки не будут перемещены в новое расположение. Переместите их вручную. По умолчанию они располагаются в папке %USERPROFILE%" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Выбрать папки для расположения пользовательских папок вручную, используя диалог \"Обзор папок\". Пользовательские файлы и папки не будут перемещены в новое расположение. Переместите их вручную. По умолчанию они располагаются в папке %USERPROFILE%" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Изменить расположение пользовательских папок на значения по умолчанию. Пользовательские файлы и папки не будут перемещены в новое расположение. Переместите их вручную. По умолчанию они располагаются в папке %USERPROFILE% (значение по умолчанию)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Сохранять скриншоты по нажатию Win+PrtScr на рабочий столе. Функция будет применена только в случае, если в пресете настроено удаление приложения OneDrive, иначе ломается функционал резервного копирования для папок \"Рабочий стол\" и \"Изображения\" в OneDrive" + }, + "One": { + "Tag": "Default", + "ToolTip": "Cохранять скриншоты по нажатию Win+PrtScr в папку \"Изображения\" (значение по умолчанию)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Автоматически запускать средства устранения неполадок, а затем уведомлять. Чтобы заработала данная функция, уровень сбора диагностических данных ОС будет установлен на \"Необязательные диагностические данные\" и включится создание отчетов об ошибках Windows" + }, + "One": { + "Tag": "Default", + "ToolTip": "Спрашивать перед запуском средств устранения неполадок. Чтобы заработала данная функция, уровень сбора диагностических данных ОС будет установлен на \"Необязательные диагностические данные\" и включится создание отчетов об ошибках Windows (значение по умолчанию)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Запускать окна с папками в отдельном процессе" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не запускать окна с папками в отдельном процессе (значение по умолчанию)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить и удалить зарезервированное хранилище после следующей установки обновлений" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить зарезервированное хранилище (значение по умолчанию)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить открытие справки по нажатию F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить открытие справки по нажатию F1 (значение по умолчанию)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить Num Lock при загрузке" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить Num Lock при загрузке (значение по умолчанию)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить Caps Lock" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить Caps Lock (значение по умолчанию)" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить залипание клавиши Shift после 5 нажатий" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить залипание клавиши Shift после 5 нажатий (значение по умолчанию)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать автозапуск для всех носителей и устройств" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Использовать автозапуск для всех носителей и устройств (значение по умолчанию)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить удаление кэша миниатюр" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить удаление кэша миниатюр (значение по умолчанию)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить автоматическое сохранение моих перезапускаемых приложений из системы и перезапускать их при повторном входе (значение по умолчанию)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп (значение по умолчанию)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Автоматически изменять период активности для этого устройства на основе действий" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Перезапускать это устройство как можно быстрее, если для установки обновления требуется перезагрузка" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не перезапускать это устройство как можно быстрее, если для установки обновления требуется перезагрузка (значение по умолчанию)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "UninstallPCHealthCheck", + "Arg": { + "Zero": { + "Tag": "Block", + "ToolTip": "Удалить приложение \"Проверка работоспособности ПК Windows\" и заблокировать его установку в будущем. Обновление KB5005463 устанавливает приложение \"Проверка работоспособности ПК Windows\" для проверки соответствия компьютера системным требованиям Windows 11" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64)" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить последнюю версию .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить подсистему Windows для Linux (WSL), последний пакет обновления ядра Linux и дистрибутив Linux, используя всплывающую форму. Параметр \"При обновлении Windows получать обновления для других продуктов Майкрософт\" будет включен автоматически в Центре обновлении Windows, чтобы получать обновления ядра" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "RecentlyAddedApps", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать недавно добавленные приложения в меню \"Пуск\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать недавно добавленные приложения в меню \"Пуск\" (значение по умолчанию)" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "AppSuggestions", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать рекомендации в меню \"Пуск\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать рекомендации в меню \"Пуск\" (значение по умолчанию)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Запускать ярлык Windows PowerShell в меню \"Пуск\" от имени Администратора" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Запускать ярлык Windows PowerShell в меню \"Пуск\" от имени пользователя (значение по умолчанию)" + } + } + }, + { + "Id": 703, + "Region": "Start menu", + "Function": "PinToStart -Tiles", + "ToolTip": "Закрепить на начальном экране следующие ярлыки: Панель управления, Устройства и принтеры, PowerShell", + "Arg": { + "Zero": { + "Tag": "ControlPanel", + "ToolTip": "Закрепить на начальном экране ярлык \"Панель управления\"" + }, + "One": { + "Tag": "DevicesPrinters", + "ToolTip": "Закрепить на начальном экране ярлык \"Устройства и принтеры\"" + }, + "Two": { + "Tag": "PowerShell", + "ToolTip": "Закрепить на начальном экране ярлык \"PowerShell\"" + } + } + }, + { + "Id": 704, + "Region": "Start menu", + "Function": "PinToStart -UnpinAll", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Открепить все ярлыки от начального экрана" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Удалить UWP-приложения, используя всплывающее диалоговое окно. Пакеты приложений не будут установлены для новых пользователей, если отмечена галочка \"Для всех пользователей\"" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Удалить UWP-приложения, используя всплывающее диалоговое окно. Пакеты приложений не будут установлены для новых пользователей, если отмечена галочка \"Для всех пользователей\". Аргумент \"ForAllUsers\" устанавливает галочку для удаления пакетов для всех пользователей" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Восстановить стандартные UWP-приложения, используя всплывающее диалоговое окно. UWP-приложения могут быть восстановлены, только если они были удалены для текущего пользователя" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Открыть страницу \"Расширения для видео HEVC от производителя устройства\" в Microsoft Store, чтобы вручную установить расширение для открытия форматов .heic и .heif. Расширение может быть установлено бесплатно без учетной записи Microsoft" + }, + "One": { + "Tag": "Install", + "ToolTip": "Скачать и установить \"Расширения для видео HEVC от производителя устройства\", чтобы иметь возможность открывать форматы .heic и .heif" + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить автозагрузку Кортана" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить автозагрузку Кортана (значение по умолчанию)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "BackgroundUWPApps", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать UWP-приложениям работать в фоновом режиме" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешить всем UWP-приложениям работать в фоновом режиме (значение по умолчанию)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Проверить обновления UWP-приложений" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить Xbox Game Bar" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить Xbox Game Bar (значение по умолчанию)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить советы Xbox Game Bar" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить советы Xbox Game Bar (значение по умолчанию)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Выбрать приложение и установить параметры производительности графики на \"Высокая производительность\" для него. Только при наличии внешней видеокарты" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить планирование графического процессора с аппаратным ускорением. Необходима перезагрузка. Только при наличии внешней видеокарты и WDDM версии 2.7 и выше" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить планирование графического процессора с аппаратным ускорением. Необходима перезагрузка (значение по умолчанию)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Создать задачу \"Windows Cleanup\" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий. Нативный интерактивный тост всплывает каждые 30 дней. Задача выполняется каждые 30 дней" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Удалить задачи \"Windows Cleanup\" и \"Windows Cleanup Notification\" по очистке неиспользуемых файлов и обновлений Windows из Планировщика заданий" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Создать задачу \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download в Планировщике заданий. Задача будет ждать, пока служба обновлений Windows не закончит работу. Задача выполняется каждые 90 дней" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Удалить задачу \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download из Планировщика заданий" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Создать задачу \"Temp\" в Планировщике заданий по очистке папки %TEMP%. Удаляться будут только файлы старше одного дня. Задача выполняется каждые 60 дней" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Удалить задачу \"Temp\" по очистке папки %TEMP% из Планировщика заданий" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить защиту сети в Microsoft Defender Exploit Guard" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить защиту сети в Microsoft Defender Exploit Guard (значение по умолчанию)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить обнаружение потенциально нежелательных приложений и блокировать их" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить обнаружение потенциально нежелательных приложений и блокировать их (значение по умолчанию)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DefenderSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить песочницу для Microsoft Defender" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить песочницу для Microsoft Defender (значение по умолчанию)" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Отклонить предложение Microsoft Defender в \"Безопасность Windows\" о входе в аккаунт Microsoft" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Отклонить предложение Microsoft Defender в \"Безопасность Windows\" включить фильтр SmartScreen для Microsoft Edge" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить аудит событий, возникающих при создании или запуске процесса" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить аудит событий, возникающих при создании или запуске процесса (значение по умолчанию)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включать командную строку в событиях создания процесса. Для того, чтобы работал данный функционал, будет включен аудит событий (AuditProcess -Enable)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не включать командную строку в событиях создания процесса (значение по умолчанию)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Создать настраиваемое представление \"Создание процесса\" в Просмотре событий. Для того, чтобы работал данный функционал, буден включен аудит событий (AuditProcess -Enable) и командной строки (CommandLineProcessAudit -Enable) в событиях создания процесса" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Удалить настраиваемое представление \"Создание процесса\" в Просмотре событий (значение по умолчанию)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить ведение журнала для всех модулей Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить ведение журнала для всех модулей Windows PowerShell (значение по умолчанию)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell (значение по умолчанию)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen не помечает скачанные файлы из интернета как небезопасные" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen помечает скачанные файлы из интернета как небезопасные (значение по умолчанию)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить проверку Диспетчером вложений файлов, скачанных из интернета, как небезопасные" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить проверку Диспетчера вложений файлов, скачанных из интернета как небезопасные (значение по умолчанию)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить Windows Script Host. Блокирует запуск файлов .js и .vbs" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить Windows Script Host (значение по умолчанию)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить Windows Sandbox" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить Windows Sandbox (значение по умолчанию)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отобразить пункт \"Извлечь все\" в контекстное меню Windows Installer (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Извлечь все\" из контекстного меню Windows Installer (.msi) (значение по умолчанию)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отобразить пункт \"Установить\" в контекстное меню .cab архивов" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Установить\" из контекстного меню .cab архивов (значение по умолчанию)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отобразить пункт \"Запуск от имени другого пользователя\" в контекстное меню .exe файлов" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Запуск от имени другого пользователя\" из контекстное меню .exe файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Передать на устройство\" из контекстного меню медиа-файлов и папок" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Передать на устройство\" в контекстном меню медиа-файлов и папок (значение по умолчанию)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Отправить\" (поделиться) из контекстного меню" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Отправить\" (поделиться) в контекстном меню (значение по умолчанию). Отображение элемента \"Поделиться\" в контекстном меню приведет к отключению проводника из Windows 10" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPaint3DContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Изменить с помощью Paint 3D\" из контекстного меню медиа-файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Изменить с помощью Paint 3D\" в контекстном меню медиа-файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Изменить с помощью приложения \"Фотографии\"\" из контекстного меню медиа-файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Изменить с помощью приложения \"Фотографии\"\" в контекстном меню медиа-файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Создать новое видео\" из контекстного меню медиа-файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Создать новое видео\" в контекстном меню медиа-файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "ImagesEditContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Изменить\" из контекстного меню изображений" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Изменить\" в контекстном меню изображений (значение по умолчанию)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Печать\" из контекстного меню .bat и .cmd файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Печать\" в контекстном меню .bat и .cmd файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Добавить в библиотеку\" из контекстного меню папок и дисков" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Добавить в библиотеку\" в контекстном меню папок и дисков (значение по умолчанию)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Отправить\" из контекстного меню папок" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Отправить\" в контекстном меню папок (значение по умолчанию)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "BitmapImageNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Точечный рисунок\" из контекстного меню \"Создать\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Восстановить пункт \"Точечный рисунок\" в контекстного меню \"Создать\" (значение по умолчанию)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "RichTextDocumentNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Документ в формате RTF\" из контекстного меню \"Создать\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Восстановить пункт \"Документ в формате RTF\" в контекстного меню \"Создать\" (значение по умолчанию)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Сжатая ZIP-папка\" из контекстного меню \"Создать\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Восстановить пункт \"Сжатая ZIP-папка\" в контекстном меню \"Создать\" (значение по умолчанию)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить элементы контекстного меню \"Открыть\", \"Изменить\" и \"Печать\" при выделении более 15 элементов" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Отключить элементы контекстного меню \"Открыть\", \"Изменить\" и \"Печать\" при выделении более 15 элементов (значение по умолчанию)" + } + } + }, + { + "Id": 1216, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Поиск приложения в Microsoft Store\" в диалоге \"Открыть с помощью\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Отображать пункт \"Поиск приложения в Microsoft Store\" в диалоге \"Открыть с помощью\" (значение по умолчанию)" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре" + } + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tooltip_Windows_11.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tooltip_Windows_11.json new file mode 100644 index 00000000..03b94233 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/tooltip_Windows_11.json @@ -0,0 +1,2063 @@ +[ + { + "Id": 100, + "Region": "Protection", + "Function": "Checks", + "Arg": { + "Zero": { + "Tag": "Warning", + "ToolTip": "Обязательные проверки. Чтобы выключить предупреждение о необходимости настройки пресет-файла, удалите аргумент \"-Warning\"" + }, + "One": { + "Tag": "", + "ToolTip": "Обязательные проверки. Отсутствует предупреждающее сообщение о том, был ли настроек пресет-файл" + } + } + }, + { + "Id": 101, + "Region": "Protection", + "Function": "Logging", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Включить логирование работы скрипта. Лог будет записываться в папку скрипта. Чтобы остановить логгирование, закройте консоль или наберите \"Stop-Transcript\"" + } + } + }, + { + "Id": 102, + "Region": "Protection", + "Function": "CreateRestorePoint", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Создать точку восстановления" + } + } + }, + { + "Id": 200, + "Region": "Privacy & Telemetry", + "Function": "DiagTrackService", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить службу \"Функциональные возможности для подключенных пользователей и телеметрия\" (DiagTrack) и блокировать соединение для исходящего трафик клиента единой телеметрии. Отключение службы \"Функциональные возможности для подключенных пользователей и телеметрия\" (DiagTrack) может привести к тому, что вы больше не сможете получать достижения Xbox" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить службу DiagTrack и разрешить соединение для исходящего трафик клиента единой телеметрии (значение по умолчанию)" + } + } + }, + { + "Id": 201, + "Region": "Privacy & Telemetry", + "Function": "DiagnosticDataLevel", + "Arg": { + "Zero": { + "Tag": "Minimal", + "ToolTip": "Установить уровень сбора диагностических данных ОС на минимальный" + }, + "One": { + "Tag": "Default", + "ToolTip": "Установить уровень сбора диагностических данных ОС по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 202, + "Region": "Privacy & Telemetry", + "Function": "ErrorReporting", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить запись отчетов об ошибках Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить отчеты об ошибках Windows (значение по умолчанию)" + } + } + }, + { + "Id": 203, + "Region": "Privacy & Telemetry", + "Function": "FeedbackFrequency", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Изменить частоту формирования отзывов на \"Никогда\"" + }, + "One": { + "Tag": "Automatically", + "ToolTip": "Изменить частоту формирования отзывов на \"Автоматически\" (значение по умолчанию)" + } + } + }, + { + "Id": 204, + "Region": "Privacy & Telemetry", + "Function": "ScheduledTasks", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить задачи диагностического отслеживания" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить задачи диагностического отслеживания (значение по умолчанию)" + } + } + }, + { + "Id": 205, + "Region": "Privacy & Telemetry", + "Function": "SigninInfo", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Использовать данные для входа для автоматического завершения настройки устройства и открытия приложений после перезапуска или обновления (значение по умолчанию)" + } + } + }, + { + "Id": 206, + "Region": "Privacy & Telemetry", + "Function": "LanguageListAccess", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Позволять веб-сайтам предоставлять местную информацию за счет доступа к списку языков (значение по умолчанию)" + } + } + }, + { + "Id": 207, + "Region": "Privacy & Telemetry", + "Function": "AdvertisingID", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать приложениям использовать идентификатор рекламы" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешать приложениям использовать идентификатор рекламы (значение по умолчанию)" + } + } + }, + { + "Id": 208, + "Region": "Privacy & Telemetry", + "Function": "WindowsWelcomeExperience", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать экран приветствия Windows после обновлений и иногда при входе, чтобы сообщить о новых функциях и предложениях" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать экран приветствия Windows после обновлений и иногда при входе, чтобы сообщить о новых функциях и предложениях (значение по умолчанию)" + } + } + }, + { + "Id": 209, + "Region": "Privacy & Telemetry", + "Function": "WindowsTips", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Получать советы и предложения при использованию Windows (значение по умолчанию)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не получать советы и предложения при использованию Windows" + } + } + }, + { + "Id": 210, + "Region": "Privacy & Telemetry", + "Function": "SettingsSuggestedContent", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать рекомендуемое содержимое в приложении \"Параметры\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать рекомендуемое содержимое в приложении \"Параметры\" (значение по умолчанию)" + } + } + }, + { + "Id": 211, + "Region": "Privacy & Telemetry", + "Function": "AppsSilentInstalling", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить автоматическую установку рекомендованных приложений" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить автоматическую установку рекомендованных приложений (значение по умолчанию)" + } + } + }, + { + "Id": 212, + "Region": "Privacy & Telemetry", + "Function": "WhatsNewInWindows", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не предлагать способы завершения настройки устройства для максимально эффективного использования Windows" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Предлагать способы завершения настройки устройства для максимально эффективного использования Windows (значение по умолчанию)" + } + } + }, + { + "Id": 213, + "Region": "Privacy & Telemetry", + "Function": "TailoredExperiences", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать корпорации Майкософт использовать ваши диагностические данные для предоставления вам персонализированных советов, рекламы и рекомендаций, чтобы улучшить работу со службами Майкрософт" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешите корпорации Майкософт использовать ваши диагностические данные для предоставления вам персонализированных советов, рекламы и рекомендаций, чтобы улучшить работу со службами Майкрософт (значение по умолчанию)" + } + } + }, + { + "Id": 214, + "Region": "Privacy & Telemetry", + "Function": "BingSearch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить в меню \"Пуск\" поиск через Bing (только для США)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить поиск через Bing в меню \"Пуск\" (значение по умолчанию)" + } + } + }, + { + "Id": 300, + "Region": "UI & Personalization", + "Function": "ThisPC", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отображать значок \"Этот компьютер\" на рабочем столе" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать \"Этот компьютер\" на рабочем столе (значение по умолчанию)" + } + } + }, + { + "Id": 301, + "Region": "UI & Personalization", + "Function": "CheckBoxes", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать флажки для выбора элементов" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Использовать флажки для выбора элементов (значение по умолчанию)" + } + } + }, + { + "Id": 302, + "Region": "UI & Personalization", + "Function": "HiddenItems", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Отображать скрытые файлы, папки и диски" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не отображать скрытые файлы, папки и диски (значение по умолчанию)" + } + } + }, + { + "Id": 303, + "Region": "UI & Personalization", + "Function": "FileExtensions", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отображать расширения имён файлов" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать расширения имён файлов файлов (значение по умолчанию)" + } + } + }, + { + "Id": 304, + "Region": "UI & Personalization", + "Function": "MergeConflicts", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Не скрывать конфликт слияния папок" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрывать конфликт слияния папок (значение по умолчанию)" + } + } + }, + { + "Id": 305, + "Region": "UI & Personalization", + "Function": "OpenFileExplorerTo", + "Arg": { + "Zero": { + "Tag": "ThisPC", + "ToolTip": "Открывать проводник для \"Этот компьютер\"" + }, + "One": { + "Tag": "QuickAccess", + "ToolTip": "Открывать проводник для \"Быстрый доступ\" (значение по умолчанию)" + } + } + }, + { + "Id": 306, + "Region": "UI & Personalization", + "Function": "FileExplorerCompactMode", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить компактный режим проводника" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить компактный режим проводника (значение по умолчанию)" + } + } + }, + { + "Id": 307, + "Region": "UI & Personalization", + "Function": "OneDriveFileExplorerAd", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Не показывать уведомления поставщика синхронизации в проводнике" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать уведомления поставщика синхронизации в проводнике (значение по умолчанию)" + } + } + }, + { + "Id": 308, + "Region": "UI & Personalization", + "Function": "SnapAssistFlyout", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Показывать макеты привязки при наведении указателя мыши на кнопку развертывания окна (значение по умолчанию)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Скрыть макеты привязки при наведении указателя мыши на кнопку развертывания окна" + } + } + }, + { + "Id": 309, + "Region": "UI & Personalization", + "Function": "SnapAssist", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "При прикреплении окна не показывать, что можно прикрепить рядом с ним" + }, + "One": { + "Tag": "Enable", + "ToolTip": "При прикреплении окна показывать, что можно прикрепить рядом с ним (значение по умолчанию)" + } + } + }, + { + "Id": 310, + "Region": "UI & Personalization", + "Function": "FileTransferDialog", + "Arg": { + "Zero": { + "Tag": "Detailed", + "ToolTip": "Отображать диалоговое окно передачи файлов в развернутом виде" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Отображать диалоговое окно передачи файлов в свернутом виде (значение по умолчанию)" + } + } + }, + { + "Id": 311, + "Region": "UI & Personalization", + "Function": "RecycleBinDeleteConfirmation", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Запрашивать подтверждение на удаление файлов в корзину" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не запрашивать подтверждение на удаление файлов в корзину (значение по умолчанию)" + } + } + }, + { + "Id": 312, + "Region": "UI & Personalization", + "Function": "QuickAccessRecentFiles", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть недавно использовавшиеся файлы на панели быстрого доступа" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать недавно использовавшиеся файлы на панели быстрого доступа (значение по умолчанию)" + } + } + }, + { + "Id": 313, + "Region": "UI & Personalization", + "Function": "QuickAccessFrequentFolders", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть недавно используемые папки на панели быстрого доступа" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать часто используемые папки на панели быстрого доступа (значение по умолчанию)" + } + } + }, + { + "Id": 314, + "Region": "UI & Personalization", + "Function": "TaskbarAlignment", + "Arg": { + "Zero": { + "Tag": "Left", + "ToolTip": "Установить выравнивание панели задач по левому краю" + }, + "One": { + "Tag": "Center", + "ToolTip": "Установить выравнивание панели задач по центру (значение по умолчанию)" + } + } + }, + { + "Id": 315, + "Region": "UI & Personalization", + "Function": "TaskbarSearch", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть кнопку поиска на панели задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать значок поиска на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 316, + "Region": "UI & Personalization", + "Function": "TaskViewButton", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрывать кнопку Просмотра задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать кнопку Просмотра задач (значение по умолчанию)" + } + } + }, + { + "Id": 317, + "Region": "UI & Personalization", + "Function": "TaskbarWidgets", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть кнопку виджетов на панели задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать кнопку виджетов на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 318, + "Region": "UI & Personalization", + "Function": "TaskbarChat", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть кнопку чата (Microsoft Teams) на панели задач" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать кнопку чата (Microsoft Teams) на панели задач (значение по умолчанию)" + } + } + }, + { + "Id": 319, + "Region": "UI & Personalization", + "Function": "UnpinTaskbarShortcuts -Shortcuts", + "ToolTip": "Открепить ярлыки \"Microsoft Edge\", \"Microsoft Store\" от панели задач", + "Arg": { + "Zero": { + "Tag": "Edge", + "ToolTip": "Открепить ярлык \"Microsoft Edge\" от панели задач" + }, + "One": { + "Tag": "Store", + "ToolTip": "Открепить ярлык \"Microsoft Store\" от панели задач" + } + } + }, + { + "Id": 320, + "Region": "UI & Personalization", + "Function": "ControlPanelView", + "Arg": { + "Zero": { + "Tag": "LargeIcons", + "ToolTip": "Просмотр иконок Панели управления как крупные значки" + }, + "One": { + "Tag": "SmallIcons", + "ToolTip": "Просмотр иконок Панели управления как маленькие значки" + }, + "Two": { + "Tag": "Category", + "ToolTip": "Просмотр иконок Панели управления как категория (значение по умолчанию)" + } + } + }, + { + "Id": 321, + "Region": "UI & Personalization", + "Function": "WindowsColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Установить режим Windows по умолчанию на темный" + }, + "One": { + "Tag": "Light", + "ToolTip": "Установить режим Windows по умолчанию на светлый (значение по умолчанию)" + } + } + }, + { + "Id": 322, + "Region": "UI & Personalization", + "Function": "AppColorMode", + "Arg": { + "Zero": { + "Tag": "Dark", + "ToolTip": "Установить цвет режима приложения на темный" + }, + "One": { + "Tag": "Light", + "ToolTip": "Установить цвет режима приложения на светлый (значение по умолчанию)" + } + } + }, + { + "Id": 323, + "Region": "UI & Personalization", + "Function": "FirstLogonAnimation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Скрывать анимацию при первом входе в систему после обновления" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Показывать анимацию при первом входе в систему после обновления (значение по умолчанию)" + } + } + }, + { + "Id": 324, + "Region": "UI & Personalization", + "Function": "JPEGWallpapersQuality", + "Arg": { + "Zero": { + "Tag": "Max", + "ToolTip": "Установить коэффициент качества обоев рабочего стола в формате JPEG на максимальный" + }, + "One": { + "Tag": "Default", + "ToolTip": "Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 325, + "Region": "UI & Personalization", + "Function": "TaskManagerWindow", + "Arg": { + "Zero": { + "Tag": "Expanded", + "ToolTip": "Запускать Диспетчера задач в развернутом виде" + }, + "One": { + "Tag": "Compact", + "ToolTip": "Запускать Диспетчера задач в свернутом виде (значение по умолчанию)" + } + } + }, + { + "Id": 326, + "Region": "UI & Personalization", + "Function": "RestartNotification", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Не показывать уведомление, когда компьютеру требуется перезагрузка для завершения обновления (значение по умолчанию)" + } + } + }, + { + "Id": 327, + "Region": "UI & Personalization", + "Function": "ShortcutsSuffix", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Нe дoбaвлять \"- яpлык\" к имени coздaвaeмых яpлыков" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Дoбaвлять \"- яpлык\" к имени coздaвaeмых яpлыков (значение по умолчанию)" + } + } + }, + { + "Id": 328, + "Region": "UI & Personalization", + "Function": "PrtScnSnippingTool", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не использовать кнопку PRINT SCREEN, чтобы запустить функцию создания фрагмента экрана (значение по умолчанию)" + } + } + }, + { + "Id": 329, + "Region": "UI & Personalization", + "Function": "AppsLanguageSwitch", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать метод ввода для каждого окна (значение по умолчанию)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Позволить выбирать метод ввода для каждого окна" + } + } + }, + { + "Id": 330, + "Region": "UI & Personalization", + "Function": "AeroShaking", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "При захвате заголовка окна и встряхивании сворачиваются все остальные окна" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Когда я беру строку заголовка окна и встряхиваю ее, сворачивайте все остальные окна (значение по умолчанию)" + } + } + }, + { + "Id": 331, + "Region": "UI & Personalization", + "Function": "Cursors", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Установить курсоры по умолчанию" + }, + "One": { + "Tag": "Light", + "ToolTip": "Скачать и установить бесплатные светлые курсоры \"Windows 11 Cursors Concept v2\" от Jepri Creations" + }, + "Two": { + "Tag": "Dark", + "ToolTip": "Скачать и установить бесплатные темные курсоры \"Windows 11 Cursors Concept v2\" от Jepri Creations" + } + } + }, + { + "Id": 400, + "Region": "OneDrive", + "Function": "OneDrive", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Удалить OneDrive. Папка пользователя OneDrive не будет удалена" + }, + "One": { + "Tag": "Install", + "ToolTip": "Установить OneDrive 64-бит" + } + } + }, + { + "Id": 500, + "Region": "System", + "Function": "StorageSense", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить Контроль памяти" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить Контроль памяти (значение по умолчанию)" + } + } + }, + { + "Id": 501, + "Region": "System", + "Function": "StorageSenseFrequency", + "Arg": { + "Zero": { + "Tag": "Month", + "ToolTip": "Запускать Контроль памяти каждый месяц" + }, + "One": { + "Tag": "Default", + "ToolTip": "Запускать Контроль памяти, когда остается мало место на диске (значение по умолчанию)" + } + } + }, + { + "Id": 502, + "Region": "System", + "Function": "StorageSenseTempFiles", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Удалять временные файлы, не используемые в приложениях (значение по умолчанию)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не удалять временные файлы, не используемые в приложениях" + } + } + }, + { + "Id": 503, + "Region": "System", + "Function": "Hibernation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить режим гибернации. Не рекомендуется выключать на ноутбуках" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить режим гибернации (значение по умолчанию)" + } + } + }, + { + "Id": 504, + "Region": "System", + "Function": "TempFolder", + "Arg": { + "Zero": { + "Tag": "SystemDrive", + "ToolTip": "Изменить путь переменной среды для %TEMP% на %SystemDrive%\\Temp" + }, + "One": { + "Tag": "Default", + "ToolTip": "Изменить путь переменной среды для %TEMP% на %LOCALAPPDATA%\\Temp (значение по умолчанию)" + } + } + }, + { + "Id": 505, + "Region": "System", + "Function": "Win32LongPathLimit", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить ограничение Windows на 260 символов в пути" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить ограничение Windows на 260 символов в пути (значение по умолчанию)" + } + } + }, + { + "Id": 506, + "Region": "System", + "Function": "BSoDStopError", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Отображать код Stop-ошибки при появлении BSoD" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию)" + } + } + }, + { + "Id": 507, + "Region": "System", + "Function": "AdminApprovalMode", + "Arg": { + "Zero": { + "Tag": "Never", + "ToolTip": "Настройка уведомления об изменении параметров компьютера: никогда не уведомлять" + }, + "One": { + "Tag": "Default", + "ToolTip": "Настройка уведомления об изменении параметров компьютера: уведомлять меня только при попытках приложений внести изменения в компьютер (значение по умолчанию)" + } + } + }, + { + "Id": 508, + "Region": "System", + "Function": "MappedDrivesAppElevatedAccess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить доступ к сетевым дискам при включенном режиме одобрения администратором при доступе из программ, запущенных с повышенными правами (значение по умолчанию)" + } + } + }, + { + "Id": 509, + "Region": "System", + "Function": "DeliveryOptimization", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить оптимизацию доставки" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить оптимизацию доставки (значение по умолчанию)" + } + } + }, + { + "Id": 510, + "Region": "System", + "Function": "WaitNetworkStartup", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Всегда ждать сеть при запуске и входе в систему для рабочих групп" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Никогда не ждать сеть при запуске и входе в систему для рабочих групп (значение по умолчанию)" + } + } + }, + { + "Id": 511, + "Region": "System", + "Function": "WindowsManageDefaultPrinter", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не разрешать Windows управлять принтером, используемым по умолчанию" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешать Windows управлять принтером, используемым по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 512, + "Region": "System", + "Function": "WindowsFeatures", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить компоненты Windows, используя всплывающее диалоговое окно. Если вы хотите оставить параметр \"Параметры мультимедиа\" в дополнительных параметрах схемы управления питанием, не отключайте \"Компоненты для работы с медиа\"" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить компоненты Windows, используя всплывающее диалоговое окно (значение по умолчанию)" + } + } + }, + { + "Id": 513, + "Region": "System", + "Function": "WindowsCapabilities", + "Arg": { + "Zero": { + "Tag": "Uninstall", + "ToolTip": "Удалить дополнительные компоненты, используя всплывающее диалоговое окно. Если вы хотите оставить параметр \"Параметры мультимедиа\" в дополнительных параметрах схемы управления питанием, не удаляйте компонент \"Компоненты для работы с медиа\"" + }, + "One": { + "Tag": "Install", + "ToolTip": "Установить дополнительные компоненты, используя всплывающее диалоговое окно (значение по умолчанию)" + } + } + }, + { + "Id": 514, + "Region": "System", + "Function": "UpdateMicrosoftProducts", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "При обновлении Windows получать обновления для других продуктов Майкрософт" + }, + "One": { + "Tag": "Disable", + "ToolTip": "При обновлении Windows не получать обновления для других продуктов Майкрософт (значение по умолчанию)" + } + } + }, + { + "Id": 515, + "Region": "System", + "Function": "PowerPlan", + "Arg": { + "Zero": { + "Tag": "High", + "ToolTip": "Установить схему управления питанием на \"Высокая производительность\". Не рекомендуется включать схему управления питанием \"Высокая производительность\" для ноутбуков" + }, + "One": { + "Tag": "Balanced", + "ToolTip": "Установить схему управления питанием на \"Сбалансированная\" (значение по умолчанию)" + } + } + }, + { + "Id": 516, + "Region": "System", + "Function": "LatestInstalled.NET", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Использовать последнюю установленную среду выполнения .NET для всех приложений" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не использовать последнюю установленную версию .NET для всех приложений (значение по умолчанию)" + } + } + }, + { + "Id": 517, + "Region": "System", + "Function": "NetworkAdaptersSavePower", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Запретить отключение всех сетевых адаптеров для экономии энергии" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Разрешить отключение всех сетевых адаптеров для экономии энергии (значение по умолчанию)" + } + } + }, + { + "Id": 518, + "Region": "System", + "Function": "IPv6Component", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить IP версии 6 (TCP/IPv6). Перед выполнением функции будет проведена проверка: поддерживает ли ваш провайдер IPv6, используя ресурс https://ipv6-test.com" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить IP версии 6 (TCP/IPv6) (значение по умолчанию). Перед выполнением функции будет проведена проверка: поддерживает ли ваш провайдер IPv6, используя ресурс https://ipv6-test.com" + } + } + }, + { + "Id": 519, + "Region": "System", + "Function": "InputMethod", + "Arg": { + "Zero": { + "Tag": "English", + "ToolTip": "Переопределить метод ввода по умолчанию: английский" + }, + "One": { + "Tag": "Default", + "ToolTip": "Переопределить метод ввода по умолчанию: использовать список языков (значение по умолчанию)" + } + } + }, + { + "Id": 520, + "Region": "System", + "Function": "SetUserShellFolderLocation", + "Arg": { + "Zero": { + "Tag": "Root", + "ToolTip": "Переместить пользовательские папки в корень любого диска на выбор с помощью интерактивного меню. Пользовательские файлы и папки не будут перемещены в новое расположение. Переместите их вручную. По умолчанию они располагаются в папке %USERPROFILE%" + }, + "One": { + "Tag": "Custom", + "ToolTip": "Выбрать папки для расположения пользовательских папок вручную, используя диалог \"Обзор папок\". Пользовательские файлы и папки не будут перемещены в новое расположение. Переместите их вручную. По умолчанию они располагаются в папке %USERPROFILE%" + }, + "Two": { + "Tag": "Default", + "ToolTip": "Изменить расположение пользовательских папок на значения по умолчанию. Пользовательские файлы и папки не будут перемещены в новое расположение. Переместите их вручную. По умолчанию они располагаются в папке %USERPROFILE% (значение по умолчанию)" + } + } + }, + { + "Id": 521, + "Region": "System", + "Function": "WinPrtScrFolder", + "Arg": { + "Zero": { + "Tag": "Desktop", + "ToolTip": "Сохранять скриншоты по нажатию Win+PrtScr на рабочий столе. Функция будет применена только в случае, если в пресете настроено удаление приложения OneDrive, иначе ломается функционал резервного копирования для папок \"Рабочий стол\" и \"Изображения\" в OneDrive" + }, + "One": { + "Tag": "Default", + "ToolTip": "Cохранять скриншоты по нажатию Win+PrtScr в папку \"Изображения\" (значение по умолчанию)" + } + } + }, + { + "Id": 522, + "Region": "System", + "Function": "RecommendedTroubleshooting", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Автоматически запускать средства устранения неполадок, а затем уведомлять. Чтобы заработала данная функция, уровень сбора диагностических данных ОС будет установлен на \"Необязательные диагностические данные\" и включится создание отчетов об ошибках Windows" + }, + "One": { + "Tag": "Default", + "ToolTip": "Спрашивать перед запуском средств устранения неполадок. Чтобы заработала данная функция, уровень сбора диагностических данных ОС будет установлен на \"Необязательные диагностические данные\" и включится создание отчетов об ошибках Windows (значение по умолчанию)" + } + } + }, + { + "Id": 523, + "Region": "System", + "Function": "FoldersLaunchSeparateProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Запускать окна с папками в отдельном процессе" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не запускать окна с папками в отдельном процессе (значение по умолчанию)" + } + } + }, + { + "Id": 524, + "Region": "System", + "Function": "ReservedStorage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить и удалить зарезервированное хранилище после следующей установки обновлений" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить зарезервированное хранилище (значение по умолчанию)" + } + } + }, + { + "Id": 525, + "Region": "System", + "Function": "F1HelpPage", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить открытие справки по нажатию F1" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить открытие справки по нажатию F1 (значение по умолчанию)" + } + } + }, + { + "Id": 526, + "Region": "System", + "Function": "NumLock", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить Num Lock при загрузке" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить Num Lock при загрузке (значение по умолчанию)" + } + } + }, + { + "Id": 527, + "Region": "System", + "Function": "CapsLock", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить Caps Lock (значение по умолчанию)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить Caps Lock" + } + } + }, + { + "Id": 528, + "Region": "System", + "Function": "StickyShift", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить залипание клавиши Shift после 5 нажатий" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить залипание клавиши Shift после 5 нажатий (значение по умолчанию)" + } + } + }, + { + "Id": 529, + "Region": "System", + "Function": "Autoplay", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Не использовать автозапуск для всех носителей и устройств" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Использовать автозапуск для всех носителей и устройств (значение по умолчанию)" + } + } + }, + { + "Id": 530, + "Region": "System", + "Function": "ThumbnailCacheRemoval", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить удаление кэша миниатюр" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить удаление кэша миниатюр (значение по умолчанию)" + } + } + }, + { + "Id": 531, + "Region": "System", + "Function": "SaveRestartableApps", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить автоматическое сохранение моих перезапускаемых приложений из системы и перезапускать их при повторном входе (значение по умолчанию)" + } + } + }, + { + "Id": 532, + "Region": "System", + "Function": "NetworkDiscovery", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить сетевое обнаружение и общий доступ к файлам и принтерам для рабочих групп (значение по умолчанию)" + } + } + }, + { + "Id": 533, + "Region": "System", + "Function": "ActiveHours", + "Arg": { + "Zero": { + "Tag": "Automatically", + "ToolTip": "Автоматически изменять период активности для этого устройства на основе действий" + }, + "One": { + "Tag": "Manually", + "ToolTip": "Вручную изменять период активности для этого устройства на основе действий (значение по умолчанию)" + } + } + }, + { + "Id": 534, + "Region": "System", + "Function": "RestartDeviceAfterUpdate", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Перезапускать это устройство как можно быстрее, если для установки обновления требуется перезагрузка" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не перезапускать это устройство как можно быстрее, если для установки обновления требуется перезагрузка (значение по умолчанию)" + } + } + }, + { + "Id": 535, + "Region": "System", + "Function": "DefaultTerminalApp", + "Arg": { + "Zero": { + "Tag": "WindowsTerminal", + "ToolTip": "Установить Windows Terminal в качестве терминального приложения по умолчанию для размещения пользовательского интерфейса для приложений командной строки." + }, + "One": { + "Tag": "ConsoleHost", + "ToolTip": "Установить Windows Console Host в качестве терминального приложения по умолчанию для размещения пользовательского интерфейса для приложений командной строки (значение по умолчанию)" + } + } + }, + { + "Id": 536, + "Region": "System", + "Function": "InstallVCRedist", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64)" + } + } + }, + { + "Id": 537, + "Region": "System", + "Function": "InstallDotNetRuntime6", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить последнюю версию .NET Desktop Runtime 6 (x86/x64)" + } + } + }, + { + "Id": 538, + "Region": "System", + "Function": "RKNBypass", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России." + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить проксирование только заблокированных сайтов из единого реестра Роскомнадзора (значение по умолчанию)" + } + } + }, + { + "Id": 539, + "Region": "System", + "Function": "WSA", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить все необходимые зависимости (может потребоваться перезагрузка) и открыть страницу WSA в Microsoft Store, чтобы вручную установить Windows Subsystem for Android™ with Amazon Appstore" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить все необходимые зависимости и удалить Windows Subsystem for Android™ with Amazon Appstore (значение по умолчанию)" + } + } + }, + { + "Id": 600, + "Region": "WSL", + "Function": "WSL", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Установить подсистему Windows для Linux (WSL), последний пакет обновления ядра Linux и дистрибутив Linux, используя всплывающую форму. Параметр \"При обновлении Windows получать обновления для других продуктов Майкрософт\" будет включен автоматически в Центре обновлении Windows, чтобы получать обновления ядра" + } + } + }, + { + "Id": 700, + "Region": "Start menu", + "Function": "UnpinAllStartApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Открепить все приложения от начального экрана" + } + } + }, + { + "Id": 701, + "Region": "Start menu", + "Function": "RunPowerShellShortcut", + "Arg": { + "Zero": { + "Tag": "Elevated", + "ToolTip": "Запускать ярлык Windows PowerShell в меню \"Пуск\" от имени Администратора" + }, + "One": { + "Tag": "NonElevated", + "ToolTip": "Запускать ярлык Windows PowerShell в меню \"Пуск\" от имени пользователя (значение по умолчанию)" + } + } + }, + { + "Id": 702, + "Region": "Start menu", + "Function": "StartLayout", + "Arg": { + "Zero": { + "Tag": "Default", + "ToolTip": "Отображать стандартный макет начального экрана (только для сборок 22621+) (значение по умолчанию)" + }, + "One": { + "Tag": "ShowMorePins", + "ToolTip": "Отображать больше закреплений на начальном экране (только для сборки 22621+)" + }, + "Two": { + "Tag": "ShowMoreRecommendations", + "ToolTip": "Отображать больше рекомендаций на начальном экране (только для сборок 22621+)" + } + } + }, + { + "Id": 800, + "Region": "UWP apps", + "Function": "UninstallUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Удалить UWP-приложения, используя всплывающее диалоговое окно. Пакеты приложений не будут установлены для новых пользователей, если отмечена галочка \"Для всех пользователей\"" + } + } + }, + { + "Id": 801, + "Region": "UWP apps", + "Function": "UninstallUWPApps -ForAllUsers", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Удалить UWP-приложения, используя всплывающее диалоговое окно. Пакеты приложений не будут установлены для новых пользователей, если отмечена галочка \"Для всех пользователей\". Аргумент \"ForAllUsers\" устанавливает галочку для удаления пакетов для всех пользователей" + } + } + }, + { + "Id": 802, + "Region": "UWP apps", + "Function": "RestoreUWPApps", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Восстановить стандартные UWP-приложения, используя всплывающее диалоговое окно. UWP-приложения могут быть восстановлены, только если они были удалены для текущего пользователя" + } + } + }, + { + "Id": 803, + "Region": "UWP apps", + "Function": "HEIF", + "Arg": { + "Zero": { + "Tag": "Manually", + "ToolTip": "Открыть страницу \"Расширения для видео HEVC от производителя устройства\" в Microsoft Store, чтобы вручную установить расширение для открытия форматов .heic и .heif. Расширение может быть установлено бесплатно без учетной записи Microsoft." + }, + "One": { + "Tag": "Install", + "ToolTip": "Скачать и установить \"Расширения для видео HEVC от производителя устройства\", чтобы иметь возможность открывать форматы .heic и .heif. Расширение уже установлено в Windows 11 22H2 по умолчанию." + } + } + }, + { + "Id": 804, + "Region": "UWP apps", + "Function": "CortanaAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить автозагрузку Кортана" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить автозагрузку Кортана (значение по умолчанию)" + } + } + }, + { + "Id": 805, + "Region": "UWP apps", + "Function": "TeamsAutostart", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить автозагрузку Microsoft Teams" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить автозагрузкуMicrosoft Teams (значение по умолчанию)" + } + } + }, + { + "Id": 806, + "Region": "UWP apps", + "Function": "CheckUWPAppsUpdates", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Проверить обновления UWP-приложений" + } + } + }, + { + "Id": 900, + "Region": "Gaming", + "Function": "XboxGameBar", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить Xbox Game Bar. Чтобы предотвратить появление предупреждения \"Вам понадобится новое приложение, чтобы открыть этот ms-gamingoverlay\", вам необходимо отключить приложение Xbox Game Bar, даже если вы удалили его раньше" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить Xbox Game Bar (значение по умолчанию)" + } + } + }, + { + "Id": 901, + "Region": "Gaming", + "Function": "XboxGameTips", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить советы Xbox Game Bar" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить советы Xbox Game Bar (значение по умолчанию)" + } + } + }, + { + "Id": 902, + "Region": "Gaming", + "Function": "SetAppGraphicsPerformance", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Выбрать приложение и установить параметры производительности графики на \"Высокая производительность\" для него. Только при наличии внешней видеокарты" + } + } + }, + { + "Id": 903, + "Region": "Gaming", + "Function": "GPUScheduling", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить планирование графического процессора с аппаратным ускорением. Необходима перезагрузка. Только при наличии внешней видеокарты и WDDM версии 2.7 и выше" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить планирование графического процессора с аппаратным ускорением. Необходима перезагрузка (значение по умолчанию)" + } + } + }, + { + "Id": 1000, + "Region": "Scheduled tasks", + "Function": "CleanupTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Создать задачу \"Windows Cleanup\" по очистке неиспользуемых файлов и обновлений Windows в Планировщике заданий. Нативный интерактивный тост всплывает каждые 30 дней. Задача выполняется каждые 30 дней" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Удалить задачи \"Windows Cleanup\" и \"Windows Cleanup Notification\" по очистке неиспользуемых файлов и обновлений Windows из Планировщика заданий" + } + } + }, + { + "Id": 1001, + "Region": "Scheduled tasks", + "Function": "SoftwareDistributionTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Создать задачу \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download в Планировщике заданий. Задача будет ждать, пока служба обновлений Windows не закончит работу. Задача выполняется каждые 90 дней" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Удалить задачу \"SoftwareDistribution\" по очистке папки %SystemRoot%\\SoftwareDistribution\\Download из Планировщика заданий" + } + } + }, + { + "Id": 1002, + "Region": "Scheduled tasks", + "Function": "TempTask", + "Arg": { + "Zero": { + "Tag": "Register", + "ToolTip": "Создать задачу \"Temp\" в Планировщике заданий по очистке папки %TEMP%. Удаляться будут только файлы старше одного дня. Задача выполняется каждые 60 дней" + }, + "One": { + "Tag": "Delete", + "ToolTip": "Удалить задачу \"Temp\" по очистке папки %TEMP% из Планировщика заданий" + } + } + }, + { + "Id": 1100, + "Region": "Microsoft Defender & Security", + "Function": "NetworkProtection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить защиту сети в Microsoft Defender Exploit Guard" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить защиту сети в Microsoft Defender Exploit Guard (значение по умолчанию)" + } + } + }, + { + "Id": 1101, + "Region": "Microsoft Defender & Security", + "Function": "PUAppsDetection", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить обнаружение потенциально нежелательных приложений и блокировать их" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить обнаружение потенциально нежелательных приложений и блокировать их (значение по умолчанию)" + } + } + }, + { + "Id": 1102, + "Region": "Microsoft Defender & Security", + "Function": "DismissMSAccount", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Отклонить предложение Microsoft Defender в \"Безопасность Windows\" о входе в аккаунт Microsoft" + } + } + }, + { + "Id": 1103, + "Region": "Microsoft Defender & Security", + "Function": "DismissSmartScreenFilter", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Отклонить предложение Microsoft Defender в \"Безопасность Windows\" включить фильтр SmartScreen для Microsoft Edge" + } + } + }, + { + "Id": 1104, + "Region": "Microsoft Defender & Security", + "Function": "AuditProcess", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить аудит событий, возникающих при создании или запуске процесса" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить аудит событий, возникающих при создании или запуске процесса (значение по умолчанию)" + } + } + }, + { + "Id": 1105, + "Region": "Microsoft Defender & Security", + "Function": "CommandLineProcessAudit", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включать командную строку в событиях создания процесса. Для того, чтобы работал данный функционал, будет включен аудит событий (AuditProcess -Enable)" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не включать командную строку в событиях создания процесса (значение по умолчанию)" + } + } + }, + { + "Id": 1106, + "Region": "Microsoft Defender & Security", + "Function": "EventViewerCustomView", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Создать настраиваемое представление \"Создание процесса\" в Просмотре событий. Для того, чтобы работал данный функционал, буден включен аудит событий (AuditProcess -Enable) и командной строки (CommandLineProcessAudit -Enable) в событиях создания процесса" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Удалить настраиваемое представление \"Создание процесса\" в Просмотре событий (значение по умолчанию)" + } + } + }, + { + "Id": 1107, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellModulesLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить ведение журнала для всех модулей Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить ведение журнала для всех модулей Windows PowerShell (значение по умолчанию)" + } + } + }, + { + "Id": 1108, + "Region": "Microsoft Defender & Security", + "Function": "PowerShellScriptsLogging", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить ведение журнала для всех вводимых сценариев PowerShell в журнале событий Windows PowerShell (значение по умолчанию)" + } + } + }, + { + "Id": 1109, + "Region": "Microsoft Defender & Security", + "Function": "AppsSmartScreen", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Microsoft Defender SmartScreen не помечает скачанные файлы из интернета как небезопасные" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Microsoft Defender SmartScreen помечает скачанные файлы из интернета как небезопасные (значение по умолчанию)" + } + } + }, + { + "Id": 1110, + "Region": "Microsoft Defender & Security", + "Function": "SaveZoneInformation", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Выключить проверку Диспетчером вложений файлов, скачанных из интернета, как небезопасные" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить проверку Диспетчера вложений файлов, скачанных из интернета как небезопасные (значение по умолчанию)" + } + } + }, + { + "Id": 1111, + "Region": "Microsoft Defender & Security", + "Function": "WindowsScriptHost", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить Windows Script Host. Блокирует запуск файлов .js и .vbs" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить Windows Script Host (значение по умолчанию)" + } + } + }, + { + "Id": 1112, + "Region": "Microsoft Defender & Security", + "Function": "WindowsSandbox", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить Windows Sandbox" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить Windows Sandbox (значение по умолчанию)" + } + } + }, + { + "Id": 1113, + "Region": "Microsoft Defender & Security", + "Function": "DNSoverHTTPS", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить DNS-over-HTTPS для IPv4. Действительные IPv4-адреса: 1.0.0.1, 1.1.1.1, 149.112.112.112, 8.8.4.4, 8.8.8.8, 9.9.9.9" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Выключить DNS-over-HTTPS для IPv4 (значение по умолчанию)" + } + } + }, + { + "Id": 1200, + "Region": "Context menu", + "Function": "MSIExtractContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отобразить пункт \"Извлечь все\" в контекстное меню Windows Installer (.msi)" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Извлечь все\" из контекстного меню Windows Installer (.msi) (значение по умолчанию)" + } + } + }, + { + "Id": 1201, + "Region": "Context menu", + "Function": "CABInstallContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отобразить пункт \"Установить\" в контекстное меню .cab архивов" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Установить\" из контекстного меню .cab архивов (значение по умолчанию)" + } + } + }, + { + "Id": 1202, + "Region": "Context menu", + "Function": "RunAsDifferentUserContext", + "Arg": { + "Zero": { + "Tag": "Show", + "ToolTip": "Отобразить пункт \"Запуск от имени другого пользователя\" в контекстное меню .exe файлов" + }, + "One": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Запуск от имени другого пользователя\" из контекстное меню .exe файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1203, + "Region": "Context menu", + "Function": "CastToDeviceContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Передать на устройство\" из контекстного меню медиа-файлов и папок" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Передать на устройство\" в контекстном меню медиа-файлов и папок (значение по умолчанию)" + } + } + }, + { + "Id": 1204, + "Region": "Context menu", + "Function": "ShareContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Отправить\" (поделиться) из контекстного меню" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Отправить\" (поделиться) в контекстном меню (значение по умолчанию). Отображение элемента \"Поделиться\" в контекстном меню приведет к отключению проводника из Windows 10" + } + } + }, + { + "Id": 1205, + "Region": "Context menu", + "Function": "EditWithPhotosContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Изменить с помощью приложения \"Фотографии\"\" из контекстного меню медиа-файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Изменить с помощью приложения \"Фотографии\"\" в контекстном меню медиа-файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1206, + "Region": "Context menu", + "Function": "CreateANewVideoContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Создать новое видео\" из контекстного меню медиа-файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Создать новое видео\" в контекстном меню медиа-файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1207, + "Region": "Context menu", + "Function": "PrintCMDContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Печать\" из контекстного меню .bat и .cmd файлов" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Печать\" в контекстном меню .bat и .cmd файлов (значение по умолчанию)" + } + } + }, + { + "Id": 1208, + "Region": "Context menu", + "Function": "IncludeInLibraryContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Добавить в библиотеку\" из контекстного меню папок и дисков" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Добавить в библиотеку\" в контекстном меню папок и дисков (значение по умолчанию)" + } + } + }, + { + "Id": 1209, + "Region": "Context menu", + "Function": "SendToContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Отправить\" из контекстного меню папок" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показывать пункт \"Отправить\" в контекстном меню папок (значение по умолчанию)" + } + } + }, + { + "Id": 1210, + "Region": "Context menu", + "Function": "CompressedFolderNewContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Сжатая ZIP-папка\" из контекстного меню \"Создать\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Восстановить пункт \"Сжатая ZIP-папка\" в контекстном меню \"Создать\" (значение по умолчанию)" + } + } + }, + { + "Id": 1211, + "Region": "Context menu", + "Function": "MultipleInvokeContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Включить элементы контекстного меню \"Открыть\", \"Изменить\" и \"Печать\" при выделении более 15 элементов" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Отключить элементы контекстного меню \"Открыть\", \"Изменить\" и \"Печать\" при выделении более 15 элементов (значение по умолчанию)" + } + } + }, + { + "Id": 1212, + "Region": "Context menu", + "Function": "UseStoreOpenWith", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт \"Поиск приложения в Microsoft Store\" в диалоге \"Открыть с помощью\"" + }, + "One": { + "Tag": "Show", + "ToolTip": "Отображать пункт \"Поиск приложения в Microsoft Store\" в диалоге \"Открыть с помощью\" (значение по умолчанию)" + } + } + }, + { + "Id": 1213, + "Region": "Context menu", + "Function": "OpenWindowsTerminalContext", + "Arg": { + "Zero": { + "Tag": "Hide", + "ToolTip": "Скрыть пункт меню \"Открыть в Терминале Windows\" в контекстном меню папок" + }, + "One": { + "Tag": "Show", + "ToolTip": "Показать пункт меню \"Открыть в Терминале Windows\" в контекстном меню папок (значение по умолчанию)" + } + } + }, + { + "Id": 1214, + "Region": "Context menu", + "Function": "OpenWindowsTerminalAdminContext", + "Arg": { + "Zero": { + "Tag": "Enable", + "ToolTip": "Открывать Windows Terminal из контекстного меню от имени администратора по умолчанию" + }, + "One": { + "Tag": "Disable", + "ToolTip": "Не открывать Windows Terminal из контекстного меню от имени администратора по умолчанию (значение по умолчанию)" + } + } + }, + { + "Id": 1215, + "Region": "Context menu", + "Function": "Windows10ContextMenu", + "Arg": { + "Zero": { + "Tag": "Disable", + "ToolTip": "Отключить стиль контекстного меню из Windows 10 (значение по умолчанию)" + }, + "One": { + "Tag": "Enable", + "ToolTip": "Включить стиль контекстного меню из Windows 10" + } + } + }, + { + "Id": 1300, + "Region": "Update Policies", + "Function": "UpdateLGPEPolicies", + "Arg": { + "Zero": { + "Tag": "", + "ToolTip": "Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре" + } + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/ui.json b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/ui.json new file mode 100644 index 00000000..b18ffb35 --- /dev/null +++ b/src/Sophia_Script_Wrapper_v2.5.7/Localizations/ru-RU/ui.json @@ -0,0 +1,71 @@ +[ + { + "Id": "Menu", + "Options": { + "menuImportExportPreset": "Импорт | экспорт", + "menuImportPreset": "Импортировать пресет", + "menuExportPreset": "Экспортировать пресет", + "menuPresets": "Пресеты", + "menuOpposite": "Противоположные значения", + "menuClear": "Очистить", + "menuTheme": "Тема", + "menuThemeDark": "Тёмная", + "menuThemeLight": "Светлая", + "menuLanguage": "Язык", + "menuAbout": "О программе" + } + }, + { + "Id": "Tab", + "Options": { + "tabSystemProtection": "Защита", + "tabPrivacyTelemetry": "Конфиденциальность & телеметрия", + "tabUIPersonalization": "UI & персонализация", + "tabOneDrive": "OneDrive", + "tabSystem": "Система", + "tabWSL": "WSL", + "tabStartMenu": "Меню \"Пуск\"", + "tabUWP": "UWP-приложения", + "tabGaming": "Игры", + "tabScheduledTasks": "Планировщик заданий", + "tabDefenderSecurity": "Defender и защита", + "tabContextMenu": "Контекстное меню", + "tabUpdatePolicies": "Обновление политик", + "tabConsoleOutput": "Вывод консоли" + } + }, + { + "Id": "Button", + "Options": { + "btnRefreshConsole": "Обновить консоль", + "btnRunPowerShell": "Запустить PowerShell" + } + }, + { + "Id": "StatusBar", + "Options": { + "statusBarHover": "Наведите курсором на функции, чтобы увидеть подсказки по каждой опции", + "statusBarPresetLoaded": "Модуль загружен!", + "statusBarPresetNotComp": "Пресет не совместим!", + "statusBarSophiaPreset": "Загружен пресет Sophia!", + "statusBarWindowsDefaultPreset": "Загружен пресет по умолчанию!", + "statusBarPowerShellScriptCreatedFromSelections": "Скрипт для PowerShell создан из ваших выбранных элементов. Можете запустить и сохранить его.", + "statusBarPowerShellExport": "Скрипт для PowerShell создан!", + "statusBarOpposite": "Выбраны обратные настройки!", + "statusBarClear": "Выбранные элементы очищены!", + "statusBarDisabled": "Вы должны сначала \"Импортировать пресет\", чтобы использовать Wrapper. Импортируйте, чтобы включить элементы управления.", + "statusBarCurrentOS": "Текущая ОС" + } + }, + { + "Id": "MessageBox", + "Options": { + "messageBoxNewWrapperFound": "Обнаружена новая версия Wrapper.\nОткрыть страницу GitHub?", + "messageBoxNewSophiaFound": "Обнаружена новая версия Sophia Script.\nОткрыть страницу GitHub?", + "messageBoxDoesNotExist": "не существует", + "messageBoxPresetNotComp": "Пресет не совместим!", + "messageBoxFilesMissingClose": "Отсутствуют необходимые файлы Sophia Script Wrapper. Программа будет закрыта", + "messageBoxConsoleEmpty": "Консоль пуста.\nНажмите кнопку \"Обновить консоль\", чтобы создать скрипт, согласно вышим выборам" + } + } +] diff --git a/src/Sophia_Script_Wrapper_v2.5.7/SophiaScriptWrapper.exe b/src/Sophia_Script_Wrapper_v2.5.7/SophiaScriptWrapper.exe new file mode 100644 index 00000000..8793106a Binary files /dev/null and b/src/Sophia_Script_Wrapper_v2.5.7/SophiaScriptWrapper.exe differ diff --git a/src/Sophia_Script_for_Windows_10/Functions.ps1 b/src/Sophia_Script_for_Windows_10/Functions.ps1 index 229879dd..afc12139 100644 --- a/src/Sophia_Script_for_Windows_10/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -49,21 +49,16 @@ function Sophia } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} } Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.13.6 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations # The mandatory checks. Please, do not comment out this function diff --git a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 index 93f7eb3b..db7b656b 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/de-DE/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Wiederherstellen Run = Starten SelectAll = Alle auswählen Skipped = Übersprungen +GPOUpdate = GPO-Aktualisierung... TelegramGroupTitle = Treten Sie unserer offiziellen Telegram-Gruppe bei TelegramChannelTitle = Treten Sie unserem offiziellen Telegram-Kanal bei DiscordChannelTitle = Treten Sie unserem offiziellen Discord-Kanal bei diff --git a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 index 3dc3bf0f..d538d85d 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/en-US/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restore Run = Run SelectAll = Select all Skipped = Skipped +GPOUpdate = Updating GPO... TelegramGroupTitle = Join our official Telegram group TelegramChannelTitle = Join our official Telegram channel DiscordChannelTitle = Join our official Discord channel diff --git a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 index dc752480..7a59ad78 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/es-ES/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restaurar Run = Iniciar SelectAll = Seleccionar todo Skipped = Omitido +GPOUpdate = Actualización de GPO... TelegramGroupTitle = Únete a nuestro grupo oficial de Telegram TelegramChannelTitle = Únete a nuestro canal oficial de Telegram DiscordChannelTitle = Únete a nuestro canal oficial de Discord diff --git a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 index c5c4e90a..6c384e94 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/fr-FR/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restaurer Run = Démarrer SelectAll = Tout sélectionner Skipped = Passé +GPOUpdate = Mise à jour de la GPO... TelegramGroupTitle = Rejoignez notre groupe Telegram officiel TelegramChannelTitle = Rejoignez notre canal Telegram officiel DiscordChannelTitle = Rejoignez notre canal Discord officiel diff --git a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 index 9f8600e1..39465377 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/hu-HU/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Visszaállítás Run = Futtatás SelectAll = Összes kijelölése Skipped = Átugorva +GPOUpdate = GPO frissítése... TelegramGroupTitle = Pridružite se našoj službenoj grupi Telegram TelegramChannelTitle = Pridružite se našem službenom kanalu Telegram DiscordChannelTitle = Pridružite se našem službenom kanalu Discord diff --git a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 index 4d12c670..aa73ee5a 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/it-IT/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Ristabilire Run = Eseguire SelectAll = Seleziona tutto Skipped = Saltato +GPOUpdate = Aggiornamento GPO... TelegramGroupTitle = Unisciti al nostro gruppo ufficiale Telegram TelegramChannelTitle = Unisciti al nostro canale ufficiale di Telegram DiscordChannelTitle = Unisciti al nostro canale ufficiale di Discord diff --git a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 index 2a80feeb..105135b8 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/pt-BR/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restaurar Run = Executar SelectAll = Selecionar tudo Skipped = Ignorados +GPOUpdate = Actualização do GPO... TelegramGroupTitle = Entre no grupo oficial do Telegram TelegramChannelTitle = Entre no canal oficial do Telegram DiscordChannelTitle = Entre no canal oficial do Discord diff --git a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 index 7b19d2e8..7595af85 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/ru-RU/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Восстановить Run = Запустить SelectAll = Выбрать всё Skipped = Пропущено +GPOUpdate = Обновление GPO... TelegramGroupTitle = Присоединяйтесь к нашей официальной группе в Telegram TelegramChannelTitle = Присоединяйтесь к нашему официальному каналу в Telegram DiscordChannelTitle = Присоединяйтесь к нашему официальному каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 index bc259aad..05499983 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/tr-TR/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Onar Run = Başlat SelectAll = Hepsini seç Skipped = Atlandı +GPOUpdate = GPO Güncelleniyor... TelegramGroupTitle = Resmi Telegram grubumuza katılın TelegramChannelTitle = Resmi Telegram kanalımıza katılın DiscordChannelTitle = Resmi Discord kanalımıza katılın diff --git a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 index 57400a9d..0b2643eb 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/uk-UA/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Відновити Run = Запустити SelectAll = Обрати все Skipped = Пропущено +GPOUpdate = Оновлення GPO... TelegramGroupTitle = Приєднуйтесь до нашої офіційної групи в Telegram TelegramChannelTitle = Приєднуйтесь до нашого офіційного каналу в Telegram DiscordChannelTitle = Приєднуйтесь до нашого офіційного каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 index 25248e14..c50b8167 100644 --- a/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Localizations/zh-CN/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = 恢复 Run = 运行 SelectAll = 全选 Skipped = 已跳过 +GPOUpdate = GPO更新…… TelegramGroupTitle = 加入我们的官方Telegram 群 TelegramChannelTitle = 加入我们的官方Telegram 频道 DiscordChannelTitle = 加入我们的官方Discord 频道 diff --git a/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 index b33dba54..d02aa8fd 100644 --- a/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '5.13.6' + ModuleVersion = '5.14.0' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved' diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 2b5e6301..4e415e96 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -27,10 +27,13 @@ .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -165,15 +168,8 @@ function Checks exit } - # Check whether libraries exist in the bin folder - $Libraries = @( - "$PSScriptRoot\..\bin\PolicyFileEditor\Commands.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\Common.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psd1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psm1" - ) - if (($Libraries | Test-Path) -contains $false) + # Check whether LGPO.exe exists in the bin folder + if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")) { Write-Warning -Message $Localization.Bin Start-Sleep -Seconds 5 @@ -182,14 +178,6 @@ function Checks exit } - # A temp workaround to check whether PolFileEditor.dl assembly was loaded due to even it was unblocked it's blocked loading into PowerShell session - $PolFileEditor = (Resolve-Path -Path "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll").Path - if ([System.AppDomain]::CurrentDomain.GetAssemblies().Location -notcontains $PolFileEditor) - { - Write-Verbose -Message "You must close powershell.exe and re-run script" -Verbose - exit - } - # Check for a pending reboot $PendingActions = @( # CBS pending @@ -482,6 +470,8 @@ function Checks } } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } @@ -502,7 +492,7 @@ function CreateRestorePoint $SystemDriveUniqueID = (Get-Volume | Where-Object -FilterScript {$_.DriveLetter -eq "$($env:SystemDrive[0])"}).UniqueID $SystemProtection = ((Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SPP\Clients" -ErrorAction Ignore)."{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}") | Where-Object -FilterScript {$_ -match [regex]::Escape($SystemDriveUniqueID)} - $ComputerRestorePoint = $false + $Script:ComputerRestorePoint = $false if ($null -eq $SystemProtection) { @@ -526,6 +516,97 @@ function CreateRestorePoint } #endregion Protection +#region Set GPO +<# + .SYNOPSIS + Create pre-configured text files for LGPO.exe tool + + .EXAMPLE + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 + + .NOTES + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 + + .NOTES + Machine-wide user +#> +function script:Set-Policy +{ + [CmdletBinding()] + param + ( + [Parameter( + Mandatory = $true, + Position = 1 + )] + [string] + [ValidateSet("Computer", "User")] + $Scope, + + [Parameter( + Mandatory = $true, + Position = 2 + )] + [string] + $Path, + + [Parameter( + Mandatory = $true, + Position = 3 + )] + [string] + $Name, + + [Parameter( + Mandatory = $true, + Position = 4 + )] + [ValidateSet("DWORD", "SZ", "EXSZ", "CLEAR")] + [string] + $Type, + + [Parameter( + Mandatory = $false, + Position = 5 + )] + $Value + ) + + switch ($Type) + { + "CLEAR" + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type)`n +"@ + } + default + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type):$($Value)`n +"@ + } + } + + if ($Scope -eq "Computer") + { + $Path = "$env:TEMP\Computer.txt" + } + else + { + $Path = "$env:TEMP\User.txt" + } + + Add-Content -Path $Path -Value $Policy -Encoding Default -Force +} +#endregion Set GPO + #region Privacy & Telemetry <# .SYNOPSIS @@ -637,32 +718,33 @@ function DiagnosticDataLevel if (Get-WindowsEdition -Online | Where-Object -FilterScript {($_.Edition -like "Enterprise*") -or ($_.Edition -eq "Education")}) { # Security level - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 } else { # Required diagnostic data - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 } New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 1 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force } "Default" { # Optional diagnostic data - Remove-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type CLEAR New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force } } } @@ -712,7 +794,7 @@ function ErrorReporting if ((Get-WindowsEdition -Online).Edition -notmatch "Core") { Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } Get-Service -Name WerSvc | Stop-Service -Force @@ -721,7 +803,7 @@ function ErrorReporting "Enable" { Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -771,15 +853,15 @@ function FeedbackFrequency { "Never" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Siuf\Rules)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force + New-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force } "Automatically" { - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force -ErrorAction Ignore } } } @@ -1268,19 +1350,19 @@ function AdvertisingID { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1327,11 +1409,11 @@ function WindowsWelcomeExperience { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1378,11 +1460,11 @@ function WindowsTips { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1429,15 +1511,15 @@ function SettingsSuggestedContent { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1484,11 +1566,11 @@ function AppsSilentInstalling { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1535,19 +1617,19 @@ function WhatsNewInWindows { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1594,11 +1676,11 @@ function TailoredExperiences { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1645,15 +1727,17 @@ function BingSearch { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type CLEAR } } } @@ -1702,15 +1786,15 @@ function ThisPC { "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force } "Hide" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore } } } @@ -1757,11 +1841,11 @@ function CheckBoxes { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force } } } @@ -1808,11 +1892,11 @@ function HiddenItems { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force } } } @@ -1859,11 +1943,11 @@ function FileExtensions { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force } } } @@ -1910,11 +1994,11 @@ function MergeConflicts { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force } } } @@ -1961,11 +2045,11 @@ function OpenFileExplorerTo { "ThisPC" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force } "QuickAccess" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force } } } @@ -2014,14 +2098,14 @@ function CortanaButton { if (Get-AppxPackage -Name Microsoft.549981C3F5F10) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 0 -Force } } "Show" { if (Get-AppxPackage -Name Microsoft.549981C3F5F10) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 1 -Force } } } @@ -2069,11 +2153,11 @@ function OneDriveFileExplorerAd { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force } } } @@ -2120,11 +2204,11 @@ function SnapAssist { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force } } } @@ -2171,19 +2255,19 @@ function FileTransferDialog { "Detailed" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force } "Compact" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force } } } @@ -2230,19 +2314,19 @@ function FileExplorerRibbon { "Expanded" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force } "Minimized" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force } } } @@ -2285,19 +2369,19 @@ function RecycleBinDeleteConfirmation $Disable ) - $ShellState = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState + $ShellState = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState switch ($PSCmdlet.ParameterSetName) { "Enable" { $ShellState[4] = 51 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } "Disable" { $ShellState[4] = 55 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } } } @@ -2399,11 +2483,11 @@ function QuickAccessRecentFiles { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force } } } @@ -2450,11 +2534,11 @@ function QuickAccessFrequentFolders { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force } } } @@ -2514,15 +2598,15 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "SearchIcon" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } "SearchBox" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force } } } @@ -2569,13 +2653,13 @@ function SearchHighlights { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 1 -Force } } } @@ -2622,11 +2706,11 @@ function TaskViewButton { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force } } } @@ -2673,19 +2757,19 @@ function PeopleTaskbar { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force } "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force } } } @@ -2732,11 +2816,11 @@ function SecondsInSystemClock { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force } } } @@ -2796,15 +2880,15 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "SearchIcon" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } "SearchBox" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force } } } @@ -2851,11 +2935,11 @@ function WindowsInkWorkspace { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 1 -Force } } } @@ -2902,11 +2986,11 @@ function NotificationAreaIcons { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force } } } @@ -3178,30 +3262,30 @@ function ControlPanelView { "Category" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 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)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -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 1 -Force } "SmallIcons" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -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 } } } @@ -3248,11 +3332,11 @@ function WindowsColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -3299,11 +3383,11 @@ function AppColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -3518,7 +3602,7 @@ function TaskManagerWindow do { Start-Sleep -Milliseconds 100 - $Preferences = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences + $Preferences = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences } until ($Preferences) @@ -3529,12 +3613,12 @@ function TaskManagerWindow "Expanded" { $Preferences[28] = 0 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } "Compact" { $Preferences[28] = 1 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } } } @@ -3632,15 +3716,15 @@ function ShortcutsSuffix { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore } } } @@ -3797,6 +3881,333 @@ function AeroShaking } } } + +<# + .SYNOPSIS + Free "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Dark + Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Light + Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Default + Set default cursors + + .EXAMPLE + Cursors -Dark + + .EXAMPLE + Cursors -Light + + .EXAMPLE + Cursors -Default + + .LINK + https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356 + + .NOTES + The 09/09/22 version + + .NOTES + Current user +#> +function Cursors +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Dark" + )] + [switch] + $Dark, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Light" + )] + [switch] + $Light, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Dark" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_dark_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_dark_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_dark_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Light" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_light_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_light_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_light_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Default" + { + (Get-Item -Path "HKCU:\Control Panel\Cursors").Property.Split([System.Environment]::NewLine) | ForEach-Object -Process { + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name $_ -Value "" -Force + } + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force -ErrorAction Ignore + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 0 -Force + } + } + + # Reload cursor on-the-fly + $Signature = @{ + Namespace = "WinAPI" + Name = "SystemParamInfo" + Language = "CSharp" + MemberDefinition = @" +[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] +public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni); +"@ + } + if (-not ("WinAPI.SystemParamInfo" -as [type])) + { + Add-Type @Signature + } + [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) +} #endregion UI & Personalization #region OneDrive @@ -3922,7 +4333,7 @@ public static bool MarkFileDelete (string sourcefile) } Remove-ItemProperty -Path HKCU:\Environment -Name OneDrive, OneDriveConsumer -Force -ErrorAction Ignore - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path HKLM:\SOFTWARE\WOW6432Node\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path "$env:ProgramData\Microsoft OneDrive" -Recurse -Force -ErrorAction Ignore Remove-Item -Path $env:SystemDrive\OneDriveTemp -Recurse -Force -ErrorAction Ignore @@ -4025,7 +4436,7 @@ public static bool MarkFileDelete (string sourcefile) [xml]$OneDriveXML = $Content -replace "", "" $OneDriveURL = ($OneDriveXML).root.update.amd64binary.url - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ Uri = $OneDriveURL OutFile = "$DownloadsFolder\OneDriveSetup.exe" @@ -4048,7 +4459,7 @@ public static bool MarkFileDelete (string sourcefile) } # Save screenshots by pressing Win+PrtScr in the Pictures folder - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore Get-ScheduledTask -TaskName "Onedrive* Update*" | Enable-ScheduledTask Get-ScheduledTask -TaskName "Onedrive* Update*" | Start-ScheduledTask @@ -4102,19 +4513,19 @@ function StorageSense { "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force } "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force } } } @@ -4161,16 +4572,16 @@ function StorageSenseTempFiles { "Enable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force } } "Disable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force } } } @@ -4218,16 +4629,16 @@ function StorageSenseFrequency { "Month" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force } } "Default" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force } } } @@ -4858,6 +5269,7 @@ function WaitNetworkStartup New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force } New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type DWORD -Value 1 } } "Disable" @@ -4865,6 +5277,7 @@ function WaitNetworkStartup if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain) { Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type CLEAR } } } @@ -4912,11 +5325,11 @@ function WindowsManageDefaultPrinter { "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force } } } @@ -6233,7 +6646,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] + $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] if ($CurrentUserFolder -ne $FolderPath) { if ((Get-ChildItem -Path $CurrentUserFolderPath | Measure-Object).Count -ne 0) @@ -6254,7 +6667,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force # Save desktop.ini in the UTF-16 LE encoding Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force @@ -6397,7 +6810,7 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6430,7 +6843,7 @@ public static string GetString(uint strId) # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6463,7 +6876,7 @@ public static string GetString(uint strId) # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6496,7 +6909,7 @@ public static string GetString(uint strId) # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6529,7 +6942,7 @@ public static string GetString(uint strId) # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6562,7 +6975,7 @@ public static string GetString(uint strId) # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6595,7 +7008,7 @@ public static string GetString(uint strId) "Custom" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6638,7 +7051,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6681,7 +7094,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6724,7 +7137,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6767,7 +7180,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6810,7 +7223,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6855,7 +7268,7 @@ public static string GetString(uint strId) "Default" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6885,7 +7298,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6915,7 +7328,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6945,7 +7358,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6975,7 +7388,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -7005,7 +7418,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -7096,8 +7509,8 @@ function WinPrtScrFolder $OneDriveInstalled = Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore if ($OneDriveUninstallFunctionUncommented -or (-not $OneDriveInstalled)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -7110,8 +7523,8 @@ function WinPrtScrFolder # A preset file isn't taking a part so we ignore it and check only whether OneDrive was already uninstalled if (-not (Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -7122,7 +7535,7 @@ function WinPrtScrFolder } "Default" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore } } } @@ -7189,14 +7602,14 @@ function RecommendedTroubleshooting } # Set the OS level of diagnostic data gathering to "Optional diagnostic data" - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 # Turn on Windows Error Reporting Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -7244,11 +7657,11 @@ function FoldersLaunchSeparateProcess { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force } } } @@ -7353,15 +7766,15 @@ function F1HelpPage { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force + New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force } "Enable" { - Remove-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore + Remove-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore } } } @@ -7561,11 +7974,11 @@ function Autoplay { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force } } } @@ -7663,11 +8076,11 @@ function SaveRestartableApps { "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force } } } @@ -8125,11 +8538,11 @@ namespace RegistryUtils $Icon ) - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force } function Remove-UserChoiceKey @@ -8194,33 +8607,33 @@ namespace RegistryUtils if ($OrigProgID) { # Save possible ProgIds history with extension - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force } $Name = "{0}_$Extension" -f (Split-Path -Path $ProgId -Leaf) - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force if ("$ProgId_$Extension" -ne $Name) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force } # If ProgId doesn't exist set the specified ProgId for the extensions if (-not $OrigProgID) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } # Set the specified ProgId in the possible options for the assignment - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force # Set the system ProgId to the extension parameters for the File Explorer to the possible options for the assignment, and if absent set the specified ProgId if ($OrigProgID) @@ -8298,18 +8711,18 @@ namespace RegistryUtils foreach ($AppxProgID in ($OpenSubkey | Where-Object -FilterScript {$_ -match "AppX"})) { # If an app is installed - if (Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Classes\$AppxProgID\Shell\open" -Name PackageId) + if (Get-ItemPropertyValue -Path "HKCU:\Software\Classes\$AppxProgID\Shell\open" -Name PackageId) { # If the specified ProgId is equal to UWP installed ProgId if ($ProgId -eq $AppxProgID) { # Remove association limitations for this UWP apps - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore } else { - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force } } } @@ -8320,7 +8733,7 @@ namespace RegistryUtils if (($picture -eq "picture") -and $PBrush) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force } } @@ -8531,18 +8944,18 @@ namespace FileAssoc if ($ProgramPath) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force $FileNameEXE = Split-Path -Path $ProgramPath -Leaf - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force } if ($Icon) @@ -8625,10 +9038,10 @@ function UninstallPCHealthCheck <# .SYNOPSIS - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) .EXAMPLE - InstallVCRedistx64 + InstallVCRedist .LINK https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist @@ -8636,7 +9049,7 @@ function UninstallPCHealthCheck .NOTES Machine-wide #> -function InstallVCRedistx64 +function InstallVCRedist { try { @@ -8654,11 +9067,22 @@ function InstallVCRedistx64 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { + winget install --id=Microsoft.VCRedist.2015+.x86 --exact --accept-source-agreements winget install --id=Microsoft.VCRedist.2015+.x64 --exact --accept-source-agreements } else { - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://aka.ms/vs/17/release/VC_redist.x86.exe" + OutFile = "$DownloadsFolder\VC_redist.x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\VC_redist.x86.exe" -ArgumentList "/install /passive /norestart" -Wait + $Parameters = @{ Uri = "https://aka.ms/vs/17/release/VC_redist.x64.exe" OutFile = "$DownloadsFolder\VC_redist.x64.exe" @@ -8678,7 +9102,7 @@ function InstallVCRedistx64 (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP [System.IO.Path]::GetTempPath() #> - Get-ChildItem -Path "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore + Get-ChildItem -Path "$DownloadsFolder\VC_redist.x86.exe", "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amdx86_*.log", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore } } catch [System.Net.WebException] @@ -8734,7 +9158,7 @@ function InstallDotNetRuntime6 UseBasicParsing = $true } $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" # .NET Desktop Runtime x86 $Parameters = @{ @@ -9129,11 +9553,11 @@ function AppSuggestions { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force } } } @@ -9449,12 +9873,12 @@ public static string GetString(uint strId) end { # Temporarily disable changing the Start menu layout - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -PropertyType ExpandString -Value $Script:StartLayout -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -PropertyType ExpandString -Value $Script:StartLayout -Force Start-Sleep -Seconds 3 @@ -9470,8 +9894,8 @@ public static string GetString(uint strId) Start-Sleep -Seconds 3 # Enable changing the Start menu layout - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -Force -ErrorAction Ignore - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -Force -ErrorAction Ignore Remove-Item -Path $Script:StartLayout -Force @@ -10339,10 +10763,10 @@ function HEIF return } - # https://github.com/Sophia-Community/SophiApp/tree/master/AppX - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + # https://github.com/farag2/Sophia-Script-for-Windows/tree/master/AppX + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ - Uri = "https://github.com/Sophia-Community/SophiApp/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" OutFile = "$DownloadsFolder\Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" UseBasicParsing = $true Verbose = $true @@ -10510,12 +10934,12 @@ function BackgroundUWPApps "Disable" { # Remove all excluded apps running in the background - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { + Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name * -Force } # Exclude apps from the Bundle only - $BackgroundAccessApplications = @((Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications).PSChildName) + $BackgroundAccessApplications = @((Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications).PSChildName) $ExcludedBackgroundAccessApplications = @() foreach ($BackgroundAccessApplication in $BackgroundAccessApplications) { @@ -10525,7 +10949,7 @@ function BackgroundUWPApps } } - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | Where-Object -FilterScript {$_.PSChildName -in $ExcludedBackgroundAccessApplications} | ForEach-Object -Process { + Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | Where-Object -FilterScript {$_.PSChildName -in $ExcludedBackgroundAccessApplications} | ForEach-Object -Process { New-ItemProperty -Path $_.PsPath -Name Disabled -PropertyType DWord -Value 1 -Force New-ItemProperty -Path $_.PsPath -Name DisabledByUser -PropertyType DWord -Value 1 -Force } @@ -10535,7 +10959,7 @@ function BackgroundUWPApps } "Enable" { - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { + Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name * -Force } } @@ -10597,12 +11021,12 @@ function XboxGameBar { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 1 -Force } } @@ -10652,14 +11076,14 @@ function XboxGameTips { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force } } "Enable" { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force } } } @@ -10708,11 +11132,11 @@ function SetAppGraphicsPerformance if ($OpenFileDialog.FileName) { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Force + New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force Write-Verbose -Message ("{0}" -f $OpenFileDialog.FileName) -Verbose } } @@ -10841,6 +11265,13 @@ function CleanupTask "Register" { Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore @@ -10953,11 +11384,11 @@ while (`$true) Register-ScheduledTask @Parameters -Force # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force # Register the "WindowsCleanup" protocol to be able to run the scheduled task by clicking the "Run" button in a toast if (-not (Test-Path -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command)) @@ -10969,7 +11400,7 @@ while (`$true) New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Name EditFlags -PropertyType DWord -Value 2162688 -Force # Start the "Windows Cleanup" task if the "Run" button clicked - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia Script\'' -TaskName ''Windows Cleanup''}"' -Force + New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia\'' -TaskName ''Windows Cleanup''}"' -Force $ToastNotification = @" [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -11035,7 +11466,7 @@ while (`$true) Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore } - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore @@ -11089,14 +11520,21 @@ function SoftwareDistributionTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') @@ -11196,7 +11634,14 @@ function TempTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore $TempTask = @" Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_.CreationTime -lt (Get-Date).AddDays(-1)} | Remove-Item -Recurse -Force @@ -11422,7 +11867,7 @@ function DismissMSAccount { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } } @@ -11431,7 +11876,7 @@ function DismissSmartScreenFilter { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force } } @@ -11535,10 +11980,12 @@ function CommandLineProcessAudit 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type CLEAR } } } @@ -11593,6 +12040,7 @@ function EventViewerCustomView # 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 $XML = @" @@ -11676,11 +12124,14 @@ function PowerShellModulesLogging } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -PropertyType String -Value * -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type DWORD -Value 1 + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Type SZ -Value * } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Force -ErrorAction Ignore Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type CLEAR } } } @@ -11732,10 +12183,12 @@ function PowerShellScriptsLogging New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Force } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type CLEAR } } } @@ -11836,15 +12289,17 @@ function SaveZoneInformation { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type CLEAR } } } @@ -11894,15 +12349,15 @@ function WindowsScriptHost { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore } } } @@ -12940,11 +13395,11 @@ function MultipleInvokeContext { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force } "Disable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore } } } @@ -12991,15 +13446,17 @@ function UseStoreOpenWith { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type DWORD -Value 1 } "Show" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type CLEAR } } } @@ -13014,13 +13471,7 @@ function UseStoreOpenWith UpdateLGPEPolicies .NOTES - Uses PolicyFileEditor module created by Dave Wyatt - - .LINK - https://www.powershellgallery.com/packages/PolicyFileEditor - - .LINK - https://github.com/dlwyatt/PolicyFileEditor + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 .NOTES Machine-wide user @@ -13053,29 +13504,37 @@ function UpdateLGPEPolicies # Parse every ADMX template searching if it contains full path and registry key simultaneously [xml]$config = Get-Content -Path $admx.FullName -Encoding UTF8 $config.SelectNodes("//@*") | ForEach-Object {$_.value = $_.value.ToLower()} - $SplitPath = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier + $SplitPath = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\Machine\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" } - Set-PolicyFileEntry @Parameters + "String" + { + "SZ" + } + } + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item } - catch - {} + Set-Policy @Parameters } } } @@ -13084,8 +13543,8 @@ function UpdateLGPEPolicies # Current User policies paths to scan recursively $CU_Paths = @( - "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies", - "HKCU:\SOFTWARE\Policies\Microsoft" + "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies", + "HKCU:\Software\Policies\Microsoft" ) foreach ($Path in (@(Get-ChildItem -Path $CU_Paths -Recurse -Force))) { @@ -13104,72 +13563,43 @@ function UpdateLGPEPolicies if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\User\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_CURRENT_USER\", "HKCU:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" } - Set-PolicyFileEntry @Parameters } - catch - {} + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_CURRENT_USER\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item + } + Set-Policy @Parameters } } } } } - # Re-build GPT.ini if it doesn't exist - if (-not (Test-Path -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini)) - { - Start-Process -FilePath gpedit.msc - Start-Sleep -Seconds 2 - - # Get mmc.exe's Id with its' argument (gpedit.msc) to close - $gpedit_Process_ID = (Get-CimInstance -ClassName CIM_Process | Where-Object -FilterScript { - $_.Name -eq "mmc.exe" - } | Where-Object -FilterScript {$_.CommandLine -match "GPEDIT.MSC"}).Handle - Get-Process -Id $gpedit_Process_ID | Stop-Process -Force - } - - Update-GptIniVersion -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini -PolicyType Machine, User - - # Apply the new policy immediately gpupdate.exe /force } #endregion Update Policies -# Errors output -function Errors -{ - if ($Global:Error) - { - ($Global:Error | ForEach-Object -Process { - # Some errors may have the Windows nature and don't have a path to any of the module's files - $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) - { - Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf - } - - [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = $ErrorInFile - $Localization.ErrorsMessage = $_.Exception.Message - } - } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() - } -} - #region Refresh Environment function RefreshEnvironment { @@ -13328,8 +13758,23 @@ public static void PostMessage() $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel").Show($ToastMessage) - Stop-Process -Name explorer -Force + if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) + { + if (Test-Path -Path "$env:TEMP\Computer.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\Computer.txt" + } + if (Test-Path -Path "$env:TEMP\User.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\User.txt" + } + + gpupdate /force + } + + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + Stop-Process -Name explorer -Force Start-Sleep -Seconds 3 # Restoring closed folders @@ -13341,4 +13786,24 @@ public static void PostMessage() } } } + +function Errors +{ + if ($Global:Error) + { + ($Global:Error | ForEach-Object -Process { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + + [PSCustomObject]@{ + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile + $Localization.ErrorsMessage = $_.Exception.Message + } + } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() + } +} #endregion Refresh Environment diff --git a/src/Sophia_Script_for_Windows_10/Sophia.ps1 b/src/Sophia_Script_for_Windows_10/Sophia.ps1 index f16dce5f..ab3dc83f 100644 --- a/src/Sophia_Script_for_Windows_10/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 10" - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -40,13 +40,16 @@ . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file - .LINK GitHub link + .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -71,17 +74,11 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.13.6 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# Used for UpdateLGPEPolicies function -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScriptRoot\Localizations -FileName Sophia <# @@ -106,7 +103,7 @@ if ($Functions) } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} exit } @@ -287,11 +284,11 @@ HiddenItems -Enable # Не показывать скрытые файлы, папки и диски (значение по умолчанию) # HiddenItems -Disable -# Show the file name extensions +# Show file name extensions # Отобразить расширения имён файлов FileExtensions -Show -# Hide the file name extensions (default value) +# Hide file name extensions (default value) # Скрывать расширения имён файлов файлов (значение по умолчанию) # FileExtensions -Hide @@ -562,6 +559,18 @@ AeroShaking -Enable # When I grab a windows's title bar and shake it, don't minimize all other windows # При захвате заголовка окна и встряхивании не сворачиваются все остальные окна # AeroShaking -Disable + +# Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные темные курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +Cursors -Dark + +# Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные светлые курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +# Cursors -Light + +# Set default cursors (default value) +# Установить курсоры по умолчанию (значение по умолчанию) +# Cursors -Default #endregion UI & Personalization #region OneDrive @@ -625,12 +634,12 @@ Win32LongPathLimit -Disable # Включить ограничение Windows на 260 символов в пути (значение по умолчанию) # Win32LongPathLimit -Enable -# Display the Stop error information on the BSoD -# Отображать Stop-ошибку при появлении BSoD +# Display Stop error code when BSoD occurs +# Отображать код Stop-ошибки при появлении BSoD BSoDStopError -Enable -# Do not display the Stop error information on the BSoD (default value) -# Не отображать Stop-ошибку при появлении BSoD (значение по умолчанию) +# Do not Stop error code when BSoD occurs (default value) +# Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию) # BSoDStopError -Disable # Choose when to be notified about changes to your computer: never notify @@ -893,7 +902,7 @@ ThumbnailCacheRemoval -Disable # ThumbnailCacheRemoval -Enable # Automatically saving my restartable apps when signing out and restart them after signing in -# Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе +# Автоматически сохранять мои перезапускаемые приложения при выходе из системы и перезапускать их при повторном входе SaveRestartableApps -Enable # Turn off automatically saving my restartable apps when signing out and restart them after signing in (default value) @@ -945,12 +954,12 @@ RestartDeviceAfterUpdate -Enable UninstallPCHealthCheck <# - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 - Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) + Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64) https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist #> -InstallVCRedistx64 +InstallVCRedist <# Install the latest .NET Desktop Runtime 6 (x86/x64) @@ -960,8 +969,8 @@ InstallVCRedistx64 #> InstallDotNetRuntime6 -# Enable proxying only blocked sites from the unified registry of Roskomnadzor -# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора +# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only +# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России # https://antizapret.prostovpn.org RKNBypass -Enable @@ -1428,18 +1437,9 @@ UseStoreOpenWith -Hide #region Update Policies # Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in # Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре -UpdateLGPEPolicies +# UpdateLGPEPolicies #endregion Update Policies -<# - Errors output - Please, do not comment out this function - - Вывод ошибок - Пожалуйста, не комментируйте данную функцию -#> -Errors - <# Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar @@ -1452,3 +1452,12 @@ Errors Пожалуйста, не комментируйте данную функцию #> RefreshEnvironment + +<# + Errors output + Please, do not comment out this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> +Errors diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 index 66d2e32b..d496e867 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v5.3.5 - Date: 09.10.2022 + Version: v5.4.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -49,21 +49,16 @@ function Sophia } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} } Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.3.5 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.4.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations # The mandatory checks. Please, do not comment out this function diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 index 8491f516..aa45cf54 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/de-DE/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Wiederherstellen Run = Starten SelectAll = Alle auswählen Skipped = Übersprungen +GPOUpdate = GPO-Aktualisierung... TelegramGroupTitle = Treten Sie unserer offiziellen Telegram-Gruppe bei TelegramChannelTitle = Treten Sie unserem offiziellen Telegram-Kanal bei DiscordChannelTitle = Treten Sie unserem offiziellen Discord-Kanal bei diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 index f32a0b50..c827a0d8 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/en-US/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Restore Run = Run SelectAll = Select all Skipped = Skipped +GPOUpdate = Updating GPO... TelegramGroupTitle = Join our official Telegram group TelegramChannelTitle = Join our official Telegram channel DiscordChannelTitle = Join our official Discord channel diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 index ae3b953c..5c05816a 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/es-ES/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Restaurar Run = Iniciar SelectAll = Seleccionar todo Skipped = Omitido +GPOUpdate = Actualización de GPO... TelegramGroupTitle = Únete a nuestro grupo oficial de Telegram TelegramChannelTitle = Únete a nuestro canal oficial de Telegram DiscordChannelTitle = Únete a nuestro canal oficial de Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 index b7912b1c..ee772bb7 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/fr-FR/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Restaurer Run = Démarrer SelectAll = Tout sélectionner Skipped = Passé +GPOUpdate = Mise à jour de la GPO... TelegramGroupTitle = Rejoignez notre groupe Telegram officiel TelegramChannelTitle = Rejoignez notre canal Telegram officiel DiscordChannelTitle = Rejoignez notre canal Discord officiel diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 index fd5f4a8b..b9eba196 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/hu-HU/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Visszaállítás Run = Futtatás SelectAll = Összes kijelölése Skipped = Átugorva +GPOUpdate = GPO frissítése... TelegramGroupTitle = Pridružite se našoj službenoj grupi Telegram TelegramChannelTitle = Pridružite se našem službenom kanalu Telegram DiscordChannelTitle = Pridružite se našem službenom kanalu Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 index 0087b621..55e8c531 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/it-IT/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Ristabilire Run = Eseguire SelectAll = Seleziona tutto Skipped = Saltato +GPOUpdate = Aggiornamento GPO... TelegramGroupTitle = Unisciti al nostro gruppo ufficiale Telegram TelegramChannelTitle = Unisciti al nostro canale ufficiale di Telegram DiscordChannelTitle = Unisciti al nostro canale ufficiale di Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 index 27009ba5..9aadc3e4 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/pt-BR/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Restaurar Run = Executar SelectAll = Selecionar tudo Skipped = Ignorados +GPOUpdate = Actualização do GPO... TelegramGroupTitle = Entre no grupo oficial do Telegram TelegramChannelTitle = Entre no canal oficial do Telegram DiscordChannelTitle = Entre no canal oficial do Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 index 92354697..265e45bf 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/ru-RU/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Восстановить Run = Запустить SelectAll = Выбрать всё Skipped = Пропущено +GPOUpdate = Обновление GPO... TelegramGroupTitle = Присоединяйтесь к нашей официальной группе в Telegram TelegramChannelTitle = Присоединяйтесь к нашему официальному каналу в Telegram DiscordChannelTitle = Присоединяйтесь к нашему официальному каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 index 55f49395..3560fe41 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/tr-TR/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Onar Run = Başlat SelectAll = Hepsini seç Skipped = Atlandı +GPOUpdate = GPO Güncelleniyor... TelegramGroupTitle = Resmi Telegram grubumuza katılın TelegramChannelTitle = Resmi Telegram kanalımıza katılın DiscordChannelTitle = Resmi Discord kanalımıza katılın diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 index ebf27171..f56e2c76 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/uk-UA/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = Відновити Run = Запустити SelectAll = Обрати все Skipped = Пропущено +GPOUpdate = Оновлення GPO... TelegramGroupTitle = Приєднуйтесь до нашої офіційної групи в Telegram TelegramChannelTitle = Приєднуйтесь до нашого офіційного каналу в Telegram DiscordChannelTitle = Приєднуйтесь до нашого офіційного каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 index 4ea9cf03..ac0d0ee3 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Localizations/zh-CN/Sophia.psd1 @@ -68,6 +68,7 @@ Restore = 恢复 Run = 运行 SelectAll = 全选 Skipped = 已跳过 +GPOUpdate = GPO更新…… TelegramGroupTitle = 加入我们的官方Telegram 群 TelegramChannelTitle = 加入我们的官方Telegram 频道 DiscordChannelTitle = 加入我们的官方Discord 频道 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 index b1012304..d1df0fe0 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '5.3.5' + ModuleVersion = '5.4.0' GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved' diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 index 696a2393..50241691 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v5.3.5 - Date: 09.10.2022 + Version: v5.4.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -27,10 +27,13 @@ .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -60,13 +63,6 @@ function Checks # Unblock all files in the script folder by removing the Zone.Identifier alternate data stream with a value of "3" Get-ChildItem -Path $PSScriptRoot\..\ -File -Recurse -Force | Unblock-File - # A temp workaround to check whether PolFileEditor.dl assembly was loaded due to even it was unblocked it's blocked loading into PowerShell session - if (-not ([System.AppDomain]::CurrentDomain.GetAssemblies() | Where-Object -FilterScript {$_.Location -eq "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll"})) - { - Write-Verbose -Message "You must close powershell.exe and re-run script" -Verbose - exit - } - # Detect the OS bitness if (-not [System.Environment]::Is64BitOperatingSystem) { @@ -169,15 +165,8 @@ function Checks exit } - # Check whether libraries exist in the bin folder - $Libraries = @( - "$PSScriptRoot\..\bin\PolicyFileEditor\Commands.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\Common.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psd1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psm1" - ) - if (($Libraries | Test-Path) -contains $false) + # Check whether LGPO.exe exists in the bin folder + if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")) { Write-Warning -Message $Localization.Bin Start-Sleep -Seconds 5 @@ -442,6 +431,8 @@ function Checks } } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } @@ -462,7 +453,7 @@ function CreateRestorePoint $SystemDriveUniqueID = (Get-Volume | Where-Object -FilterScript {$_.DriveLetter -eq "$($env:SystemDrive[0])"}).UniqueID $SystemProtection = ((Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SPP\Clients" -ErrorAction Ignore)."{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}") | Where-Object -FilterScript {$_ -match [regex]::Escape($SystemDriveUniqueID)} - $ComputerRestorePoint = $false + $Script:ComputerRestorePoint = $false if ($null -eq $SystemProtection) { @@ -486,6 +477,97 @@ function CreateRestorePoint } #endregion Protection +#region Set GPO +<# + .SYNOPSIS + Create pre-configured text files for LGPO.exe tool + + .EXAMPLE + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 + + .NOTES + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 + + .NOTES + Machine-wide user +#> +function script:Set-Policy +{ + [CmdletBinding()] + param + ( + [Parameter( + Mandatory = $true, + Position = 1 + )] + [string] + [ValidateSet("Computer", "User")] + $Scope, + + [Parameter( + Mandatory = $true, + Position = 2 + )] + [string] + $Path, + + [Parameter( + Mandatory = $true, + Position = 3 + )] + [string] + $Name, + + [Parameter( + Mandatory = $true, + Position = 4 + )] + [ValidateSet("DWORD", "SZ", "EXSZ", "CLEAR")] + [string] + $Type, + + [Parameter( + Mandatory = $false, + Position = 5 + )] + $Value + ) + + switch ($Type) + { + "CLEAR" + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type)`n +"@ + } + default + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type):$($Value)`n +"@ + } + } + + if ($Scope -eq "Computer") + { + $Path = "$env:TEMP\Computer.txt" + } + else + { + $Path = "$env:TEMP\User.txt" + } + + Add-Content -Path $Path -Value $Policy -Encoding Default -Force +} +#endregion Set GPO + #region Privacy & Telemetry <# .SYNOPSIS @@ -591,22 +673,21 @@ function DiagnosticDataLevel "Minimal" { # Security level - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 1 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force } "Default" { # Full level - Remove-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type CLEAR New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force } } } @@ -656,7 +737,7 @@ function ErrorReporting if ((Get-WindowsEdition -Online).Edition -notmatch "Core") { Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } Get-Service -Name WerSvc | Stop-Service -Force @@ -665,7 +746,7 @@ function ErrorReporting "Enable" { Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -715,15 +796,15 @@ function FeedbackFrequency { "Never" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Siuf\Rules)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force + New-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force } "Automatically" { - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force -ErrorAction Ignore } } } @@ -1212,19 +1293,19 @@ function AdvertisingID { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1273,15 +1354,15 @@ function ThisPC { "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force } "Hide" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore } } } @@ -1328,11 +1409,11 @@ function CheckBoxes { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force } } } @@ -1379,11 +1460,11 @@ function HiddenItems { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force } } } @@ -1430,11 +1511,11 @@ function FileExtensions { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force } } } @@ -1481,11 +1562,11 @@ function MergeConflicts { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force } } } @@ -1532,11 +1613,11 @@ function OpenFileExplorerTo { "ThisPC" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force } "QuickAccess" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force } } } @@ -1583,11 +1664,11 @@ function SnapAssist { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force } } } @@ -1634,19 +1715,19 @@ function FileTransferDialog { "Detailed" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force } "Compact" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force } } } @@ -1693,19 +1774,19 @@ function FileExplorerRibbon { "Expanded" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force } "Minimized" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force } } } @@ -1748,19 +1829,19 @@ function RecycleBinDeleteConfirmation $Disable ) - $ShellState = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState + $ShellState = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState switch ($PSCmdlet.ParameterSetName) { "Enable" { $ShellState[4] = 51 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } "Disable" { $ShellState[4] = 55 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } } } @@ -1862,11 +1943,11 @@ function QuickAccessRecentFiles { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force } } } @@ -1913,11 +1994,11 @@ function QuickAccessFrequentFolders { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force } } } @@ -1964,11 +2045,11 @@ function TaskViewButton { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force } } } @@ -2015,19 +2096,19 @@ function PeopleTaskbar { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force } "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force } } } @@ -2074,11 +2155,11 @@ function SecondsInSystemClock { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force } } } @@ -2138,15 +2219,15 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "SearchIcon" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } "SearchBox" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force } } } @@ -2193,11 +2274,11 @@ function NotificationAreaIcons { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force } } } @@ -2257,30 +2338,30 @@ function ControlPanelView { "Category" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 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)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -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 1 -Force } "SmallIcons" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -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 } } } @@ -2327,11 +2408,11 @@ function WindowsColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -2546,7 +2627,7 @@ function TaskManagerWindow do { Start-Sleep -Milliseconds 100 - $Preferences = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences + $Preferences = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences } until ($Preferences) @@ -2557,12 +2638,12 @@ function TaskManagerWindow "Expanded" { $Preferences[28] = 0 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } "Compact" { $Preferences[28] = 1 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } } } @@ -2660,15 +2741,15 @@ function ShortcutsSuffix { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore } } } @@ -2774,6 +2855,333 @@ function AppsLanguageSwitch } } } + +<# + .SYNOPSIS + Free "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Dark + Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Light + Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Default + Set default cursors + + .EXAMPLE + Cursors -Dark + + .EXAMPLE + Cursors -Light + + .EXAMPLE + Cursors -Default + + .LINK + https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356 + + .NOTES + The 09/09/22 version + + .NOTES + Current user +#> +function Cursors +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Dark" + )] + [switch] + $Dark, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Light" + )] + [switch] + $Light, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Dark" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_dark_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_dark_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_dark_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Light" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_light_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_light_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_light_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Default" + { + (Get-Item -Path "HKCU:\Control Panel\Cursors").Property.Split([System.Environment]::NewLine) | ForEach-Object -Process { + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name $_ -Value "" -Force + } + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force -ErrorAction Ignore + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 0 -Force + } + } + + # Reload cursor on-the-fly + $Signature = @{ + Namespace = "WinAPI" + Name = "SystemParamInfo" + Language = "CSharp" + MemberDefinition = @" +[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] +public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni); +"@ + } + if (-not ("WinAPI.SystemParamInfo" -as [type])) + { + Add-Type @Signature + } + [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) +} #endregion UI & Personalization #region System @@ -2820,19 +3228,19 @@ function StorageSense { "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force } "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force } } } @@ -2879,16 +3287,16 @@ function StorageSenseTempFiles { "Enable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force } } "Disable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force } } } @@ -2936,16 +3344,16 @@ function StorageSenseFrequency { "Month" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force } } "Default" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force } } } @@ -3567,6 +3975,7 @@ function WaitNetworkStartup New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force } New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type DWORD -Value 1 } } "Disable" @@ -3574,6 +3983,7 @@ function WaitNetworkStartup if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain) { Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type CLEAR } } } @@ -3621,11 +4031,11 @@ function WindowsManageDefaultPrinter { "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force } } } @@ -4927,7 +5337,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] + $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] if ($CurrentUserFolder -ne $FolderPath) { if ((Get-ChildItem -Path $CurrentUserFolderPath | Measure-Object).Count -ne 0) @@ -4948,7 +5358,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force # Save desktop.ini in the UTF-16 LE encoding Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force @@ -5091,7 +5501,7 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5124,7 +5534,7 @@ public static string GetString(uint strId) # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5157,7 +5567,7 @@ public static string GetString(uint strId) # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5190,7 +5600,7 @@ public static string GetString(uint strId) # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5223,7 +5633,7 @@ public static string GetString(uint strId) # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5256,7 +5666,7 @@ public static string GetString(uint strId) # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5289,7 +5699,7 @@ public static string GetString(uint strId) "Custom" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5332,7 +5742,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5375,7 +5785,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5418,7 +5828,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5461,7 +5871,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5504,7 +5914,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5549,7 +5959,7 @@ public static string GetString(uint strId) "Default" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5579,7 +5989,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5609,7 +6019,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5639,7 +6049,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5669,7 +6079,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5699,7 +6109,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5773,12 +6183,12 @@ function WinPrtScrFolder { "Desktop" { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } "Default" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore } } } @@ -5825,11 +6235,11 @@ function FoldersLaunchSeparateProcess { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force } } } @@ -5876,15 +6286,15 @@ function F1HelpPage { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force + New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force } "Enable" { - Remove-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore + Remove-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore } } } @@ -6084,11 +6494,11 @@ function Autoplay { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force } } } @@ -6547,11 +6957,11 @@ namespace RegistryUtils $Icon ) - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force } function Remove-UserChoiceKey @@ -6616,33 +7026,33 @@ namespace RegistryUtils if ($OrigProgID) { # Save possible ProgIds history with extension - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force } $Name = "{0}_$Extension" -f (Split-Path -Path $ProgId -Leaf) - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force if ("$ProgId_$Extension" -ne $Name) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force } # If ProgId doesn't exist set the specified ProgId for the extensions if (-not $OrigProgID) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } # Set the specified ProgId in the possible options for the assignment - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force # Set the system ProgId to the extension parameters for the File Explorer to the possible options for the assignment, and if absent set the specified ProgId if ($OrigProgID) @@ -6720,18 +7130,18 @@ namespace RegistryUtils foreach ($AppxProgID in ($OpenSubkey | Where-Object -FilterScript {$_ -match "AppX"})) { # If an app is installed - if (Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Classes\$AppxProgID\Shell\open" -Name PackageId) + if (Get-ItemPropertyValue -Path "HKCU:\Software\Classes\$AppxProgID\Shell\open" -Name PackageId) { # If the specified ProgId is equal to UWP installed ProgId if ($ProgId -eq $AppxProgID) { # Remove association limitations for this UWP apps - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore } else { - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force } } } @@ -6742,7 +7152,7 @@ namespace RegistryUtils if (($picture -eq "picture") -and $PBrush) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force } } @@ -6953,18 +7363,18 @@ namespace FileAssoc if ($ProgramPath) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force $FileNameEXE = Split-Path -Path $ProgramPath -Leaf - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force } if ($Icon) @@ -7006,10 +7416,10 @@ public static void Refresh() <# .SYNOPSIS - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) .EXAMPLE - InstallVCRedistx64 + InstallVCRedist .LINK https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist @@ -7017,7 +7427,7 @@ public static void Refresh() .NOTES Machine-wide #> -function InstallVCRedistx64 +function InstallVCRedist { try { @@ -7033,7 +7443,17 @@ function InstallVCRedistx64 return } - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://aka.ms/vs/17/release/VC_redist.x86.exe" + OutFile = "$DownloadsFolder\VC_redist.x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\VC_redist.x86.exe" -ArgumentList "/install /passive /norestart" -Wait + $Parameters = @{ Uri = "https://aka.ms/vs/17/release/VC_redist.x64.exe" OutFile = "$DownloadsFolder\VC_redist.x64.exe" @@ -7053,7 +7473,7 @@ function InstallVCRedistx64 (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP [System.IO.Path]::GetTempPath() #> - Get-ChildItem -Path "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore + Get-ChildItem -Path "$DownloadsFolder\VC_redist.x86.exe", "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amdx86_*.log", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore } catch [System.Net.WebException] { @@ -7093,61 +7513,51 @@ function InstallDotNetRuntime6 return } - if (Get-AppxPackage -Name Microsoft.DesktopAppInstaller) - { - # .NET Desktop Runtime x86 - winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements - # .NET Desktop Runtime x64 - winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements + # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json + $Parameters = @{ + Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" + UseBasicParsing = $true } - else - { - # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json - $Parameters = @{ - Uri = "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json" - UseBasicParsing = $true - } - $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" - # .NET Desktop Runtime x86 - $Parameters = @{ - Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" - OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" - UseBasicParsing = $true - Verbose = $true - } - Invoke-WebRequest @Parameters + # .NET Desktop Runtime x86 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x86.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters - Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe" -ArgumentList "/install /passive /norestart" -Wait - # .NET Desktop Runtime x64 - $Parameters = @{ - Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" - OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" - UseBasicParsing = $true - Verbose = $true - } - Invoke-WebRequest @Parameters + # .NET Desktop Runtime x64 + $Parameters = @{ + Uri = "https://dotnetcli.azureedge.net/dotnet/Runtime/$LatestRelease/dotnet-runtime-$LatestRelease-win-x64.exe" + OutFile = "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters - Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait + Start-Process -FilePath "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe" -ArgumentList "/install /passive /norestart" -Wait - <# - PowerShell 5.1 (7.2 too) interprets the 8.3 file name literally, if an environment variable contains a non-latin word, - so you won't be able to remove "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" file explicitly + <# + PowerShell 5.1 (7.2 too) interprets the 8.3 file name literally, if an environment variable contains a non-latin word, + so you won't be able to remove "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" file explicitly - Another ways to get normal path to %TEMP% - [Environment]::GetEnvironmentVariable("TEMP", "User") - (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP - [System.IO.Path]::GetTempPath() - #> - $Paths = @( - "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", - "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", - "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" - ) - Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore - } + Another ways to get normal path to %TEMP% + [Environment]::GetEnvironmentVariable("TEMP", "User") + (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP + [System.IO.Path]::GetTempPath() + #> + $Paths = @( + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x86.exe", + "$DownloadsFolder\dotnet-runtime-$LatestRelease-win-x64.exe", + "$env:TEMP\Microsoft_Windows_Desktop_Runtime*.log" + ) + Get-ChildItem -Path $Paths -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore } catch [System.Net.WebException] { @@ -7315,11 +7725,11 @@ function AppSuggestions { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force } } } @@ -7424,11 +7834,11 @@ function SetAppGraphicsPerformance if ($OpenFileDialog.FileName) { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Force + New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force Write-Verbose -Message ("{0}" -f $OpenFileDialog.FileName) -Verbose } } @@ -7491,6 +7901,13 @@ function CleanupTask "Register" { Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore @@ -7603,11 +8020,11 @@ while (`$true) Register-ScheduledTask @Parameters -Force # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force # Register the "WindowsCleanup" protocol to be able to run the scheduled task by clicking the "Run" button in a toast if (-not (Test-Path -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command)) @@ -7619,7 +8036,7 @@ while (`$true) New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Name EditFlags -PropertyType DWord -Value 2162688 -Force # Start the "Windows Cleanup" task if the "Run" button clicked - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia Script\'' -TaskName ''Windows Cleanup''}"' -Force + New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia\'' -TaskName ''Windows Cleanup''}"' -Force $ToastNotification = @" [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -7685,7 +8102,7 @@ while (`$true) Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore } - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore @@ -7739,14 +8156,21 @@ function SoftwareDistributionTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') @@ -7846,7 +8270,14 @@ function TempTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore $TempTask = @" Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_.CreationTime -lt (Get-Date).AddDays(-1)} | Remove-Item -Recurse -Force @@ -8072,7 +8503,7 @@ function DismissMSAccount { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } } @@ -8081,7 +8512,7 @@ function DismissSmartScreenFilter { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force } } @@ -8185,10 +8616,12 @@ function CommandLineProcessAudit 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type CLEAR } } } @@ -8243,6 +8676,7 @@ function EventViewerCustomView # 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 $XML = @" @@ -8326,11 +8760,14 @@ function PowerShellModulesLogging } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -PropertyType String -Value * -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type DWORD -Value 1 + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Type SZ -Value * } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Force -ErrorAction Ignore Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type CLEAR } } } @@ -8382,10 +8819,12 @@ function PowerShellScriptsLogging New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Force } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type CLEAR } } } @@ -8486,15 +8925,17 @@ function SaveZoneInformation { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type CLEAR } } } @@ -8544,15 +8985,15 @@ function WindowsScriptHost { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore } } } @@ -9425,11 +9866,11 @@ function MultipleInvokeContext { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force } "Disable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore } } } @@ -9444,13 +9885,7 @@ function MultipleInvokeContext UpdateLGPEPolicies .NOTES - Uses PolicyFileEditor module created by Dave Wyatt - - .LINK - https://www.powershellgallery.com/packages/PolicyFileEditor - - .LINK - https://github.com/dlwyatt/PolicyFileEditor + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 .NOTES Machine-wide user @@ -9483,29 +9918,37 @@ function UpdateLGPEPolicies # Parse every ADMX template searching if it contains full path and registry key simultaneously [xml]$config = Get-Content -Path $admx.FullName -Encoding UTF8 $config.SelectNodes("//@*") | ForEach-Object {$_.value = $_.value.ToLower()} - $SplitPath = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier + $SplitPath = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\Machine\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" } - Set-PolicyFileEntry @Parameters + "String" + { + "SZ" + } + } + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item } - catch - {} + Set-Policy @Parameters } } } @@ -9514,8 +9957,8 @@ function UpdateLGPEPolicies # Current User policies paths to scan recursively $CU_Paths = @( - "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies", - "HKCU:\SOFTWARE\Policies\Microsoft" + "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies", + "HKCU:\Software\Policies\Microsoft" ) foreach ($Path in (@(Get-ChildItem -Path $CU_Paths -Recurse -Force))) { @@ -9534,72 +9977,43 @@ function UpdateLGPEPolicies if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\User\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_CURRENT_USER\", "HKCU:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" } - Set-PolicyFileEntry @Parameters } - catch - {} + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_CURRENT_USER\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item + } + Set-Policy @Parameters } } } } } - # Re-build GPT.ini if it doesn't exist - if (-not (Test-Path -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini)) - { - Start-Process -FilePath gpedit.msc - Start-Sleep -Seconds 2 - - # Get mmc.exe's Id with its' argument (gpedit.msc) to close - $gpedit_Process_ID = (Get-CimInstance -ClassName CIM_Process | Where-Object -FilterScript { - $_.Name -eq "mmc.exe" - } | Where-Object -FilterScript {$_.CommandLine -match "GPEDIT.MSC"}).Handle - Get-Process -Id $gpedit_Process_ID | Stop-Process -Force - } - - Update-GptIniVersion -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini -PolicyType Machine, User - - # Apply the new policy immediately gpupdate.exe /force } #endregion Update Policies -# Errors output -function Errors -{ - if ($Global:Error) - { - ($Global:Error | ForEach-Object -Process { - # Some errors may have the Windows nature and don't have a path to any of the module's files - $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) - { - Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf - } - - [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = $ErrorInFile - $Localization.ErrorsMessage = $_.Exception.Message - } - } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() - } -} - #region Refresh Environment function RefreshEnvironment { @@ -9758,8 +10172,23 @@ public static void PostMessage() $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel").Show($ToastMessage) - Stop-Process -Name explorer -Force + if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) + { + if (Test-Path -Path "$env:TEMP\Computer.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\Computer.txt" + } + if (Test-Path -Path "$env:TEMP\User.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\User.txt" + } + + gpupdate /force + } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + + Stop-Process -Name explorer -Force Start-Sleep -Seconds 3 # Restoring closed folders @@ -9771,4 +10200,24 @@ public static void PostMessage() } } } + +function Errors +{ + if ($Global:Error) + { + ($Global:Error | ForEach-Object -Process { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + + [PSCustomObject]@{ + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile + $Localization.ErrorsMessage = $_.Exception.Message + } + } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() + } +} #endregion Refresh Environment diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 index 0969e757..27c2b267 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 10 LTSC 2019" - Version: v5.3.5 - Date: 09.10.2022 + Version: v5.4.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -40,13 +40,16 @@ . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file - .LINK GitHub link + .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -71,17 +74,11 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.3.5 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2019 v5.4.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# Used for UpdateLGPEPolicies function -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScriptRoot\Localizations -FileName Sophia <# @@ -106,7 +103,7 @@ if ($Functions) } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} exit } @@ -434,6 +431,18 @@ AppsLanguageSwitch -Enable # Do not use a different input method for each app window (default value) # Не использовать метод ввода для каждого окна (значение по умолчанию) # AppsLanguageSwitch -Disable + +# Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные темные курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +Cursors -Dark + +# Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные светлые курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +# Cursors -Light + +# Set default cursors (default value) +# Установить курсоры по умолчанию (значение по умолчанию) +# Cursors -Default #endregion UI & Personalization #region System @@ -446,14 +455,6 @@ StorageSense -Enable # Выключить Контроль памяти (значение по умолчанию) # StorageSense -Disable -# Delete temporary files that apps aren't using -# Удалять временные файлы, не используемые в приложениях -StorageSenseTempFiles -Enable - -# Do not delete temporary files that apps aren't using -# Не удалять временные файлы, не используемые в приложениях -# StorageSenseTempFiles -Disable - # Run Storage Sense every month # Запускать Контроль памяти каждый месяц StorageSenseFrequency -Month @@ -461,6 +462,14 @@ StorageSenseFrequency -Month # Run Storage Sense during low free disk space (default value) # Запускать Контроль памяти, когда остается мало место на диске (значение по умолчанию) # StorageSenseFrequency -Default + +# Delete temporary files that apps aren't using +# Удалять временные файлы, не используемые в приложениях +StorageSenseTempFiles -Enable + +# Do not delete temporary files that apps aren't using +# Не удалять временные файлы, не используемые в приложениях +# StorageSenseTempFiles -Disable #endregion StorageSense # Disable hibernation. Do not recommend turning it off on laptops @@ -487,12 +496,12 @@ Win32LongPathLimit -Disable # Включить ограничение Windows на 260 символов в пути (значение по умолчанию) # Win32LongPathLimit -Enable -# Display the Stop error information on the BSoD -# Отображать Stop-ошибку при появлении BSoD +# Display Stop error code when BSoD occurs +# Отображать код Stop-ошибки при появлении BSoD BSoDStopError -Enable -# Do not display the Stop error information on the BSoD (default value) -# Не отображать Stop-ошибку при появлении BSoD (значение по умолчанию) +# Do not Stop error code when BSoD occurs (default value) +# Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию) # BSoDStopError -Disable # Choose when to be notified about changes to your computer: never notify @@ -746,12 +755,12 @@ ActiveHours -Automatically # Set-Association -ProgramPath "%ProgramFiles%\Notepad++\notepad++.exe" -Extension .txt -Icon "%ProgramFiles%\Notepad++\notepad++.exe,0" <# - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 - Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) + Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64) https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist #> -InstallVCRedistx64 +InstallVCRedist <# Install the latest .NET Desktop Runtime 6 (x86/x64) @@ -761,8 +770,8 @@ InstallVCRedistx64 #> InstallDotNetRuntime6 -# Enable proxying only blocked sites from the unified registry of Roskomnadzor -# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора +# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only +# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России # https://antizapret.prostovpn.org RKNBypass -Enable @@ -1080,18 +1089,9 @@ MultipleInvokeContext -Enable #region Update Policies # Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in # Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре -UpdateLGPEPolicies +# UpdateLGPEPolicies #endregion Update Policies -<# - Errors output - Please, do not comment out this function - - Вывод ошибок - Пожалуйста, не комментируйте данную функцию -#> -Errors - <# Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar @@ -1104,3 +1104,12 @@ Errors Пожалуйста, не комментируйте данную функцию #> RefreshEnvironment + +<# + Errors output + Please, do not comment out this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> +Errors diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 index dd6269b3..d190dae2 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -49,21 +49,16 @@ function Sophia } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} } Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.13.6 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.14.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations # The mandatory checks. Please, do not comment out this function diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 index ce1fb8d2..ee83a810 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/de-DE/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Wiederherstellen Run = Starten SelectAll = Alle auswählen Skipped = Übersprungen +GPOUpdate = GPO-Aktualisierung... TelegramGroupTitle = Treten Sie unserer offiziellen Telegram-Gruppe bei TelegramChannelTitle = Treten Sie unserem offiziellen Telegram-Kanal bei DiscordChannelTitle = Treten Sie unserem offiziellen Discord-Kanal bei diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 index 3a4e0910..21ed4bc4 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/en-US/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Restore Run = Run SelectAll = Select all Skipped = Skipped +GPOUpdate = Updating GPO... TelegramGroupTitle = Join our official Telegram group TelegramChannelTitle = Join our official Telegram channel DiscordChannelTitle = Join our official Discord channel diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 index 84a2cfb5..814eed53 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/es-ES/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Restaurar Run = Iniciar SelectAll = Seleccionar todo Skipped = Omitido +GPOUpdate = Actualización de GPO... TelegramGroupTitle = Únete a nuestro grupo oficial de Telegram TelegramChannelTitle = Únete a nuestro canal oficial de Telegram DiscordChannelTitle = Únete a nuestro canal oficial de Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 index 120b9131..74af75d6 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/fr-FR/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Restaurer Run = Démarrer SelectAll = Tout sélectionner Skipped = Passé +GPOUpdate = Mise à jour de la GPO... TelegramGroupTitle = Rejoignez notre groupe Telegram officiel TelegramChannelTitle = Rejoignez notre canal Telegram officiel DiscordChannelTitle = Rejoignez notre canal Discord officiel diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 index cd0b8a2b..bf414567 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/hu-HU/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Visszaállítás Run = Futtatás SelectAll = Összes kijelölése Skipped = Átugorva +GPOUpdate = GPO frissítése... TelegramGroupTitle = Pridružite se našoj službenoj grupi Telegram TelegramChannelTitle = Pridružite se našem službenom kanalu Telegram DiscordChannelTitle = Pridružite se našem službenom kanalu Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 index b4835341..5382efe3 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/it-IT/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Ristabilire Run = Eseguire SelectAll = Seleziona tutto Skipped = Saltato +GPOUpdate = Aggiornamento GPO... TelegramGroupTitle = Unisciti al nostro gruppo ufficiale Telegram TelegramChannelTitle = Unisciti al nostro canale ufficiale di Telegram DiscordChannelTitle = Unisciti al nostro canale ufficiale di Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 index fb9a55e0..4dffde3f 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/pt-BR/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Restaurar Run = Executar SelectAll = Selecionar tudo Skipped = Ignorados +GPOUpdate = Actualização do GPO... TelegramGroupTitle = Entre no grupo oficial do Telegram TelegramChannelTitle = Entre no canal oficial do Telegram DiscordChannelTitle = Entre no canal oficial do Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 index 24482864..fdf0fef7 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/ru-RU/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Восстановить Run = Запустить SelectAll = Выбрать всё Skipped = Пропущено +GPOUpdate = Обновление GPO... TelegramGroupTitle = Присоединяйтесь к нашей официальной группе в Telegram TelegramChannelTitle = Присоединяйтесь к нашему официальному каналу в Telegram DiscordChannelTitle = Присоединяйтесь к нашему официальному каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 index 57cdead7..d117f31a 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/tr-TR/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Onar Run = Başlat SelectAll = Hepsini seç Skipped = Atlandı +GPOUpdate = GPO Güncelleniyor... TelegramGroupTitle = Resmi Telegram grubumuza katılın TelegramChannelTitle = Resmi Telegram kanalımıza katılın DiscordChannelTitle = Resmi Discord kanalımıza katılın diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 index c94cda48..b26ac003 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/uk-UA/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = Відновити Run = Запустити SelectAll = Обрати все Skipped = Пропущено +GPOUpdate = Оновлення GPO... TelegramGroupTitle = Приєднуйтесь до нашої офіційної групи в Telegram TelegramChannelTitle = Приєднуйтесь до нашого офіційного каналу в Telegram DiscordChannelTitle = Приєднуйтесь до нашого офіційного каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 index 46c69fbf..182313ac 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Localizations/zh-CN/Sophia.psd1 @@ -70,6 +70,7 @@ Restore = 恢复 Run = 运行 SelectAll = 全选 Skipped = 已跳过 +GPOUpdate = GPO更新…… TelegramGroupTitle = 加入我们的官方Telegram 群 TelegramChannelTitle = 加入我们的官方Telegram 频道 DiscordChannelTitle = 加入我们的官方Discord 频道 diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 index b33dba54..d02aa8fd 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '5.13.6' + ModuleVersion = '5.14.0' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved' diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index 9d39c864..8f561a1c 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -27,10 +27,13 @@ .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -68,7 +71,7 @@ function Checks } # Detect the OS build version - switch (((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -eq 19044) -and ((Get-WindowsEdition -Online).Edition -eq "EnterpriseS")) + switch (((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -eq 19044) -and ((Get-WindowsEdition -Online).Edition -match "EnterpriseS")) { $true { @@ -162,15 +165,8 @@ function Checks exit } - # Check whether libraries exist in the bin folder - $Libraries = @( - "$PSScriptRoot\..\bin\PolicyFileEditor\Commands.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\Common.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psd1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psm1" - ) - if (($Libraries | Test-Path) -contains $false) + # Check whether LGPO.exe exists in the bin folder + if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")) { Write-Warning -Message $Localization.Bin Start-Sleep -Seconds 5 @@ -179,14 +175,6 @@ function Checks exit } - # A temp workaround to check whether PolFileEditor.dl assembly was loaded due to even it was unblocked it's blocked loading into PowerShell session - $PolFileEditor = (Resolve-Path -Path "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll").Path - if ([System.AppDomain]::CurrentDomain.GetAssemblies().Location -notcontains $PolFileEditor) - { - Write-Verbose -Message "You must close powershell.exe and re-run script" -Verbose - exit - } - # Check for a pending reboot $PendingActions = @( # CBS pending @@ -443,6 +431,8 @@ function Checks } } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } @@ -463,7 +453,7 @@ function CreateRestorePoint $SystemDriveUniqueID = (Get-Volume | Where-Object -FilterScript {$_.DriveLetter -eq "$($env:SystemDrive[0])"}).UniqueID $SystemProtection = ((Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SPP\Clients" -ErrorAction Ignore)."{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}") | Where-Object -FilterScript {$_ -match [regex]::Escape($SystemDriveUniqueID)} - $ComputerRestorePoint = $false + $Script:ComputerRestorePoint = $false if ($null -eq $SystemProtection) { @@ -487,6 +477,97 @@ function CreateRestorePoint } #endregion Protection +#region Set GPO +<# + .SYNOPSIS + Create pre-configured text files for LGPO.exe tool + + .EXAMPLE + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 + + .NOTES + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 + + .NOTES + Machine-wide user +#> +function script:Set-Policy +{ + [CmdletBinding()] + param + ( + [Parameter( + Mandatory = $true, + Position = 1 + )] + [string] + [ValidateSet("Computer", "User")] + $Scope, + + [Parameter( + Mandatory = $true, + Position = 2 + )] + [string] + $Path, + + [Parameter( + Mandatory = $true, + Position = 3 + )] + [string] + $Name, + + [Parameter( + Mandatory = $true, + Position = 4 + )] + [ValidateSet("DWORD", "SZ", "EXSZ", "CLEAR")] + [string] + $Type, + + [Parameter( + Mandatory = $false, + Position = 5 + )] + $Value + ) + + switch ($Type) + { + "CLEAR" + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type)`n +"@ + } + default + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type):$($Value)`n +"@ + } + } + + if ($Scope -eq "Computer") + { + $Path = "$env:TEMP\Computer.txt" + } + else + { + $Path = "$env:TEMP\User.txt" + } + + Add-Content -Path $Path -Value $Policy -Encoding Default -Force +} +#endregion Set GPO + #region Privacy & Telemetry <# .SYNOPSIS @@ -592,22 +673,21 @@ function DiagnosticDataLevel "Minimal" { # Security level - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 1 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force } "Default" { # Optional diagnostic data - Remove-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type CLEAR New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force } } } @@ -657,7 +737,7 @@ function ErrorReporting if ((Get-WindowsEdition -Online).Edition -notmatch "Core") { Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } Get-Service -Name WerSvc | Stop-Service -Force @@ -666,7 +746,7 @@ function ErrorReporting "Enable" { Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -716,15 +796,15 @@ function FeedbackFrequency { "Never" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Siuf\Rules)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force + New-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force } "Automatically" { - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force -ErrorAction Ignore } } } @@ -1213,19 +1293,19 @@ function AdvertisingID { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1272,19 +1352,19 @@ function WhatsNewInWindows { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1331,11 +1411,11 @@ function TailoredExperiences { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1382,15 +1462,17 @@ function BingSearch { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type CLEAR } } } @@ -1439,15 +1521,15 @@ function ThisPC { "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force } "Hide" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore } } } @@ -1494,11 +1576,11 @@ function CheckBoxes { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force } } } @@ -1545,11 +1627,11 @@ function HiddenItems { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force } } } @@ -1596,11 +1678,11 @@ function FileExtensions { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force } } } @@ -1647,11 +1729,11 @@ function MergeConflicts { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force } } } @@ -1698,11 +1780,11 @@ function OpenFileExplorerTo { "ThisPC" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force } "QuickAccess" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force } } } @@ -1749,11 +1831,11 @@ function OneDriveFileExplorerAd { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force } } } @@ -1800,11 +1882,11 @@ function SnapAssist { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force } } } @@ -1851,19 +1933,19 @@ function FileTransferDialog { "Detailed" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force } "Compact" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force } } } @@ -1910,19 +1992,19 @@ function FileExplorerRibbon { "Expanded" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force } "Minimized" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force } } } @@ -1965,19 +2047,19 @@ function RecycleBinDeleteConfirmation $Disable ) - $ShellState = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState + $ShellState = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState switch ($PSCmdlet.ParameterSetName) { "Enable" { $ShellState[4] = 51 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } "Disable" { $ShellState[4] = 55 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } } } @@ -2079,11 +2161,11 @@ function QuickAccessRecentFiles { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force } } } @@ -2130,11 +2212,11 @@ function QuickAccessFrequentFolders { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force } } } @@ -2181,11 +2263,11 @@ function TaskViewButton { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force } } } @@ -2232,19 +2314,19 @@ function PeopleTaskbar { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force } "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force } } } @@ -2291,11 +2373,11 @@ function SecondsInSystemClock { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force } } } @@ -2355,15 +2437,15 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "SearchIcon" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } "SearchBox" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force } } } @@ -2410,11 +2492,11 @@ function WindowsInkWorkspace { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 1 -Force } } } @@ -2461,11 +2543,11 @@ function NotificationAreaIcons { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force } } } @@ -2525,30 +2607,30 @@ function ControlPanelView { "Category" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 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)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -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 1 -Force } "SmallIcons" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -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 } } } @@ -2595,11 +2677,11 @@ function WindowsColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -2646,11 +2728,11 @@ function AppColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -2865,7 +2947,7 @@ function TaskManagerWindow do { Start-Sleep -Milliseconds 100 - $Preferences = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences + $Preferences = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences } until ($Preferences) @@ -2876,12 +2958,12 @@ function TaskManagerWindow "Expanded" { $Preferences[28] = 0 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } "Compact" { $Preferences[28] = 1 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } } } @@ -2979,15 +3061,15 @@ function ShortcutsSuffix { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore } } } @@ -3144,6 +3226,333 @@ function AeroShaking } } } + +<# + .SYNOPSIS + Free "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Dark + Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Light + Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Default + Set default cursors + + .EXAMPLE + Cursors -Dark + + .EXAMPLE + Cursors -Light + + .EXAMPLE + Cursors -Default + + .LINK + https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356 + + .NOTES + The 09/09/22 version + + .NOTES + Current user +#> +function Cursors +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Dark" + )] + [switch] + $Dark, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Light" + )] + [switch] + $Light, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Dark" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_dark_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_dark_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_dark_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Light" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_light_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_light_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_light_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Default" + { + (Get-Item -Path "HKCU:\Control Panel\Cursors").Property.Split([System.Environment]::NewLine) | ForEach-Object -Process { + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name $_ -Value "" -Force + } + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force -ErrorAction Ignore + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 0 -Force + } + } + + # Reload cursor on-the-fly + $Signature = @{ + Namespace = "WinAPI" + Name = "SystemParamInfo" + Language = "CSharp" + MemberDefinition = @" +[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] +public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni); +"@ + } + if (-not ("WinAPI.SystemParamInfo" -as [type])) + { + Add-Type @Signature + } + [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) +} #endregion UI & Personalization #region System @@ -3190,19 +3599,19 @@ function StorageSense { "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force } "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force } } } @@ -3249,16 +3658,16 @@ function StorageSenseTempFiles { "Enable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force } } "Disable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force } } } @@ -3306,16 +3715,16 @@ function StorageSenseFrequency { "Month" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force } } "Default" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force } } } @@ -3938,6 +4347,7 @@ function WaitNetworkStartup New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force } New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type DWORD -Value 1 } } "Disable" @@ -3945,6 +4355,7 @@ function WaitNetworkStartup if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain) { Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type CLEAR } } } @@ -3992,11 +4403,11 @@ function WindowsManageDefaultPrinter { "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force } } } @@ -5313,7 +5724,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] + $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] if ($CurrentUserFolder -ne $FolderPath) { if ((Get-ChildItem -Path $CurrentUserFolderPath | Measure-Object).Count -ne 0) @@ -5334,7 +5745,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force # Save desktop.ini in the UTF-16 LE encoding Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force @@ -5477,7 +5888,7 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5510,7 +5921,7 @@ public static string GetString(uint strId) # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5543,7 +5954,7 @@ public static string GetString(uint strId) # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5576,7 +5987,7 @@ public static string GetString(uint strId) # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5609,7 +6020,7 @@ public static string GetString(uint strId) # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5642,7 +6053,7 @@ public static string GetString(uint strId) # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5675,7 +6086,7 @@ public static string GetString(uint strId) "Custom" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5718,7 +6129,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5761,7 +6172,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5804,7 +6215,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5847,7 +6258,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5890,7 +6301,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5935,7 +6346,7 @@ public static string GetString(uint strId) "Default" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5965,7 +6376,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5995,7 +6406,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6025,7 +6436,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6055,7 +6466,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6085,7 +6496,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6159,12 +6570,12 @@ function WinPrtScrFolder { "Desktop" { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } "Default" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore } } } @@ -6231,14 +6642,14 @@ function RecommendedTroubleshooting } # Set the OS level of diagnostic data gathering to "Optional diagnostic data" - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 # Turn on Windows Error Reporting Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -6286,11 +6697,11 @@ function FoldersLaunchSeparateProcess { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force } } } @@ -6395,15 +6806,15 @@ function F1HelpPage { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force + New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force } "Enable" { - Remove-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore + Remove-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore } } } @@ -6603,11 +7014,11 @@ function Autoplay { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force } } } @@ -6705,11 +7116,11 @@ function SaveRestartableApps { "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force } } } @@ -7167,11 +7578,11 @@ namespace RegistryUtils $Icon ) - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force } function Remove-UserChoiceKey @@ -7236,33 +7647,33 @@ namespace RegistryUtils if ($OrigProgID) { # Save possible ProgIds history with extension - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force } $Name = "{0}_$Extension" -f (Split-Path -Path $ProgId -Leaf) - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force if ("$ProgId_$Extension" -ne $Name) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force } # If ProgId doesn't exist set the specified ProgId for the extensions if (-not $OrigProgID) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } # Set the specified ProgId in the possible options for the assignment - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force # Set the system ProgId to the extension parameters for the File Explorer to the possible options for the assignment, and if absent set the specified ProgId if ($OrigProgID) @@ -7340,18 +7751,18 @@ namespace RegistryUtils foreach ($AppxProgID in ($OpenSubkey | Where-Object -FilterScript {$_ -match "AppX"})) { # If an app is installed - if (Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Classes\$AppxProgID\Shell\open" -Name PackageId) + if (Get-ItemPropertyValue -Path "HKCU:\Software\Classes\$AppxProgID\Shell\open" -Name PackageId) { # If the specified ProgId is equal to UWP installed ProgId if ($ProgId -eq $AppxProgID) { # Remove association limitations for this UWP apps - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore } else { - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force } } } @@ -7362,7 +7773,7 @@ namespace RegistryUtils if (($picture -eq "picture") -and $PBrush) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force } } @@ -7573,18 +7984,18 @@ namespace FileAssoc if ($ProgramPath) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force $FileNameEXE = Split-Path -Path $ProgramPath -Leaf - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force } if ($Icon) @@ -7626,10 +8037,10 @@ public static void Refresh() <# .SYNOPSIS - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) .EXAMPLE - InstallVCRedistx64 + InstallVCRedist .LINK https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist @@ -7637,7 +8048,7 @@ public static void Refresh() .NOTES Machine-wide #> -function InstallVCRedistx64 +function InstallVCRedist { try { @@ -7653,7 +8064,17 @@ function InstallVCRedistx64 return } - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://aka.ms/vs/17/release/VC_redist.x86.exe" + OutFile = "$DownloadsFolder\VC_redist.x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\VC_redist.x86.exe" -ArgumentList "/install /passive /norestart" -Wait + $Parameters = @{ Uri = "https://aka.ms/vs/17/release/VC_redist.x64.exe" OutFile = "$DownloadsFolder\VC_redist.x64.exe" @@ -7673,7 +8094,7 @@ function InstallVCRedistx64 (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP [System.IO.Path]::GetTempPath() #> - Get-ChildItem -Path "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore + Get-ChildItem -Path "$DownloadsFolder\VC_redist.x86.exe", "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amdx86_*.log", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore } catch [System.Net.WebException] { @@ -7719,7 +8140,7 @@ function InstallDotNetRuntime6 UseBasicParsing = $true } $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" # .NET Desktop Runtime x86 $Parameters = @{ @@ -8113,11 +8534,11 @@ function AppSuggestions { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force } } } @@ -8433,12 +8854,12 @@ public static string GetString(uint strId) end { # Temporarily disable changing the Start menu layout - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -PropertyType ExpandString -Value $Script:StartLayout -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -PropertyType ExpandString -Value $Script:StartLayout -Force Start-Sleep -Seconds 3 @@ -8454,8 +8875,8 @@ public static string GetString(uint strId) Start-Sleep -Seconds 3 # Enable changing the Start menu layout - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -Force -ErrorAction Ignore - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -Force -ErrorAction Ignore Remove-Item -Path $Script:StartLayout -Force @@ -8514,11 +8935,11 @@ function SetAppGraphicsPerformance if ($OpenFileDialog.FileName) { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Force + New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force Write-Verbose -Message ("{0}" -f $OpenFileDialog.FileName) -Verbose } } @@ -8647,6 +9068,13 @@ function CleanupTask "Register" { Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore @@ -8759,11 +9187,11 @@ while (`$true) Register-ScheduledTask @Parameters -Force # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force # Register the "WindowsCleanup" protocol to be able to run the scheduled task by clicking the "Run" button in a toast if (-not (Test-Path -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command)) @@ -8775,7 +9203,7 @@ while (`$true) New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Name EditFlags -PropertyType DWord -Value 2162688 -Force # Start the "Windows Cleanup" task if the "Run" button clicked - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia Script\'' -TaskName ''Windows Cleanup''}"' -Force + New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia\'' -TaskName ''Windows Cleanup''}"' -Force $ToastNotification = @" [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -8841,7 +9269,7 @@ while (`$true) Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore } - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore @@ -8895,14 +9323,21 @@ function SoftwareDistributionTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') @@ -9002,7 +9437,14 @@ function TempTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore $TempTask = @" Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_.CreationTime -lt (Get-Date).AddDays(-1)} | Remove-Item -Recurse -Force @@ -9228,7 +9670,7 @@ function DismissMSAccount { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } } @@ -9237,7 +9679,7 @@ function DismissSmartScreenFilter { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force } } @@ -9341,10 +9783,12 @@ function CommandLineProcessAudit 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type CLEAR } } } @@ -9399,6 +9843,7 @@ function EventViewerCustomView # 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 $XML = @" @@ -9482,11 +9927,14 @@ function PowerShellModulesLogging } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -PropertyType String -Value * -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type DWORD -Value 1 + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Type SZ -Value * } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Force -ErrorAction Ignore Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type CLEAR } } } @@ -9538,10 +9986,12 @@ function PowerShellScriptsLogging New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Force } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type CLEAR } } } @@ -9642,15 +10092,17 @@ function SaveZoneInformation { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type CLEAR } } } @@ -9700,15 +10152,15 @@ function WindowsScriptHost { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore } } } @@ -10184,18 +10636,15 @@ function ImagesEditContext $Show ) - switch ($PSCmdlet.ParameterSetName) + if ((Get-WindowsCapability -Online -Name "Microsoft.Windows.MSPaint*").State -eq "Installed") { - "Hide" + switch ($PSCmdlet.ParameterSetName) { - if ((Get-WindowsCapability -Online -Name "Microsoft.Windows.MSPaint*").State -eq "Installed") + "Hide" { New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit -Name ProgrammaticAccessOnly -PropertyType String -Value "" -Force } - } - "Show" - { - if ((Get-WindowsCapability -Online -Name "Microsoft.Windows.MSPaint*").State -eq "Installed") + "Show" { Remove-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit -Name ProgrammaticAccessOnly -Force -ErrorAction Ignore } @@ -10638,11 +11087,11 @@ function MultipleInvokeContext { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force } "Disable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore } } } @@ -10657,13 +11106,7 @@ function MultipleInvokeContext UpdateLGPEPolicies .NOTES - Uses PolicyFileEditor module created by Dave Wyatt - - .LINK - https://www.powershellgallery.com/packages/PolicyFileEditor - - .LINK - https://github.com/dlwyatt/PolicyFileEditor + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 .NOTES Machine-wide user @@ -10696,29 +11139,37 @@ function UpdateLGPEPolicies # Parse every ADMX template searching if it contains full path and registry key simultaneously [xml]$config = Get-Content -Path $admx.FullName -Encoding UTF8 $config.SelectNodes("//@*") | ForEach-Object {$_.value = $_.value.ToLower()} - $SplitPath = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier + $SplitPath = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\Machine\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" } - Set-PolicyFileEntry @Parameters } - catch - {} + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item + } + Set-Policy @Parameters } } } @@ -10727,8 +11178,8 @@ function UpdateLGPEPolicies # Current User policies paths to scan recursively $CU_Paths = @( - "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies", - "HKCU:\SOFTWARE\Policies\Microsoft" + "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies", + "HKCU:\Software\Policies\Microsoft" ) foreach ($Path in (@(Get-ChildItem -Path $CU_Paths -Recurse -Force))) { @@ -10747,72 +11198,43 @@ function UpdateLGPEPolicies if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\User\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_CURRENT_USER\", "HKCU:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" } - Set-PolicyFileEntry @Parameters + "String" + { + "SZ" + } + } + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_CURRENT_USER\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item } - catch - {} + Set-Policy @Parameters } } } } } - # Re-build GPT.ini if it doesn't exist - if (-not (Test-Path -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini)) - { - Start-Process -FilePath gpedit.msc - Start-Sleep -Seconds 2 - - # Get mmc.exe's Id with its' argument (gpedit.msc) to close - $gpedit_Process_ID = (Get-CimInstance -ClassName CIM_Process | Where-Object -FilterScript { - $_.Name -eq "mmc.exe" - } | Where-Object -FilterScript {$_.CommandLine -match "GPEDIT.MSC"}).Handle - Get-Process -Id $gpedit_Process_ID | Stop-Process -Force - } - - Update-GptIniVersion -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini -PolicyType Machine, User - - # Apply the new policy immediately gpupdate.exe /force } #endregion Update Policies -# Errors output -function Errors -{ - if ($Global:Error) - { - ($Global:Error | ForEach-Object -Process { - # Some errors may have the Windows nature and don't have a path to any of the module's files - $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) - { - Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf - } - - [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = $ErrorInFile - $Localization.ErrorsMessage = $_.Exception.Message - } - } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() - } -} - #region Refresh Environment function RefreshEnvironment { @@ -10971,8 +11393,23 @@ public static void PostMessage() $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel").Show($ToastMessage) - Stop-Process -Name explorer -Force + if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) + { + if (Test-Path -Path "$env:TEMP\Computer.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\Computer.txt" + } + if (Test-Path -Path "$env:TEMP\User.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\User.txt" + } + + gpupdate /force + } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + + Stop-Process -Name explorer -Force Start-Sleep -Seconds 3 # Restoring closed folders @@ -10984,4 +11421,24 @@ public static void PostMessage() } } } + +function Errors +{ + if ($Global:Error) + { + ($Global:Error | ForEach-Object -Process { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + + [PSCustomObject]@{ + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile + $Localization.ErrorsMessage = $_.Exception.Message + } + } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() + } +} #endregion Refresh Environment diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 index 3a67871f..a69358e9 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 10 LTSC 2021" - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -40,13 +40,16 @@ . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file - .LINK GitHub link + .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -71,17 +74,11 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.13.6 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 LTSC 2021 v5.14.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# Used for UpdateLGPEPolicies function -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScriptRoot\Localizations -FileName Sophia <# @@ -106,7 +103,7 @@ if ($Functions) } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} exit } @@ -250,11 +247,11 @@ HiddenItems -Enable # Не показывать скрытые файлы, папки и диски (значение по умолчанию) # HiddenItems -Disable -# Show the file name extensions +# Show file name extensions # Отобразить расширения имён файлов FileExtensions -Show -# Hide the file name extensions (default value) +# Hide file name extensions (default value) # Скрывать расширения имён файлов файлов (значение по умолчанию) # FileExtensions -Hide @@ -489,6 +486,18 @@ AeroShaking -Enable # When I grab a windows's title bar and shake it, don't minimize all other windows # При захвате заголовка окна и встряхивании не сворачиваются все остальные окна # AeroShaking -Disable + +# Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные темные курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +Cursors -Dark + +# Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные светлые курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +# Cursors -Light + +# Set default cursors (default value) +# Установить курсоры по умолчанию (значение по умолчанию) +# Cursors -Default #endregion UI & Personalization #region System @@ -803,7 +812,7 @@ ThumbnailCacheRemoval -Disable # ThumbnailCacheRemoval -Enable # Automatically saving my restartable apps when signing out and restart them after signing in -# Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе +# Автоматически сохранять мои перезапускаемые приложения при выходе из системы и перезапускать их при повторном входе SaveRestartableApps -Enable # Turn off automatically saving my restartable apps when signing out and restart them after signing in (default value) @@ -844,12 +853,12 @@ RestartDeviceAfterUpdate -Enable # Set-Association -ProgramPath "%ProgramFiles%\Notepad++\notepad++.exe" -Extension .txt -Icon "%ProgramFiles%\Notepad++\notepad++.exe,0" <# - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 - Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) + Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64) https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist #> -InstallVCRedistx64 +InstallVCRedist <# Install the latest .NET Desktop Runtime 6 (x86/x64) @@ -859,8 +868,8 @@ InstallVCRedistx64 #> InstallDotNetRuntime6 -# Enable proxying only blocked sites from the unified registry of Roskomnadzor -# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора +# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only +# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России # https://antizapret.prostovpn.org RKNBypass -Enable @@ -1227,18 +1236,9 @@ MultipleInvokeContext -Enable #region Update Policies # Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in # Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре -UpdateLGPEPolicies +# UpdateLGPEPolicies #endregion Update Policies -<# - Errors output - Please, do not comment out this function - - Вывод ошибок - Пожалуйста, не комментируйте данную функцию -#> -Errors - <# Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar @@ -1251,3 +1251,12 @@ Errors Пожалуйста, не комментируйте данную функцию #> RefreshEnvironment + +<# + Errors output + Please, do not comment out this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> +Errors diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 index 2346d0c7..714b0aa4 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -49,21 +49,16 @@ function Sophia } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} } Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.13.6 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.0 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations # The mandatory checks. Please, do not comment out this function diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 index 93f7eb3b..db7b656b 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/de-DE/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Wiederherstellen Run = Starten SelectAll = Alle auswählen Skipped = Übersprungen +GPOUpdate = GPO-Aktualisierung... TelegramGroupTitle = Treten Sie unserer offiziellen Telegram-Gruppe bei TelegramChannelTitle = Treten Sie unserem offiziellen Telegram-Kanal bei DiscordChannelTitle = Treten Sie unserem offiziellen Discord-Kanal bei diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 index 3dc3bf0f..d538d85d 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restore Run = Run SelectAll = Select all Skipped = Skipped +GPOUpdate = Updating GPO... TelegramGroupTitle = Join our official Telegram group TelegramChannelTitle = Join our official Telegram channel DiscordChannelTitle = Join our official Discord channel diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 index dc752480..7a59ad78 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/es-ES/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restaurar Run = Iniciar SelectAll = Seleccionar todo Skipped = Omitido +GPOUpdate = Actualización de GPO... TelegramGroupTitle = Únete a nuestro grupo oficial de Telegram TelegramChannelTitle = Únete a nuestro canal oficial de Telegram DiscordChannelTitle = Únete a nuestro canal oficial de Discord diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 index d9979832..6c384e94 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/fr-FR/Sophia.psd1 @@ -77,8 +77,9 @@ Restore = Restaurer Run = Démarrer SelectAll = Tout sélectionner Skipped = Passé +GPOUpdate = Mise à jour de la GPO... TelegramGroupTitle = Rejoignez notre groupe Telegram officiel TelegramChannelTitle = Rejoignez notre canal Telegram officiel -DiscordChannelTitle = Rejoignez notre canal Discord channel +DiscordChannelTitle = Rejoignez notre canal Discord officiel Uninstall = Désinstaller '@ diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 index 9f8600e1..39465377 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/hu-HU/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Visszaállítás Run = Futtatás SelectAll = Összes kijelölése Skipped = Átugorva +GPOUpdate = GPO frissítése... TelegramGroupTitle = Pridružite se našoj službenoj grupi Telegram TelegramChannelTitle = Pridružite se našem službenom kanalu Telegram DiscordChannelTitle = Pridružite se našem službenom kanalu Discord diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 index 4d12c670..aa73ee5a 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/it-IT/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Ristabilire Run = Eseguire SelectAll = Seleziona tutto Skipped = Saltato +GPOUpdate = Aggiornamento GPO... TelegramGroupTitle = Unisciti al nostro gruppo ufficiale Telegram TelegramChannelTitle = Unisciti al nostro canale ufficiale di Telegram DiscordChannelTitle = Unisciti al nostro canale ufficiale di Discord diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 index 2a80feeb..105135b8 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/pt-BR/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Restaurar Run = Executar SelectAll = Selecionar tudo Skipped = Ignorados +GPOUpdate = Actualização do GPO... TelegramGroupTitle = Entre no grupo oficial do Telegram TelegramChannelTitle = Entre no canal oficial do Telegram DiscordChannelTitle = Entre no canal oficial do Discord diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 index 7b19d2e8..7595af85 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/ru-RU/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Восстановить Run = Запустить SelectAll = Выбрать всё Skipped = Пропущено +GPOUpdate = Обновление GPO... TelegramGroupTitle = Присоединяйтесь к нашей официальной группе в Telegram TelegramChannelTitle = Присоединяйтесь к нашему официальному каналу в Telegram DiscordChannelTitle = Присоединяйтесь к нашему официальному каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 index c2c56cdf..05499983 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/tr-TR/Sophia.psd1 @@ -70,13 +70,14 @@ NoInternetConnection = İnternet bağlantısı yok RestartFunction = Lütfen "{0}" işlevini yeniden çalıştırın NoResponse = {0} ile bağlantı kurulamadı No = Hayır -Yes = Yes +Yes = Evet Open = Açık Patient = Lütfen bekleyin... Restore = Onar Run = Başlat SelectAll = Hepsini seç Skipped = Atlandı +GPOUpdate = GPO Güncelleniyor... TelegramGroupTitle = Resmi Telegram grubumuza katılın TelegramChannelTitle = Resmi Telegram kanalımıza katılın DiscordChannelTitle = Resmi Discord kanalımıza katılın diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 index 57400a9d..0b2643eb 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/uk-UA/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = Відновити Run = Запустити SelectAll = Обрати все Skipped = Пропущено +GPOUpdate = Оновлення GPO... TelegramGroupTitle = Приєднуйтесь до нашої офіційної групи в Telegram TelegramChannelTitle = Приєднуйтесь до нашого офіційного каналу в Telegram DiscordChannelTitle = Приєднуйтесь до нашого офіційного каналу в Discord diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 index 25248e14..c50b8167 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Localizations/zh-CN/Sophia.psd1 @@ -77,6 +77,7 @@ Restore = 恢复 Run = 运行 SelectAll = 全选 Skipped = 已跳过 +GPOUpdate = GPO更新…… TelegramGroupTitle = 加入我们的官方Telegram 群 TelegramChannelTitle = 加入我们的官方Telegram 频道 DiscordChannelTitle = 加入我们的官方Discord 频道 diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 index 5c68987e..9ed024aa 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '5.13.6' + ModuleVersion = '5.14.0' GUID = 'aa0b47a7-1770-4b5d-8c9f-cc6c505bcc7a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved' diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 index 405c94cd..677b276e 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -27,10 +27,13 @@ .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -165,18 +168,8 @@ function Checks exit } - # Check whether libraries exist in the bin folder - $Libraries = @( - "$PSScriptRoot\..\bin\Microsoft.Windows.SDK.NET.dll", - "$PSScriptRoot\..\bin\WinRT.Runtime.dll", - "$PSScriptRoot\..\bin\Start_Layout\start.bin", - "$PSScriptRoot\..\bin\PolicyFileEditor\Commands.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\Common.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psd1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psm1" - ) - if (($Libraries | Test-Path) -contains $false) + # Check whether LGPO.exe exists in the bin folder + if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")) { Write-Warning -Message $Localization.Bin Start-Sleep -Seconds 5 @@ -185,14 +178,6 @@ function Checks exit } - # A temp workaround to check whether PolFileEditor.dl assembly was loaded due to even it was unblocked it's blocked loading into PowerShell session - $PolFileEditor = (Resolve-Path -Path "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll").Path - if ([System.AppDomain]::CurrentDomain.GetAssemblies().Location -notcontains $PolFileEditor) - { - Write-Verbose -Message "You must close powershell.exe and re-run script" -Verbose - exit - } - # Check for a pending reboot $PendingActions = @( # CBS pending @@ -485,6 +470,8 @@ function Checks } } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + # Import PowerShell 5.1 modules Import-Module -Name Microsoft.PowerShell.Management, PackageManagement, Appx -UseWindowsPowerShell @@ -531,6 +518,97 @@ function CreateRestorePoint } #endregion Protection +#region Set GPO +<# + .SYNOPSIS + Create pre-configured text files for LGPO.exe tool + + .EXAMPLE + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 + + .NOTES + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 + + .NOTES + Machine-wide user +#> +function script:Set-Policy +{ + [CmdletBinding()] + param + ( + [Parameter( + Mandatory = $true, + Position = 1 + )] + [string] + [ValidateSet("Computer", "User")] + $Scope, + + [Parameter( + Mandatory = $true, + Position = 2 + )] + [string] + $Path, + + [Parameter( + Mandatory = $true, + Position = 3 + )] + [string] + $Name, + + [Parameter( + Mandatory = $true, + Position = 4 + )] + [ValidateSet("DWORD", "SZ", "EXSZ", "CLEAR")] + [string] + $Type, + + [Parameter( + Mandatory = $false, + Position = 5 + )] + $Value + ) + + switch ($Type) + { + "CLEAR" + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type)`n +"@ + } + default + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type):$($Value)`n +"@ + } + } + + if ($Scope -eq "Computer") + { + $Path = "$env:TEMP\Computer.txt" + } + else + { + $Path = "$env:TEMP\User.txt" + } + + Add-Content -Path $Path -Value $Policy -Encoding Default -Force +} +#endregion Set GPO + #region Privacy & Telemetry <# .SYNOPSIS @@ -642,32 +720,33 @@ function DiagnosticDataLevel if (Get-WindowsEdition -Online | Where-Object -FilterScript {($_.Edition -like "Enterprise*") -or ($_.Edition -eq "Education")}) { # Security level - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 } else { # Required diagnostic data - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 } New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 1 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force } "Default" { # Optional diagnostic data - Remove-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type CLEAR New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force } } } @@ -717,7 +796,7 @@ function ErrorReporting if ((Get-WindowsEdition -Online).Edition -notmatch "Core") { Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } Get-Service -Name WerSvc | Stop-Service -Force @@ -726,7 +805,7 @@ function ErrorReporting "Enable" { Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -776,15 +855,15 @@ function FeedbackFrequency { "Never" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Siuf\Rules)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force + New-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force } "Automatically" { - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force -ErrorAction Ignore } } } @@ -1273,19 +1352,19 @@ function AdvertisingID { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1332,11 +1411,11 @@ function WindowsWelcomeExperience { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1383,11 +1462,11 @@ function WindowsTips { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1434,15 +1513,15 @@ function SettingsSuggestedContent { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1489,11 +1568,11 @@ function AppsSilentInstalling { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1540,19 +1619,19 @@ function WhatsNewInWindows { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1599,11 +1678,11 @@ function TailoredExperiences { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1650,15 +1729,17 @@ function BingSearch { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type CLEAR } } } @@ -1707,15 +1788,15 @@ function ThisPC { "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force } "Hide" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore } } } @@ -1762,11 +1843,11 @@ function CheckBoxes { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force } } } @@ -1813,11 +1894,11 @@ function HiddenItems { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force } } } @@ -1864,11 +1945,11 @@ function FileExtensions { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force } } } @@ -1915,11 +1996,11 @@ function MergeConflicts { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force } } } @@ -1966,11 +2047,11 @@ function OpenFileExplorerTo { "ThisPC" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force } "QuickAccess" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force } } } @@ -2019,14 +2100,14 @@ function CortanaButton { if (Get-AppxPackage -Name Microsoft.549981C3F5F10) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 0 -Force } } "Show" { if (Get-AppxPackage -Name Microsoft.549981C3F5F10) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowCortanaButton -PropertyType DWord -Value 1 -Force } } } @@ -2074,11 +2155,11 @@ function OneDriveFileExplorerAd { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force } } } @@ -2125,11 +2206,11 @@ function SnapAssist { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force } } } @@ -2176,19 +2257,19 @@ function FileTransferDialog { "Detailed" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force } "Compact" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force } } } @@ -2235,19 +2316,19 @@ function FileExplorerRibbon { "Expanded" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 0 -Force } "Minimized" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Ribbon -Name MinimizedStateTabletModeOff -PropertyType DWord -Value 1 -Force } } } @@ -2290,19 +2371,19 @@ function RecycleBinDeleteConfirmation $Disable ) - $ShellState = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState + $ShellState = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState switch ($PSCmdlet.ParameterSetName) { "Enable" { $ShellState[4] = 51 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } "Disable" { $ShellState[4] = 55 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } } } @@ -2404,11 +2485,11 @@ function QuickAccessRecentFiles { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force } } } @@ -2455,11 +2536,11 @@ function QuickAccessFrequentFolders { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force } } } @@ -2519,15 +2600,15 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "SearchIcon" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } "SearchBox" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force } } } @@ -2574,13 +2655,13 @@ function SearchHighlights { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds\DSB -Name ShowDynamicContent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\SearchSettings -Name IsDynamicSearchBoxEnabled -PropertyType DWord -Value 1 -Force } } } @@ -2627,11 +2708,11 @@ function TaskViewButton { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force } } } @@ -2678,19 +2759,19 @@ function PeopleTaskbar { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 0 -Force } "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People -Name PeopleBand -PropertyType DWord -Value 1 -Force } } } @@ -2737,11 +2818,11 @@ function SecondsInSystemClock { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSecondsInSystemClock -PropertyType DWord -Value 1 -Force } } } @@ -2801,15 +2882,15 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "SearchIcon" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } "SearchBox" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 2 -Force } } } @@ -2856,11 +2937,11 @@ function WindowsInkWorkspace { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\PenWorkspace -Name PenWorkspaceButtonDesiredVisibility -PropertyType DWord -Value 1 -Force } } } @@ -2907,11 +2988,11 @@ function NotificationAreaIcons { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -PropertyType DWord -Value 1 -Force } } } @@ -3183,30 +3264,30 @@ function ControlPanelView { "Category" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 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)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -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 1 -Force } "SmallIcons" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -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 } } } @@ -3253,11 +3334,11 @@ function WindowsColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -3304,11 +3385,11 @@ function AppColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -3523,7 +3604,7 @@ function TaskManagerWindow do { Start-Sleep -Milliseconds 100 - $Preferences = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences + $Preferences = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences } until ($Preferences) @@ -3534,12 +3615,12 @@ function TaskManagerWindow "Expanded" { $Preferences[28] = 0 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } "Compact" { $Preferences[28] = 1 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager -Name Preferences -PropertyType Binary -Value $Preferences -Force } } } @@ -3637,15 +3718,15 @@ function ShortcutsSuffix { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore } } } @@ -3802,6 +3883,333 @@ function AeroShaking } } } + +<# + .SYNOPSIS + Free "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Dark + Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Light + Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Default + Set default cursors + + .EXAMPLE + Cursors -Dark + + .EXAMPLE + Cursors -Light + + .EXAMPLE + Cursors -Default + + .LINK + https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356 + + .NOTES + The 09/09/22 version + + .NOTES + Current user +#> +function Cursors +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Dark" + )] + [switch] + $Dark, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Light" + )] + [switch] + $Light, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Dark" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_dark_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_dark_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_dark_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Light" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_light_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_light_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_light_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Default" + { + (Get-Item -Path "HKCU:\Control Panel\Cursors").Property.Split([System.Environment]::NewLine) | ForEach-Object -Process { + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name $_ -Value "" -Force + } + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force -ErrorAction Ignore + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 0 -Force + } + } + + # Reload cursor on-the-fly + $Signature = @{ + Namespace = "WinAPI" + Name = "SystemParamInfo" + Language = "CSharp" + MemberDefinition = @" +[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] +public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni); +"@ + } + if (-not ("WinAPI.SystemParamInfo" -as [type])) + { + Add-Type @Signature + } + [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) +} #endregion UI & Personalization #region OneDrive @@ -3929,7 +4337,7 @@ public static bool MarkFileDelete (string sourcefile) } Remove-ItemProperty -Path HKCU:\Environment -Name OneDrive, OneDriveConsumer -Force -ErrorAction Ignore - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path HKLM:\SOFTWARE\WOW6432Node\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path "$env:ProgramData\Microsoft OneDrive" -Recurse -Force -ErrorAction Ignore Remove-Item -Path $env:SystemDrive\OneDriveTemp -Recurse -Force -ErrorAction Ignore @@ -4034,7 +4442,7 @@ public static bool MarkFileDelete (string sourcefile) [xml]$OneDriveXML = $Content -replace "", "" $OneDriveURL = ($OneDriveXML).root.update.amd64binary.url - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ Uri = $OneDriveURL OutFile = "$DownloadsFolder\OneDriveSetup.exe" @@ -4058,7 +4466,7 @@ public static bool MarkFileDelete (string sourcefile) } # Save screenshots by pressing Win+PrtScr in the Pictures folder - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore Get-ScheduledTask -TaskName "Onedrive* Update*" | Enable-ScheduledTask Get-ScheduledTask -TaskName "Onedrive* Update*" | Start-ScheduledTask @@ -4112,19 +4520,19 @@ function StorageSense { "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force } "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force } } } @@ -4171,16 +4579,16 @@ function StorageSenseTempFiles { "Enable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force } } "Disable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force } } } @@ -4228,16 +4636,16 @@ function StorageSenseFrequency { "Month" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force } } "Default" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force } } } @@ -4878,6 +5286,7 @@ function WaitNetworkStartup New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force } New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type DWORD -Value 1 } } "Disable" @@ -4885,6 +5294,7 @@ function WaitNetworkStartup if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain) { Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type CLEAR } } } @@ -4932,11 +5342,11 @@ function WindowsManageDefaultPrinter { "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force } } } @@ -6254,7 +6664,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] + $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] if ($CurrentUserFolder -ne $FolderPath) { if ((Get-ChildItem -Path $CurrentUserFolderPath | Measure-Object).Count -ne 0) @@ -6275,7 +6685,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force # Save desktop.ini in the UTF-16 LE encoding Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force @@ -6418,7 +6828,7 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6451,7 +6861,7 @@ public static string GetString(uint strId) # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6484,7 +6894,7 @@ public static string GetString(uint strId) # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6517,7 +6927,7 @@ public static string GetString(uint strId) # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6550,7 +6960,7 @@ public static string GetString(uint strId) # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6583,7 +6993,7 @@ public static string GetString(uint strId) # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6616,7 +7026,7 @@ public static string GetString(uint strId) "Custom" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6659,7 +7069,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6702,7 +7112,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6745,7 +7155,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6788,7 +7198,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6831,7 +7241,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6876,7 +7286,7 @@ public static string GetString(uint strId) "Default" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6906,7 +7316,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6936,7 +7346,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6966,7 +7376,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6996,7 +7406,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -7026,7 +7436,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -7117,8 +7527,8 @@ function WinPrtScrFolder $OneDriveInstalled = Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore if ($OneDriveUninstallFunctionUncommented -or (-not $OneDriveInstalled)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -7131,8 +7541,8 @@ function WinPrtScrFolder # A preset file isn't taking a part so we ignore it and check only whether OneDrive was already uninstalled if (-not (Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -7143,7 +7553,7 @@ function WinPrtScrFolder } "Default" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore } } } @@ -7210,14 +7620,14 @@ function RecommendedTroubleshooting } # Set the OS level of diagnostic data gathering to "Optional diagnostic data" - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 # Turn on Windows Error Reporting Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -7265,11 +7675,11 @@ function FoldersLaunchSeparateProcess { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force } } } @@ -7374,15 +7784,15 @@ function F1HelpPage { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force + New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force } "Enable" { - Remove-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore + Remove-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore } } } @@ -7582,11 +7992,11 @@ function Autoplay { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force } } } @@ -7684,11 +8094,11 @@ function SaveRestartableApps { "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force } } } @@ -8146,11 +8556,11 @@ namespace RegistryUtils $Icon ) - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force } function Remove-UserChoiceKey @@ -8215,33 +8625,33 @@ namespace RegistryUtils if ($OrigProgID) { # Save possible ProgIds history with extension - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force } $Name = "{0}_$Extension" -f (Split-Path -Path $ProgId -Leaf) - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force if ("$ProgId_$Extension" -ne $Name) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force } # If ProgId doesn't exist set the specified ProgId for the extensions if (-not $OrigProgID) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } # Set the specified ProgId in the possible options for the assignment - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force # Set the system ProgId to the extension parameters for the File Explorer to the possible options for the assignment, and if absent set the specified ProgId if ($OrigProgID) @@ -8319,18 +8729,18 @@ namespace RegistryUtils foreach ($AppxProgID in ($OpenSubkey | Where-Object -FilterScript {$_ -match "AppX"})) { # If an app is installed - if (Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Classes\$AppxProgID\Shell\open" -Name PackageId) + if (Get-ItemPropertyValue -Path "HKCU:\Software\Classes\$AppxProgID\Shell\open" -Name PackageId) { # If the specified ProgId is equal to UWP installed ProgId if ($ProgId -eq $AppxProgID) { # Remove association limitations for this UWP apps - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore } else { - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force } } } @@ -8341,7 +8751,7 @@ namespace RegistryUtils if (($picture -eq "picture") -and $PBrush) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force } } @@ -8552,18 +8962,18 @@ namespace FileAssoc if ($ProgramPath) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force $FileNameEXE = Split-Path -Path $ProgramPath -Leaf - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force } if ($Icon) @@ -8646,10 +9056,10 @@ function UninstallPCHealthCheck <# .SYNOPSIS - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) .EXAMPLE - InstallVCRedistx64 + InstallVCRedist .LINK https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist @@ -8657,7 +9067,7 @@ function UninstallPCHealthCheck .NOTES Machine-wide #> -function InstallVCRedistx64 +function InstallVCRedist { try { @@ -8675,11 +9085,22 @@ function InstallVCRedistx64 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { + winget install --id=Microsoft.VCRedist.2015+.x86 --exact --accept-source-agreements winget install --id=Microsoft.VCRedist.2015+.x64 --exact --accept-source-agreements } else { - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://aka.ms/vs/17/release/VC_redist.x86.exe" + OutFile = "$DownloadsFolder\VC_redist.x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\VC_redist.x86.exe" -ArgumentList "/install /passive /norestart" -Wait + $Parameters = @{ Uri = "https://aka.ms/vs/17/release/VC_redist.x64.exe" OutFile = "$DownloadsFolder\VC_redist.x64.exe" @@ -8699,7 +9120,7 @@ function InstallVCRedistx64 (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP [System.IO.Path]::GetTempPath() #> - Get-ChildItem -Path "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore + Get-ChildItem -Path "$DownloadsFolder\VC_redist.x86.exe", "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amdx86_*.log", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore } } catch [System.Net.WebException] @@ -8755,7 +9176,7 @@ function InstallDotNetRuntime6 UseBasicParsing = $true } $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" # .NET Desktop Runtime x86 $Parameters = @{ @@ -9150,11 +9571,11 @@ function AppSuggestions { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338388Enabled -PropertyType DWord -Value 1 -Force } } } @@ -9470,12 +9891,12 @@ public static string GetString(uint strId) end { # Temporarily disable changing the Start menu layout - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -PropertyType ExpandString -Value $Script:StartLayout -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -PropertyType ExpandString -Value $Script:StartLayout -Force Start-Sleep -Seconds 3 @@ -9491,8 +9912,8 @@ public static string GetString(uint strId) Start-Sleep -Seconds 3 # Enable changing the Start menu layout - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -Force -ErrorAction Ignore - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name LockedStartLayout -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name StartLayoutFile -Force -ErrorAction Ignore Remove-Item -Path $Script:StartLayout -Force @@ -10380,10 +10801,10 @@ function HEIF return } - # https://github.com/Sophia-Community/SophiApp/tree/master/AppX - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + # https://github.com/farag2/Sophia-Script-for-Windows/tree/master/AppX + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ - Uri = "https://github.com/Sophia-Community/SophiApp/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" OutFile = "$DownloadsFolder\Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" UseBasicParsing = $true Verbose = $true @@ -10551,12 +10972,12 @@ function BackgroundUWPApps "Disable" { # Remove all excluded apps running in the background - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { + Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name * -Force } # Exclude apps from the Bundle only - $BackgroundAccessApplications = @((Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications).PSChildName) + $BackgroundAccessApplications = @((Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications).PSChildName) $ExcludedBackgroundAccessApplications = @() foreach ($BackgroundAccessApplication in $BackgroundAccessApplications) { @@ -10566,7 +10987,7 @@ function BackgroundUWPApps } } - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | Where-Object -FilterScript {$_.PSChildName -in $ExcludedBackgroundAccessApplications} | ForEach-Object -Process { + Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | Where-Object -FilterScript {$_.PSChildName -in $ExcludedBackgroundAccessApplications} | ForEach-Object -Process { New-ItemProperty -Path $_.PsPath -Name Disabled -PropertyType DWord -Value 1 -Force New-ItemProperty -Path $_.PsPath -Name DisabledByUser -PropertyType DWord -Value 1 -Force } @@ -10576,7 +10997,7 @@ function BackgroundUWPApps } "Enable" { - Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { + Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name * -Force } } @@ -10638,12 +11059,12 @@ function XboxGameBar { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 1 -Force } } @@ -10693,14 +11114,14 @@ function XboxGameTips { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force } } "Enable" { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force } } } @@ -10749,11 +11170,11 @@ function SetAppGraphicsPerformance if ($OpenFileDialog.FileName) { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Force + New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force Write-Verbose -Message ("{0}" -f $OpenFileDialog.FileName) -Verbose } } @@ -10882,6 +11303,13 @@ function CleanupTask "Register" { Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore @@ -10994,11 +11422,11 @@ while (`$true) Register-ScheduledTask @Parameters -Force # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force # Register the "WindowsCleanup" protocol to be able to run the scheduled task by clicking the "Run" button in a toast if (-not (Test-Path -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command)) @@ -11010,7 +11438,7 @@ while (`$true) New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Name EditFlags -PropertyType DWord -Value 2162688 -Force # Start the "Windows Cleanup" task if the "Run" button clicked - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia Script\'' -TaskName ''Windows Cleanup''}"' -Force + New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia\'' -TaskName ''Windows Cleanup''}"' -Force $ToastNotification = @" [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -11076,7 +11504,7 @@ while (`$true) Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore } - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore @@ -11130,14 +11558,21 @@ function SoftwareDistributionTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') @@ -11237,7 +11672,14 @@ function TempTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore $TempTask = @" Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_.CreationTime -lt (Get-Date).AddDays(-1)} | Remove-Item -Recurse -Force @@ -11463,7 +11905,7 @@ function DismissMSAccount { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } } @@ -11472,7 +11914,7 @@ function DismissSmartScreenFilter { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force } } @@ -11576,10 +12018,12 @@ function CommandLineProcessAudit 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type CLEAR } } } @@ -11634,6 +12078,7 @@ function EventViewerCustomView # 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 $XML = @" @@ -11717,11 +12162,14 @@ function PowerShellModulesLogging } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -PropertyType String -Value * -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type DWORD -Value 1 + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Type SZ -Value * } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Force -ErrorAction Ignore Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type CLEAR } } } @@ -11773,10 +12221,12 @@ function PowerShellScriptsLogging New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Force } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type CLEAR } } } @@ -11877,15 +12327,17 @@ function SaveZoneInformation { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type CLEAR } } } @@ -11935,15 +12387,15 @@ function WindowsScriptHost { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore } } } @@ -12983,11 +13435,11 @@ function MultipleInvokeContext { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force } "Disable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore } } } @@ -13034,15 +13486,17 @@ function UseStoreOpenWith { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type DWORD -Value 1 } "Show" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type CLEAR } } } @@ -13057,13 +13511,7 @@ function UseStoreOpenWith UpdateLGPEPolicies .NOTES - Uses PolicyFileEditor module created by Dave Wyatt - - .LINK - https://www.powershellgallery.com/packages/PolicyFileEditor - - .LINK - https://github.com/dlwyatt/PolicyFileEditor + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 .NOTES Machine-wide user @@ -13096,29 +13544,37 @@ function UpdateLGPEPolicies # Parse every ADMX template searching if it contains full path and registry key simultaneously [xml]$config = Get-Content -Path $admx.FullName -Encoding UTF8 $config.SelectNodes("//@*") | ForEach-Object {$_.value = $_.value.ToLower()} - $SplitPath = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier + $SplitPath = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\Machine\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" } - Set-PolicyFileEntry @Parameters + "String" + { + "SZ" + } + } + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item } - catch - {} + Set-Policy @Parameters } } } @@ -13127,8 +13583,8 @@ function UpdateLGPEPolicies # Current User policies paths to scan recursively $CU_Paths = @( - "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies", - "HKCU:\SOFTWARE\Policies\Microsoft" + "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies", + "HKCU:\Software\Policies\Microsoft" ) foreach ($Path in (@(Get-ChildItem -Path $CU_Paths -Recurse -Force))) { @@ -13147,72 +13603,43 @@ function UpdateLGPEPolicies if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\User\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_CURRENT_USER\", "HKCU:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" } - Set-PolicyFileEntry @Parameters } - catch - {} + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_CURRENT_USER\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item + } + Set-Policy @Parameters } } } } } - # Re-build GPT.ini if it doesn't exist - if (-not (Test-Path -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini)) - { - Start-Process -FilePath gpedit.msc - Start-Sleep -Seconds 2 - - # Get mmc.exe's Id with its' argument (gpedit.msc) to close - $gpedit_Process_ID = (Get-CimInstance -ClassName CIM_Process | Where-Object -FilterScript { - $_.Name -eq "mmc.exe" - } | Where-Object -FilterScript {$_.CommandLine -match "GPEDIT.MSC"}).Handle - Get-Process -Id $gpedit_Process_ID | Stop-Process -Force - } - - Update-GptIniVersion -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini -PolicyType Machine, User - - # Apply the new policy immediately gpupdate.exe /force } #endregion Update Policies -# Errors output -function Errors -{ - if ($Global:Error) - { - ($Global:Error | ForEach-Object -Process { - # Some errors may have the Windows nature and don't have a path to any of the module's files - $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) - { - Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf - } - - [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = $ErrorInFile - $Localization.ErrorsMessage = $_.Exception.Message - } - } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() - } -} - #region Refresh Environment function RefreshEnvironment { @@ -13379,8 +13806,23 @@ public static void PostMessage() $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel").Show($ToastMessage) - Stop-Process -Name explorer -Force + if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) + { + if (Test-Path -Path "$env:TEMP\Computer.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\Computer.txt" + } + if (Test-Path -Path "$env:TEMP\User.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\User.txt" + } + + gpupdate /force + } + + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + Stop-Process -Name explorer -Force Start-Sleep -Seconds 3 # Restoring closed folders @@ -13392,4 +13834,24 @@ public static void PostMessage() } } } + +function Errors +{ + if ($Global:Error) + { + ($Global:Error | ForEach-Object -Process { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + + [PSCustomObject]@{ + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile + $Localization.ErrorsMessage = $_.Exception.Message + } + } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() + } +} #endregion Refresh Environment diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 index b4919099..5e27183f 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 10 (PowerShell 7)" - Version: v5.13.6 - Date: 09.10.2022 + Version: v5.14.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -40,13 +40,16 @@ . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file - .LINK GitHub link + .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -71,17 +74,11 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.13.6 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 10 v5.14.0 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# Used for UpdateLGPEPolicies function -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - # PowerShell 7 doesn't load en-us localization automatically if there is no localization folder in user's language which is determined by $PSUICulture # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/import-localizeddata?view=powershell-7.2 try @@ -115,7 +112,7 @@ if ($Functions) } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} exit } @@ -296,11 +293,11 @@ HiddenItems -Enable # Не показывать скрытые файлы, папки и диски (значение по умолчанию) # HiddenItems -Disable -# Show the file name extensions +# Show file name extensions # Отобразить расширения имён файлов FileExtensions -Show -# Hide the file name extensions (default value) +# Hide file name extensions (default value) # Скрывать расширения имён файлов файлов (значение по умолчанию) # FileExtensions -Hide @@ -571,6 +568,18 @@ AeroShaking -Enable # When I grab a windows's title bar and shake it, don't minimize all other windows # При захвате заголовка окна и встряхивании не сворачиваются все остальные окна # AeroShaking -Disable + +# Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные темные курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +Cursors -Dark + +# Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные светлые курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +# Cursors -Light + +# Set default cursors (default value) +# Установить курсоры по умолчанию (значение по умолчанию) +# Cursors -Default #endregion UI & Personalization #region OneDrive @@ -634,12 +643,12 @@ Win32LongPathLimit -Disable # Включить ограничение Windows на 260 символов в пути (значение по умолчанию) # Win32LongPathLimit -Enable -# Display the Stop error information on the BSoD -# Отображать Stop-ошибку при появлении BSoD +# Display Stop error code when BSoD occurs +# Отображать код Stop-ошибки при появлении BSoD BSoDStopError -Enable -# Do not display the Stop error information on the BSoD (default value) -# Не отображать Stop-ошибку при появлении BSoD (значение по умолчанию) +# Do not Stop error code when BSoD occurs (default value) +# Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию) # BSoDStopError -Disable # Choose when to be notified about changes to your computer: never notify @@ -902,7 +911,7 @@ ThumbnailCacheRemoval -Disable # ThumbnailCacheRemoval -Enable # Automatically saving my restartable apps when signing out and restart them after signing in -# Автоматически сохранять мои перезапускаемые приложения из системы и перезапускать их при повторном входе +# Автоматически сохранять мои перезапускаемые приложения при выходе из системы и перезапускать их при повторном входе SaveRestartableApps -Enable # Turn off automatically saving my restartable apps when signing out and restart them after signing in (default value) @@ -954,12 +963,12 @@ RestartDeviceAfterUpdate -Enable UninstallPCHealthCheck <# - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 - Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) + Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64) https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist #> -InstallVCRedistx64 +InstallVCRedist <# Install the latest .NET Desktop Runtime 6 (x86/x64) @@ -969,8 +978,8 @@ InstallVCRedistx64 #> InstallDotNetRuntime6 -# Enable proxying only blocked sites from the unified registry of Roskomnadzor -# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора +# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only +# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России # https://antizapret.prostovpn.org RKNBypass -Enable @@ -1437,18 +1446,9 @@ UseStoreOpenWith -Hide #region Update Policies # Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in # Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре -UpdateLGPEPolicies +# UpdateLGPEPolicies #endregion Update Policies -<# - Errors output - Please, do not comment out this function - - Вывод ошибок - Пожалуйста, не комментируйте данную функцию -#> -Errors - <# Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar @@ -1461,3 +1461,12 @@ Errors Пожалуйста, не комментируйте данную функцию #> RefreshEnvironment + +<# + Errors output + Please, do not comment out this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> +Errors diff --git a/src/Sophia_Script_for_Windows_11/Functions.ps1 b/src/Sophia_Script_for_Windows_11/Functions.ps1 index 2f5a8634..08c3edde 100644 --- a/src/Sophia_Script_for_Windows_11/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v6.1.5 - Date: 09.10.2022 + Version: v6.2.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -49,21 +49,16 @@ function Sophia } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} } Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.1.5 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations # The mandatory checks. Please, do not comment out this function diff --git a/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 index bfbd8fa1..6393f861 100644 --- a/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '6.1.5' + ModuleVersion = '6.2.0' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved' diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index b2ec6fb2..65ba4b49 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v6.1.5 - Date: 09.10.2022 + Version: v6.2.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -26,10 +26,13 @@ .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -187,25 +190,12 @@ function Checks exit } - # Check whether this is ReviOS - # https://www.revi.cc - $DocumentsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal - if (Test-Path -Path "$DocumentsFolder\Workspace\Revision-Tool") - { - Write-Warning -Message $Localization.ReviOS - Start-Process -FilePath "https://t.me/sophia_chat" - exit - } - - # Check whether libraries exist in the bin folder - $Libraries = @( - "$PSScriptRoot\..\bin\PolicyFileEditor\Commands.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\Common.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psd1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psm1" + # Check whether necessary files exist in the bin folder + $Files = @( + "$PSScriptRoot\..\bin\LGPO.exe", + "$PSScriptRoot\..\bin\Start_Layout\start.bin" ) - if (($Libraries | Test-Path) -contains $false) + if (($Files | Test-Path) -contains $false) { Write-Warning -Message $Localization.Bin Start-Sleep -Seconds 5 @@ -214,14 +204,6 @@ function Checks exit } - # A temp workaround to check whether PolFileEditor.dl assembly was loaded due to even it was unblocked it's blocked loading into PowerShell session - $PolFileEditor = (Resolve-Path -Path "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll").Path - if ([System.AppDomain]::CurrentDomain.GetAssemblies().Location -notcontains $PolFileEditor) - { - Write-Verbose -Message "You must close powershell.exe and re-run script" -Verbose - exit - } - # Check for a pending reboot $PendingActions = @( # CBS pending @@ -480,6 +462,8 @@ function Checks } } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + # Save all opened folders in order to restore them after File Explorer restart $Script:OpenedFolders = {(New-Object -ComObject Shell.Application).Windows() | ForEach-Object -Process {$_.Document.Folder.Self.Path}}.Invoke() } @@ -524,6 +508,97 @@ function CreateRestorePoint } #endregion Protection +#region Set GPO +<# + .SYNOPSIS + Create pre-configured text files for LGPO.exe tool + + .EXAMPLE + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 + + .NOTES + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 + + .NOTES + Machine-wide user +#> +function script:Set-Policy +{ + [CmdletBinding()] + param + ( + [Parameter( + Mandatory = $true, + Position = 1 + )] + [string] + [ValidateSet("Computer", "User")] + $Scope, + + [Parameter( + Mandatory = $true, + Position = 2 + )] + [string] + $Path, + + [Parameter( + Mandatory = $true, + Position = 3 + )] + [string] + $Name, + + [Parameter( + Mandatory = $true, + Position = 4 + )] + [ValidateSet("DWORD", "SZ", "EXSZ", "CLEAR")] + [string] + $Type, + + [Parameter( + Mandatory = $false, + Position = 5 + )] + $Value + ) + + switch ($Type) + { + "CLEAR" + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type)`n +"@ + } + default + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type):$($Value)`n +"@ + } + } + + if ($Scope -eq "Computer") + { + $Path = "$env:TEMP\Computer.txt" + } + else + { + $Path = "$env:TEMP\User.txt" + } + + Add-Content -Path $Path -Value $Policy -Encoding Default -Force +} +#endregion Set GPO + #region Privacy & Telemetry <# .SYNOPSIS @@ -635,32 +710,33 @@ function DiagnosticDataLevel if (Get-WindowsEdition -Online | Where-Object -FilterScript {($_.Edition -like "Enterprise*") -or ($_.Edition -eq "Education")}) { # Diagnostic data off - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 } else { # Send required diagnostic data - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 } New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 1 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force } "Default" { # Optional diagnostic data - Remove-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type CLEAR New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force } } } @@ -710,7 +786,7 @@ function ErrorReporting if ((Get-WindowsEdition -Online).Edition -notmatch "Core") { Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } Get-Service -Name WerSvc | Stop-Service -Force @@ -719,7 +795,7 @@ function ErrorReporting "Enable" { Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -769,15 +845,15 @@ function FeedbackFrequency { "Never" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Siuf\Rules)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force + New-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force } "Automatically" { - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force -ErrorAction Ignore } } } @@ -1266,19 +1342,19 @@ function AdvertisingID { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1325,11 +1401,11 @@ function WindowsWelcomeExperience { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1376,11 +1452,11 @@ function WindowsTips { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1427,15 +1503,15 @@ function SettingsSuggestedContent { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1482,11 +1558,11 @@ function AppsSilentInstalling { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1533,19 +1609,19 @@ function WhatsNewInWindows { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1592,11 +1668,11 @@ function TailoredExperiences { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1643,15 +1719,17 @@ function BingSearch { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type CLEAR } } } @@ -1700,15 +1778,15 @@ function ThisPC { "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force } "Hide" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore } } } @@ -1755,11 +1833,11 @@ function CheckBoxes { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force } } } @@ -1806,11 +1884,11 @@ function HiddenItems { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force } } } @@ -1857,11 +1935,11 @@ function FileExtensions { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force } } } @@ -1908,11 +1986,11 @@ function MergeConflicts { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force } } } @@ -1959,11 +2037,11 @@ function OpenFileExplorerTo { "ThisPC" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force } "QuickAccess" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force } } } @@ -2010,11 +2088,11 @@ function FileExplorerCompactMode { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 1 -Force } } } @@ -2061,11 +2139,11 @@ function OneDriveFileExplorerAd { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force } } } @@ -2112,11 +2190,11 @@ function SnapAssist { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force } } } @@ -2163,11 +2241,11 @@ function SnapAssistFlyout { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 0 -Force } } } @@ -2215,19 +2293,19 @@ function FileTransferDialog { "Detailed" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force } "Compact" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force } } } @@ -2270,19 +2348,19 @@ function RecycleBinDeleteConfirmation $Disable ) - $ShellState = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState + $ShellState = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState switch ($PSCmdlet.ParameterSetName) { "Enable" { $ShellState[4] = 51 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } "Disable" { $ShellState[4] = 55 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } } } @@ -2329,11 +2407,11 @@ function QuickAccessRecentFiles { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force } } } @@ -2380,11 +2458,11 @@ function QuickAccessFrequentFolders { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force } } } @@ -2431,11 +2509,11 @@ function TaskbarAlignment { "Center" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 1 -Force } "Left" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 0 -Force } } } @@ -2482,11 +2560,11 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } } } @@ -2533,11 +2611,11 @@ function TaskViewButton { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force } } } @@ -2793,30 +2871,30 @@ function ControlPanelView { "Category" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 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)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -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 1 -Force } "SmallIcons" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -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 } } } @@ -2863,11 +2941,11 @@ function WindowsColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -2914,11 +2992,11 @@ function AppColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -3118,15 +3196,15 @@ function ShortcutsSuffix { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore } } } @@ -3283,6 +3361,333 @@ function AeroShaking } } } + +<# + .SYNOPSIS + Free "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Dark + Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Light + Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Default + Set default cursors + + .EXAMPLE + Cursors -Dark + + .EXAMPLE + Cursors -Light + + .EXAMPLE + Cursors -Default + + .LINK + https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356 + + .NOTES + The 09/09/22 version + + .NOTES + Current user +#> +function Cursors +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Dark" + )] + [switch] + $Dark, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Light" + )] + [switch] + $Light, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Dark" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_dark_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_dark_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_dark_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Light" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_light_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_light_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_light_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Default" + { + (Get-Item -Path "HKCU:\Control Panel\Cursors").Property.Split([System.Environment]::NewLine) | ForEach-Object -Process { + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name $_ -Value "" -Force + } + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force -ErrorAction Ignore + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 0 -Force + } + } + + # Reload cursor on-the-fly + $Signature = @{ + Namespace = "WinAPI" + Name = "SystemParamInfo" + Language = "CSharp" + MemberDefinition = @" +[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] +public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni); +"@ + } + if (-not ("WinAPI.SystemParamInfo" -as [type])) + { + Add-Type @Signature + } + [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) +} #endregion UI & Personalization #region OneDrive @@ -3408,7 +3813,7 @@ public static bool MarkFileDelete (string sourcefile) } Remove-ItemProperty -Path HKCU:\Environment -Name OneDrive, OneDriveConsumer -Force -ErrorAction Ignore - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path HKLM:\SOFTWARE\WOW6432Node\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path "$env:ProgramData\Microsoft OneDrive" -Recurse -Force -ErrorAction Ignore Remove-Item -Path $env:SystemDrive\OneDriveTemp -Recurse -Force -ErrorAction Ignore @@ -3511,7 +3916,7 @@ public static bool MarkFileDelete (string sourcefile) [xml]$OneDriveXML = $Content -replace "", "" $OneDriveURL = ($OneDriveXML).root.update.amd64binary.url - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ Uri = $OneDriveURL OutFile = "$DownloadsFolder\OneDriveSetup.exe" @@ -3534,7 +3939,7 @@ public static bool MarkFileDelete (string sourcefile) } # Save screenshots by pressing Win+PrtScr in the Pictures folder - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore Get-ScheduledTask -TaskName "Onedrive* Update*" | Enable-ScheduledTask Get-ScheduledTask -TaskName "Onedrive* Update*" | Start-ScheduledTask @@ -3588,19 +3993,19 @@ function StorageSense { "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force } "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force } } } @@ -3647,16 +4052,16 @@ function StorageSenseTempFiles { "Enable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force } } "Disable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force } } } @@ -3704,16 +4109,16 @@ function StorageSenseFrequency { "Month" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force } } "Default" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force } } } @@ -4344,6 +4749,7 @@ function WaitNetworkStartup New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force } New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type DWORD -Value 1 } } "Disable" @@ -4351,6 +4757,7 @@ function WaitNetworkStartup if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain) { Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type CLEAR } } } @@ -4398,11 +4805,11 @@ function WindowsManageDefaultPrinter { "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force } } } @@ -5716,7 +6123,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] + $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] if ($CurrentUserFolder -ne $FolderPath) { if ((Get-ChildItem -Path $CurrentUserFolderPath | Measure-Object).Count -ne 0) @@ -5737,7 +6144,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force # Save desktop.ini in the UTF-16 LE encoding Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force @@ -5880,7 +6287,7 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5913,7 +6320,7 @@ public static string GetString(uint strId) # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5946,7 +6353,7 @@ public static string GetString(uint strId) # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5979,7 +6386,7 @@ public static string GetString(uint strId) # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6012,7 +6419,7 @@ public static string GetString(uint strId) # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6045,7 +6452,7 @@ public static string GetString(uint strId) # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6078,7 +6485,7 @@ public static string GetString(uint strId) "Custom" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6121,7 +6528,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6164,7 +6571,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6207,7 +6614,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6250,7 +6657,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6293,7 +6700,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6338,7 +6745,7 @@ public static string GetString(uint strId) "Default" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6368,7 +6775,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6398,7 +6805,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6428,7 +6835,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6458,7 +6865,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6488,7 +6895,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6579,8 +6986,8 @@ function WinPrtScrFolder $OneDriveInstalled = Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore if ($OneDriveUninstallFunctionUncommented -or (-not $OneDriveInstalled)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -6593,8 +7000,8 @@ function WinPrtScrFolder # A preset file isn't taking a part so we ignore it and check only whether OneDrive was already uninstalled if (-not (Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -6605,7 +7012,7 @@ function WinPrtScrFolder } "Default" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore } } } @@ -6672,14 +7079,14 @@ function RecommendedTroubleshooting } # Set the OS level of diagnostic data gathering to "Optional diagnostic data" - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 # Turn on Windows Error Reporting Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -6727,11 +7134,11 @@ function FoldersLaunchSeparateProcess { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force } } } @@ -6836,15 +7243,15 @@ function F1HelpPage { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force + New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force } "Enable" { - Remove-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore + Remove-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore } } } @@ -7044,11 +7451,11 @@ function Autoplay { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force } } } @@ -7146,11 +7553,11 @@ function SaveRestartableApps { "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force } } } @@ -7608,11 +8015,11 @@ namespace RegistryUtils $Icon ) - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force } function Remove-UserChoiceKey @@ -7677,33 +8084,33 @@ namespace RegistryUtils if ($OrigProgID) { # Save possible ProgIds history with extension - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force } $Name = "{0}_$Extension" -f (Split-Path -Path $ProgId -Leaf) - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force if ("$ProgId_$Extension" -ne $Name) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force } # If ProgId doesn't exist set the specified ProgId for the extensions if (-not $OrigProgID) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } # Set the specified ProgId in the possible options for the assignment - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force # Set the system ProgId to the extension parameters for the File Explorer to the possible options for the assignment, and if absent set the specified ProgId if ($OrigProgID) @@ -7781,18 +8188,18 @@ namespace RegistryUtils foreach ($AppxProgID in ($OpenSubkey | Where-Object -FilterScript {$_ -match "AppX"})) { # If an app is installed - if (Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Classes\$AppxProgID\Shell\open" -Name PackageId) + if (Get-ItemPropertyValue -Path "HKCU:\Software\Classes\$AppxProgID\Shell\open" -Name PackageId) { # If the specified ProgId is equal to UWP installed ProgId if ($ProgId -eq $AppxProgID) { # Remove association limitations for this UWP apps - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore } else { - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force } } } @@ -7803,7 +8210,7 @@ namespace RegistryUtils if (($picture -eq "picture") -and $PBrush) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force } } @@ -8014,18 +8421,18 @@ namespace FileAssoc if ($ProgramPath) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force $FileNameEXE = Split-Path -Path $ProgramPath -Leaf - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force } if ($Icon) @@ -8144,10 +8551,10 @@ function DefaultTerminalApp <# .SYNOPSIS - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) .EXAMPLE - InstallVCRedistx64 + InstallVCRedist .LINK https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist @@ -8155,7 +8562,7 @@ function DefaultTerminalApp .NOTES Machine-wide #> -function InstallVCRedistx64 +function InstallVCRedist { try { @@ -8173,11 +8580,22 @@ function InstallVCRedistx64 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { + winget install --id=Microsoft.VCRedist.2015+.x86 --exact --accept-source-agreements winget install --id=Microsoft.VCRedist.2015+.x64 --exact --accept-source-agreements } else { - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://aka.ms/vs/17/release/VC_redist.x86.exe" + OutFile = "$DownloadsFolder\VC_redist.x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\VC_redist.x86.exe" -ArgumentList "/install /passive /norestart" -Wait + $Parameters = @{ Uri = "https://aka.ms/vs/17/release/VC_redist.x64.exe" OutFile = "$DownloadsFolder\VC_redist.x64.exe" @@ -8197,7 +8615,7 @@ function InstallVCRedistx64 (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP [System.IO.Path]::GetTempPath() #> - Get-ChildItem -Path "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore + Get-ChildItem -Path "$DownloadsFolder\VC_redist.x86.exe", "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amdx86_*.log", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore } } catch [System.Net.WebException] @@ -8253,7 +8671,7 @@ function InstallDotNetRuntime6 UseBasicParsing = $true } $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" # .NET Desktop Runtime x86 $Parameters = @{ @@ -9743,10 +10161,10 @@ function HEIF return } - # https://github.com/Sophia-Community/SophiApp/tree/master/AppX - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + # https://github.com/farag2/Sophia-Script-for-Windows/tree/master/AppX + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ - Uri = "https://github.com/Sophia-Community/SophiApp/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" OutFile = "$DownloadsFolder\Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" UseBasicParsing = $true Verbose = $true @@ -9988,12 +10406,12 @@ function XboxGameBar { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 1 -Force } } @@ -10043,14 +10461,14 @@ function XboxGameTips { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force } } "Enable" { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force } } } @@ -10099,11 +10517,11 @@ function SetAppGraphicsPerformance if ($OpenFileDialog.FileName) { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Force + New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force Write-Verbose -Message ("{0}" -f $OpenFileDialog.FileName) -Verbose } } @@ -10232,6 +10650,13 @@ function CleanupTask "Register" { Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore @@ -10344,11 +10769,11 @@ while (`$true) Register-ScheduledTask @Parameters -Force # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force # Register the "WindowsCleanup" protocol to be able to run the scheduled task by clicking the "Run" button in a toast if (-not (Test-Path -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command)) @@ -10360,7 +10785,7 @@ while (`$true) New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Name EditFlags -PropertyType DWord -Value 2162688 -Force # Start the "Windows Cleanup" task if the "Run" button clicked - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia Script\'' -TaskName ''Windows Cleanup''}"' -Force + New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia\'' -TaskName ''Windows Cleanup''}"' -Force $ToastNotification = @" [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -10426,7 +10851,7 @@ while (`$true) Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore } - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore @@ -10480,14 +10905,21 @@ function SoftwareDistributionTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') @@ -10587,7 +11019,14 @@ function TempTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore $TempTask = @" Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_.CreationTime -lt (Get-Date).AddDays(-1)} | Remove-Item -Recurse -Force @@ -10756,7 +11195,7 @@ function DismissMSAccount { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } } @@ -10765,7 +11204,7 @@ function DismissSmartScreenFilter { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force } } @@ -10869,10 +11308,12 @@ function CommandLineProcessAudit 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type CLEAR } } } @@ -10927,6 +11368,7 @@ function EventViewerCustomView # 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 $XML = @" @@ -11010,11 +11452,14 @@ function PowerShellModulesLogging } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -PropertyType String -Value * -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type DWORD -Value 1 + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Type SZ -Value * } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Force -ErrorAction Ignore Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type CLEAR } } } @@ -11066,10 +11511,12 @@ function PowerShellScriptsLogging New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Force } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type CLEAR } } } @@ -11170,15 +11617,17 @@ function SaveZoneInformation { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type CLEAR } } } @@ -11228,15 +11677,15 @@ function WindowsScriptHost { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore } } } @@ -12110,11 +12559,11 @@ function MultipleInvokeContext { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force } "Disable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore } } } @@ -12161,15 +12610,17 @@ function UseStoreOpenWith { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type DWORD -Value 1 } "Show" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type CLEAR } } } @@ -12401,13 +12852,7 @@ function Windows10ContextMenu UpdateLGPEPolicies .NOTES - Uses PolicyFileEditor module created by Dave Wyatt - - .LINK - https://www.powershellgallery.com/packages/PolicyFileEditor - - .LINK - https://github.com/dlwyatt/PolicyFileEditor + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 .NOTES Machine-wide user @@ -12420,6 +12865,7 @@ function UpdateLGPEPolicies } Write-Verbose -Message $Localization.Patient -Verbose + Write-Verbose -Message $Localization.GPOUpdate -Verbose Write-Information -MessageData "" -InformationAction Continue # Local Machine policies paths to scan recursively @@ -12440,29 +12886,37 @@ function UpdateLGPEPolicies # Parse every ADMX template searching if it contains full path and registry key simultaneously [xml]$config = Get-Content -Path $admx.FullName -Encoding UTF8 $config.SelectNodes("//@*") | ForEach-Object {$_.value = $_.value.ToLower()} - $SplitPath = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier + $SplitPath = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\Machine\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() } - Set-PolicyFileEntry @Parameters + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" + } + } + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item } - catch - {} + Set-Policy @Parameters } } } @@ -12471,8 +12925,8 @@ function UpdateLGPEPolicies # Current User policies paths to scan recursively $CU_Paths = @( - "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies", - "HKCU:\SOFTWARE\Policies\Microsoft" + "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies", + "HKCU:\Software\Policies\Microsoft" ) foreach ($Path in (@(Get-ChildItem -Path $CU_Paths -Recurse -Force))) { @@ -12491,72 +12945,43 @@ function UpdateLGPEPolicies if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\User\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_CURRENT_USER\", "HKCU:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" } - Set-PolicyFileEntry @Parameters } - catch - {} + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_CURRENT_USER\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item + } + Set-Policy @Parameters } } } } } - # Re-build GPT.ini if it doesn't exist - if (-not (Test-Path -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini)) - { - Start-Process -FilePath gpedit.msc - Start-Sleep -Seconds 2 - - # Get mmc.exe's Id with its' argument (gpedit.msc) to close - $gpedit_Process_ID = (Get-CimInstance -ClassName CIM_Process | Where-Object -FilterScript { - $_.Name -eq "mmc.exe" - } | Where-Object -FilterScript {$_.CommandLine -match "GPEDIT.MSC"}).Handle - Get-Process -Id $gpedit_Process_ID | Stop-Process -Force - } - - Update-GptIniVersion -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini -PolicyType Machine, User - - # Apply the new policy immediately gpupdate.exe /force } #endregion Update Policies -# Errors output -function Errors -{ - if ($Global:Error) - { - ($Global:Error | ForEach-Object -Process { - # Some errors may have the Windows nature and don't have a path to any of the module's files - $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) - { - Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf - } - - [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = $ErrorInFile - $Localization.ErrorsMessage = $_.Exception.Message - } - } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() - } -} - #region Refresh Environment function RefreshEnvironment { @@ -12721,8 +13146,23 @@ public static void PostMessage() $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel").Show($ToastMessage) - Stop-Process -Name explorer -Force + if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) + { + if (Test-Path -Path "$env:TEMP\Computer.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\Computer.txt" + } + if (Test-Path -Path "$env:TEMP\User.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\User.txt" + } + + gpupdate /force + } + + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + Stop-Process -Name explorer -Force Start-Sleep -Seconds 3 # Restoring closed folders @@ -12734,4 +13174,24 @@ public static void PostMessage() } } } + +function Errors +{ + if ($Global:Error) + { + ($Global:Error | ForEach-Object -Process { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + + [PSCustomObject]@{ + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile + $Localization.ErrorsMessage = $_.Exception.Message + } + } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() + } +} #endregion Refresh Environment diff --git a/src/Sophia_Script_for_Windows_11/Sophia.ps1 b/src/Sophia_Script_for_Windows_11/Sophia.ps1 index c77aa3b3..daf25131 100644 --- a/src/Sophia_Script_for_Windows_11/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 11" - Version: v6.1.5 - Date: 09.10.2022 + Version: v6.2.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -39,13 +39,16 @@ . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file - .LINK GitHub link + .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -70,17 +73,11 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.1.5 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# Used for UpdateLGPEPolicies function -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -BaseDirectory $PSScriptRoot\Localizations -FileName Sophia <# @@ -105,7 +102,7 @@ if ($Functions) } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} exit } @@ -286,11 +283,11 @@ HiddenItems -Enable # Не показывать скрытые файлы, папки и диски (значение по умолчанию) # HiddenItems -Disable -# Show the file name extensions +# Show file name extensions # Отобразить расширения имён файлов FileExtensions -Show -# Hide the file name extensions (default value) +# Hide file name extensions (default value) # Скрывать расширения имён файлов файлов (значение по умолчанию) # FileExtensions -Hide @@ -462,24 +459,6 @@ JPEGWallpapersQuality -Max # Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию # JPEGWallpapersQuality -Default -<# - Start Task Manager in the expanded mode - Function works only on 22000 build due to Windows 11 22H2 has a new Task Manager with the new UI - - Запускать Диспетчера задач в развернутом виде - Функция работает только на 22000 билде, так как Windows 11 22H2 идет с обновленным диспетчером задач -#> -TaskManagerWindow -Expanded - -<# - Start Task Manager in the compact mode (default value) - Function works only on 22000 build due to Windows 11 22H2 has a new Task Manager with the new UI - - Запускать Диспетчера задач в свернутом виде (значение по умолчанию) - Функция работает только на 22000 билде, так как Windows 11 22H2 идет с обновленным диспетчером задач -#> -# TaskManagerWindow -Compact - # Notify me when a restart is required to finish updating # Уведомлять меня о необходимости перезагрузки для завершения обновления RestartNotification -Show @@ -519,6 +498,18 @@ AeroShaking -Enable # When I grab a windows's title bar and shake it, don't minimize all other windows (default value) # При захвате заголовка окна и встряхивании не сворачиваются все остальные окна (значение по умолчанию) # AeroShaking -Disable + +# Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные темные курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +Cursors -Dark + +# Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные светлые курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +# Cursors -Light + +# Set default cursors (default value) +# Установить курсоры по умолчанию (значение по умолчанию) +# Cursors -Default #endregion UI & Personalization #region OneDrive @@ -582,12 +573,12 @@ Win32LongPathLimit -Disable # Включить ограничение Windows на 260 символов в пути (значение по умолчанию) # Win32LongPathLimit -Enable -# Display the Stop error information on the BSoD -# Отображать Stop-ошибку при появлении BSoD +# Display Stop error code when BSoD occurs +# Отображать код Stop-ошибки при появлении BSoD BSoDStopError -Enable -# Do not display the Stop error information on the BSoD (default value) -# Не отображать Stop-ошибку при появлении BSoD (значение по умолчанию) +# Do not Stop error code when BSoD occurs (default value) +# Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию) # BSoDStopError -Disable # Choose when to be notified about changes to your computer: never notify @@ -899,12 +890,12 @@ DefaultTerminalApp -WindowsTerminal # DefaultTerminalApp -ConsoleHost <# - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 - Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) + Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64) https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist #> -InstallVCRedistx64 +InstallVCRedist <# Install the latest .NET Desktop Runtime 6 (x86/x64) @@ -914,8 +905,8 @@ InstallVCRedistx64 #> InstallDotNetRuntime6 -# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function will be applied only if the region in Windows is set to "Russia" -# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция будет применена, только если в Windows установлен регион "Россия" +# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only +# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России # https://antizapret.prostovpn.org RKNBypass -Enable @@ -1370,18 +1361,9 @@ Windows10ContextMenu -Disable #region Update Policies # Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in # Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре -UpdateLGPEPolicies +# UpdateLGPEPolicies #endregion Update Policies -<# - Errors output - Please, do not comment out this function - - Вывод ошибок - Пожалуйста, не комментируйте данную функцию -#> -Errors - <# Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar @@ -1394,3 +1376,12 @@ Errors Пожалуйста, не комментируйте данную функцию #> RefreshEnvironment + +<# + Errors output + Please, do not comment out this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> +Errors diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 index f889975a..1c605980 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS The TAB completion for functions and their arguments - Version: v6.1.5 - Date: 09.10.2022 + Version: v6.2.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -49,21 +49,16 @@ function Sophia } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} } Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.1.5 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.0 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations # The mandatory checks. Please, do not comment out this function diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 index 4b1c6277..561709cc 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Localizations/en-US/Sophia.psd1 @@ -30,7 +30,7 @@ UserFolderSelect = Select a folder for the "{0}" folder UserDefaultFolder = Would you like to change the location of the "{0}" folder to the default value? ReservedStorageIsInUse = This operation is not supported when reserved storage is in use\nPlease re-run the "{0}" function again after PC restart ShortcutPinning = The "{0}" shortcut is being pinned to Start... -SSDRequired = To use Windows Subsystem for Android� on your device, your PC needs to have Solid State Drive (SSD) installed +SSDRequired = To use Windows Subsystem for Android™ on your device, your PC needs to have Solid State Drive (SSD) installed UninstallUWPForAll = For all users UWPAppsTitle = UWP apps HEVCDownloading = Downloading HEVC Video Extensions from Device Manufacturer... ~2,8 MB diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 index 565ed5b2..072213b3 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Manifest/Sophia.psd1 @@ -1,6 +1,6 @@ @{ RootModule = '..\Module\Sophia.psm1' - ModuleVersion = '6.1.5' + ModuleVersion = '6.2.0' GUID = '109cc881-c42b-45af-a74a-550781989d6a' Author = 'Dmitry "farag" Nefedov' Copyright = '(c) 2014—2022 farag & Inestic. All rights reserved' diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 index ea5d96b3..9dd582c2 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 @@ -2,8 +2,8 @@ .SYNOPSIS Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks - Version: v6.1.5 - Date: 09.10.2022 + Version: v6.2.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -26,10 +26,13 @@ .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -187,28 +190,12 @@ function Checks exit } - # Check whether this is ReviOS - # https://www.revi.cc - $DocumentsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal - if (Test-Path -Path "$DocumentsFolder\Workspace\Revision-Tool") - { - Write-Warning -Message $Localization.ReviOS - Start-Process -FilePath "https://t.me/sophia_chat" - exit - } - - # Check whether libraries exist in the bin folder - $Libraries = @( - "$PSScriptRoot\..\bin\Microsoft.Windows.SDK.NET.dll", - "$PSScriptRoot\..\bin\WinRT.Runtime.dll", - "$PSScriptRoot\..\bin\Start_Layout\start.bin", - "$PSScriptRoot\..\bin\PolicyFileEditor\Commands.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\Common.ps1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psd1", - "$PSScriptRoot\..\bin\PolicyFileEditor\PolicyFileEditor.psm1" + # Check whether necessary files exist in the bin folder + $Files = @( + "$PSScriptRoot\..\bin\LGPO.exe", + "$PSScriptRoot\..\bin\Start_Layout\start.bin" ) - if (($Libraries | Test-Path) -contains $false) + if (($Files | Test-Path) -contains $false) { Write-Warning -Message $Localization.Bin Start-Sleep -Seconds 5 @@ -217,14 +204,6 @@ function Checks exit } - # A temp workaround to check whether PolFileEditor.dl assembly was loaded due to even it was unblocked it's blocked loading into PowerShell session - $PolFileEditor = (Resolve-Path -Path "$PSScriptRoot\..\bin\PolicyFileEditor\PolFileEditor.dll").Path - if ([System.AppDomain]::CurrentDomain.GetAssemblies().Location -notcontains $PolFileEditor) - { - Write-Verbose -Message "You must close powershell.exe and re-run script" -Verbose - exit - } - # Check for a pending reboot $PendingActions = @( # CBS pending @@ -483,6 +462,8 @@ function Checks } } + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + # Import PowerShell 5.1 modules Import-Module -Name Microsoft.PowerShell.Management, PackageManagement, Appx -UseWindowsPowerShell @@ -529,6 +510,97 @@ function CreateRestorePoint } #endregion Protection +#region Set GPO +<# + .SYNOPSIS + Create pre-configured text files for LGPO.exe tool + + .EXAMPLE + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 + + .NOTES + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 + + .NOTES + Machine-wide user +#> +function script:Set-Policy +{ + [CmdletBinding()] + param + ( + [Parameter( + Mandatory = $true, + Position = 1 + )] + [string] + [ValidateSet("Computer", "User")] + $Scope, + + [Parameter( + Mandatory = $true, + Position = 2 + )] + [string] + $Path, + + [Parameter( + Mandatory = $true, + Position = 3 + )] + [string] + $Name, + + [Parameter( + Mandatory = $true, + Position = 4 + )] + [ValidateSet("DWORD", "SZ", "EXSZ", "CLEAR")] + [string] + $Type, + + [Parameter( + Mandatory = $false, + Position = 5 + )] + $Value + ) + + switch ($Type) + { + "CLEAR" + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type)`n +"@ + } + default + { + $Policy = @" +$Scope +$($Path) +$($Name) +$($Type):$($Value)`n +"@ + } + } + + if ($Scope -eq "Computer") + { + $Path = "$env:TEMP\Computer.txt" + } + else + { + $Path = "$env:TEMP\User.txt" + } + + Add-Content -Path $Path -Value $Policy -Encoding Default -Force +} +#endregion Set GPO + #region Privacy & Telemetry <# .SYNOPSIS @@ -640,32 +712,33 @@ function DiagnosticDataLevel if (Get-WindowsEdition -Online | Where-Object -FilterScript {($_.Edition -like "Enterprise*") -or ($_.Edition -eq "Education")}) { # Diagnostic data off - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 0 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 0 } else { # Send required diagnostic data - if (-not (Test-Path -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection)) + if (-not (Test-Path -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection)) { - New-Item -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Force + New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Force } - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 } New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 1 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 1 -Force } "Default" { # Optional diagnostic data - Remove-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type CLEAR New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force } } } @@ -715,7 +788,7 @@ function ErrorReporting if ((Get-WindowsEdition -Online).Edition -notmatch "Core") { Get-ScheduledTask -TaskName QueueReporting | Disable-ScheduledTask - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -PropertyType DWord -Value 1 -Force } Get-Service -Name WerSvc | Stop-Service -Force @@ -724,7 +797,7 @@ function ErrorReporting "Enable" { Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -774,15 +847,15 @@ function FeedbackFrequency { "Never" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Siuf\Rules)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force + New-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Siuf\Rules -Name NumberOfSIUFInPeriod -PropertyType DWord -Value 0 -Force } "Automatically" { - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\Siuf\Rules -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\Siuf\Rules -Force -ErrorAction Ignore } } } @@ -1271,19 +1344,19 @@ function AdvertisingID { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1330,11 +1403,11 @@ function WindowsWelcomeExperience { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 1 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-310093Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1381,11 +1454,11 @@ function WindowsTips { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338389Enabled -PropertyType DWord -Value 0 -Force } } } @@ -1432,15 +1505,15 @@ function SettingsSuggestedContent { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-338393Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353694Enabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SubscribedContent-353696Enabled -PropertyType DWord -Value 1 -Force } } } @@ -1487,11 +1560,11 @@ function AppsSilentInstalling { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager -Name SilentInstalledAppsEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1538,19 +1611,19 @@ function WhatsNewInWindows { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Name ScoobeSystemSettingEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1597,11 +1670,11 @@ function TailoredExperiences { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force } } } @@ -1648,15 +1721,17 @@ function BingSearch { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name DisableSearchBoxSuggestions -Type CLEAR } } } @@ -1705,15 +1780,15 @@ function ThisPC { "Show" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -PropertyType DWord -Value 0 -Force } "Hide" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Force -ErrorAction Ignore } } } @@ -1760,11 +1835,11 @@ function CheckBoxes { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name AutoCheckSelect -PropertyType DWord -Value 0 -Force } } } @@ -1811,11 +1886,11 @@ function HiddenItems { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -PropertyType DWord -Value 2 -Force } } } @@ -1862,11 +1937,11 @@ function FileExtensions { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -PropertyType DWord -Value 1 -Force } } } @@ -1913,11 +1988,11 @@ function MergeConflicts { "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force } "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force } } } @@ -1964,11 +2039,11 @@ function OpenFileExplorerTo { "ThisPC" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 1 -Force } "QuickAccess" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -PropertyType DWord -Value 2 -Force } } } @@ -2015,11 +2090,11 @@ function FileExplorerCompactMode { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name UseCompactMode -PropertyType DWord -Value 1 -Force } } } @@ -2066,11 +2141,11 @@ function OneDriveFileExplorerAd { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowSyncProviderNotifications -PropertyType DWord -Value 1 -Force } } } @@ -2117,11 +2192,11 @@ function SnapAssist { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -PropertyType DWord -Value 1 -Force } } } @@ -2168,11 +2243,11 @@ function SnapAssistFlyout { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name EnableSnapAssistFlyout -PropertyType DWord -Value 0 -Force } } } @@ -2220,19 +2295,19 @@ function FileTransferDialog { "Detailed" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 1 -Force } "Compact" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager -Name EnthusiastMode -PropertyType DWord -Value 0 -Force } } } @@ -2275,19 +2350,19 @@ function RecycleBinDeleteConfirmation $Disable ) - $ShellState = Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState + $ShellState = Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState switch ($PSCmdlet.ParameterSetName) { "Enable" { $ShellState[4] = 51 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } "Disable" { $ShellState[4] = 55 - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShellState -PropertyType Binary -Value $ShellState -Force } } } @@ -2334,11 +2409,11 @@ function QuickAccessRecentFiles { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowRecent -PropertyType DWord -Value 1 -Force } } } @@ -2385,11 +2460,11 @@ function QuickAccessFrequentFolders { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name ShowFrequent -PropertyType DWord -Value 1 -Force } } } @@ -2436,11 +2511,11 @@ function TaskbarAlignment { "Center" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 1 -Force } "Left" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -PropertyType DWord -Value 0 -Force } } } @@ -2487,11 +2562,11 @@ function TaskbarSearch { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name SearchboxTaskbarMode -PropertyType DWord -Value 1 -Force } } } @@ -2538,11 +2613,11 @@ function TaskViewButton { "Hide" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 0 -Force } "Show" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name ShowTaskViewButton -PropertyType DWord -Value 1 -Force } } } @@ -2798,30 +2873,30 @@ function ControlPanelView { "Category" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 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)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -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 1 -Force } "SmallIcons" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Force + 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 1 -Force - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel -Name StartupPage -PropertyType DWord -Value 1 -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 } } } @@ -2868,11 +2943,11 @@ function WindowsColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -2919,11 +2994,11 @@ function AppColorMode { "Dark" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 0 -Force } "Light" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -PropertyType DWord -Value 1 -Force } } } @@ -3123,15 +3198,15 @@ function ShortcutsSuffix { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -PropertyType String -Value "%s.lnk" -Force } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates -Name ShortcutNameTemplate -Force -ErrorAction Ignore } } } @@ -3288,6 +3363,333 @@ function AeroShaking } } } + +<# + .SYNOPSIS + Free "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Dark + Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Light + Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations + + .PARAMETER Default + Set default cursors + + .EXAMPLE + Cursors -Dark + + .EXAMPLE + Cursors -Light + + .EXAMPLE + Cursors -Default + + .LINK + https://www.deviantart.com/jepricreations/art/Windows-11-Cursors-Concept-v2-886489356 + + .NOTES + The 09/09/22 version + + .NOTES + Current user +#> +function Cursors +{ + param + ( + [Parameter( + Mandatory = $true, + ParameterSetName = "Dark" + )] + [switch] + $Dark, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Light" + )] + [switch] + $Light, + + [Parameter( + Mandatory = $true, + ParameterSetName = "Default" + )] + [switch] + $Default + ) + + switch ($PSCmdlet.ParameterSetName) + { + "Dark" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_dark_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_dark_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_dark_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursors Dark HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_dark_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursors Dark HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Light" + { + try + { + # Check the internet connection + $Parameters = @{ + Uri = "https://www.google.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + try + { + # Check whether https://github.com is alive + $Parameters = @{ + Uri = "https://github.com" + Method = "Head" + DisableKeepAlive = $true + UseBasicParsing = $true + } + if (-not (Invoke-WebRequest @Parameters).StatusDescription) + { + return + } + + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/Cursors.zip" + OutFile = "$DownloadsFolder\Cursors.zip" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + if (-not (Test-Path -Path "$env:SystemRoot\Cursors\W11_light_v2.2")) + { + New-Item -Path "$env:SystemRoot\Cursors\W11_light_v2.2" -ItemType Directory -Force + } + + $Parameters = @{ + Path = "$DownloadsFolder\Cursors.zip" + DestinationPath = "$env:SystemRoot\Cursors\W11_light_v2.2" + Force = $true + Verbose = $true + } + Expand-Archive @Parameters + + Remove-Item -Path "$DownloadsFolder\Cursors.zip" -Force + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light HD v2.2 by Jepri Creations" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Arrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Hand -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Help -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name IBeam -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name No -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name NWPen -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Person -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Pin -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeAll -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNESW -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNS -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeNWSE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name SizeWE -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name UpArrow -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Wait -PropertyType ExpandString -Value "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" -Force + if (-not (Test-Path -Path "HKCU:\Control Panel\Cursors\Schemes")) + { + New-Item -Path "HKCU:\Control Panel\Cursors\Schemes" -Force + } + [string[]]$Schemes = ( + "%SYSTEMROOT%\Cursors\W11_light_v2.2\working.ani", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pointer.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\precision.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\link.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\help.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\beam.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\unavailable.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\handwriting.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\pin.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\person.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\move.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn2.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\vert.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\dgn1.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\horz.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\alternate.cur", + "%SYSTEMROOT%\Cursors\W11_light_v2.2\busy.ani" + ) -join "," + New-ItemProperty -Path "HKCU:\Control Panel\Cursors\Schemes" -Name "W11 Cursor Light HD v2.2 by Jepri Creations" -PropertyType String -Value $Schemes -Force + } + catch [System.Net.WebException] + { + Write-Warning -Message ($Localization.NoResponse -f "https://github.com") + Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + catch [System.Net.WebException] + { + Write-Warning -Message $Localization.NoInternetConnection + Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue + + Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue + } + } + "Default" + { + (Get-Item -Path "HKCU:\Control Panel\Cursors").Property.Split([System.Environment]::NewLine) | ForEach-Object -Process { + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name $_ -Value "" -Force + } + + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name ContactVisualization -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name Crosshair -PropertyType ExpandString -Value "" -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name CursorBaseSize -PropertyType DWord -Value 32 -Force + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name GestureVisualization -PropertyType DWord -Value 31 -Force + Remove-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name precisionhair -Force -ErrorAction Ignore + New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "Scheme Source" -PropertyType DWord -Value 0 -Force + } + } + + # Reload cursor on-the-fly + $Signature = @{ + Namespace = "WinAPI" + Name = "SystemParamInfo" + Language = "CSharp" + MemberDefinition = @" +[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] +public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, uint pvParam, uint fWinIni); +"@ + } + if (-not ("WinAPI.SystemParamInfo" -as [type])) + { + Add-Type @Signature + } + [WinAPI.SystemParamInfo]::SystemParametersInfo(0x0057, 0, $null, 0) +} #endregion UI & Personalization #region OneDrive @@ -3415,7 +3817,7 @@ public static bool MarkFileDelete (string sourcefile) } Remove-ItemProperty -Path HKCU:\Environment -Name OneDrive, OneDriveConsumer -Force -ErrorAction Ignore - Remove-Item -Path HKCU:\SOFTWARE\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore + Remove-Item -Path HKCU:\Software\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path HKLM:\SOFTWARE\WOW6432Node\Microsoft\OneDrive -Recurse -Force -ErrorAction Ignore Remove-Item -Path "$env:ProgramData\Microsoft OneDrive" -Recurse -Force -ErrorAction Ignore Remove-Item -Path $env:SystemDrive\OneDriveTemp -Recurse -Force -ErrorAction Ignore @@ -3520,7 +3922,7 @@ public static bool MarkFileDelete (string sourcefile) [xml]$OneDriveXML = $Content -replace "", "" $OneDriveURL = ($OneDriveXML).root.update.amd64binary.url - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ Uri = $OneDriveURL OutFile = "$DownloadsFolder\OneDriveSetup.exe" @@ -3544,7 +3946,7 @@ public static bool MarkFileDelete (string sourcefile) } # Save screenshots by pressing Win+PrtScr in the Pictures folder - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore Get-ScheduledTask -TaskName "Onedrive* Update*" | Enable-ScheduledTask Get-ScheduledTask -TaskName "Onedrive* Update*" | Start-ScheduledTask @@ -3598,19 +4000,19 @@ function StorageSense { "Enable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 1 -Force } "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -ItemType Directory -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01 -PropertyType DWord -Value 0 -Force } } } @@ -3657,16 +4059,16 @@ function StorageSenseTempFiles { "Enable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 1 -Force } } "Disable" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 04 -PropertyType DWord -Value 0 -Force } } } @@ -3714,16 +4116,16 @@ function StorageSenseFrequency { "Month" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 30 -Force } } "Default" { - if ((Get-ItemPropertyValue -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") + if ((Get-ItemPropertyValue -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 01) -eq "1") { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy -Name 2048 -PropertyType DWord -Value 0 -Force } } } @@ -4364,6 +4766,7 @@ function WaitNetworkStartup New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force } New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type DWORD -Value 1 } } "Disable" @@ -4371,6 +4774,7 @@ function WaitNetworkStartup if ((Get-CimInstance -ClassName CIM_ComputerSystem).PartOfDomain) { Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path "SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name SyncForegroundPolicy -Type CLEAR } } } @@ -4418,11 +4822,11 @@ function WindowsManageDefaultPrinter { "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows" -Name LegacyDefaultPrinterMode -PropertyType DWord -Value 0 -Force } } } @@ -5737,7 +6141,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } # Determining the current user folder path - $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] + $CurrentUserFolderPath = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder] if ($CurrentUserFolder -ne $FolderPath) { if ((Get-ChildItem -Path $CurrentUserFolderPath | Measure-Object).Count -ne 0) @@ -5758,7 +6162,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int } KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force # Save desktop.ini in the UTF-16 LE encoding Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force @@ -5901,7 +6305,7 @@ public static string GetString(uint strId) # Desktop Write-Verbose -Message ($Localization.DriveSelect -f $DesktopLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5934,7 +6338,7 @@ public static string GetString(uint strId) # Documents Write-Verbose -Message ($Localization.DriveSelect -f $DocumentsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -5967,7 +6371,7 @@ public static string GetString(uint strId) # Downloads Write-Verbose -Message ($Localization.DriveSelect -f $DownloadsLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6000,7 +6404,7 @@ public static string GetString(uint strId) # Music Write-Verbose -Message ($Localization.DriveSelect -f $MusicLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6033,7 +6437,7 @@ public static string GetString(uint strId) # Pictures Write-Verbose -Message ($Localization.DriveSelect -f $PicturesLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6066,7 +6470,7 @@ public static string GetString(uint strId) # Videos Write-Verbose -Message ($Localization.DriveSelect -f $VideosLocalizedString) -Verbose - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6099,7 +6503,7 @@ public static string GetString(uint strId) "Custom" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6142,7 +6546,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6185,7 +6589,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6228,7 +6632,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6271,7 +6675,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6314,7 +6718,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6359,7 +6763,7 @@ public static string GetString(uint strId) "Default" { # Desktop - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DesktopLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6389,7 +6793,7 @@ public static string GetString(uint strId) } # Documents - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Personal Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DocumentsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6419,7 +6823,7 @@ public static string GetString(uint strId) } # Downloads - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $DownloadsLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6449,7 +6853,7 @@ public static string GetString(uint strId) } # Music - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Music" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $MusicLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6479,7 +6883,7 @@ public static string GetString(uint strId) } # Pictures - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Pictures" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $PicturesLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6509,7 +6913,7 @@ public static string GetString(uint strId) } # Videos - $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" + $CurrentUserFolderLocation = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "My Video" Write-Verbose -Message ($Localization.CurrentUserFolderLocation -f $VideosLocalizedString, $CurrentUserFolderLocation) -Verbose Write-Information -MessageData "" -InformationAction Continue @@ -6600,8 +7004,8 @@ function WinPrtScrFolder $OneDriveInstalled = Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore if ($OneDriveUninstallFunctionUncommented -or (-not $OneDriveInstalled)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -6614,8 +7018,8 @@ function WinPrtScrFolder # A preset file isn't taking a part so we ignore it and check only whether OneDrive was already uninstalled if (-not (Get-Package -Name "Microsoft OneDrive" -ProviderName Programs -Force -ErrorAction Ignore)) { - $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force + $DesktopFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name Desktop + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -PropertyType ExpandString -Value $DesktopFolder -Force } else { @@ -6626,7 +7030,7 @@ function WinPrtScrFolder } "Default" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{B7BEDE81-DF94-4682-A7D8-57A52620B86F}" -Force -ErrorAction Ignore } } } @@ -6693,14 +7097,14 @@ function RecommendedTroubleshooting } # Set the OS level of diagnostic data gathering to "Optional diagnostic data" - New-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name MaxTelemetryAllowed -PropertyType DWord -Value 3 -Force - - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack -Name ShowedToastAtLevel -PropertyType DWord -Value 3 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Type DWORD -Value 1 # Turn on Windows Error Reporting Get-ScheduledTask -TaskName QueueReporting | Enable-ScheduledTask - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Windows Error Reporting" -Name Disabled -Force -ErrorAction Ignore Get-Service -Name WerSvc | Set-Service -StartupType Manual Get-Service -Name WerSvc | Start-Service @@ -6748,11 +7152,11 @@ function FoldersLaunchSeparateProcess { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SeparateProcess -PropertyType DWord -Value 0 -Force } } } @@ -6857,15 +7261,15 @@ function F1HelpPage { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force + New-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" -Name "(default)" -PropertyType String -Value "" -Force } "Enable" { - Remove-Item -Path "HKCU:\SOFTWARE\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore + Remove-Item -Path "HKCU:\Software\Classes\Typelib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}" -Recurse -Force -ErrorAction Ignore } } } @@ -7065,11 +7469,11 @@ function Autoplay { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 1 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers -Name DisableAutoplay -PropertyType DWord -Value 0 -Force } } } @@ -7167,11 +7571,11 @@ function SaveRestartableApps { "Enable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 1 -Force } "Disable" { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name RestartApps -PropertyType DWord -Value 0 -Force } } } @@ -7629,11 +8033,11 @@ namespace RegistryUtils $Icon ) - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\DefaultIcon" -Name "(default)" -PropertyType String -Value $Icon -Force } function Remove-UserChoiceKey @@ -7698,33 +8102,33 @@ namespace RegistryUtils if ($OrigProgID) { # Save possible ProgIds history with extension - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgID_$Extension" -PropertyType DWord -Value 0 -Force } $Name = "{0}_$Extension" -f (Split-Path -Path $ProgId -Leaf) - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name $Name -PropertyType DWord -Value 0 -Force if ("$ProgId_$Extension" -ne $Name) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "$ProgId_$Extension" -PropertyType DWord -Value 0 -Force } # If ProgId doesn't exist set the specified ProgId for the extensions if (-not $OrigProgID) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension" -Name "(default)" -PropertyType String -Value $ProgId -Force } # Set the specified ProgId in the possible options for the assignment - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Force + New-Item -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$Extension\OpenWithProgids" -Name $ProgId -PropertyType None -Value ([byte[]]@()) -Force # Set the system ProgId to the extension parameters for the File Explorer to the possible options for the assignment, and if absent set the specified ProgId if ($OrigProgID) @@ -7802,18 +8206,18 @@ namespace RegistryUtils foreach ($AppxProgID in ($OpenSubkey | Where-Object -FilterScript {$_ -match "AppX"})) { # If an app is installed - if (Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Classes\$AppxProgID\Shell\open" -Name PackageId) + if (Get-ItemPropertyValue -Path "HKCU:\Software\Classes\$AppxProgID\Shell\open" -Name PackageId) { # If the specified ProgId is equal to UWP installed ProgId if ($ProgId -eq $AppxProgID) { # Remove association limitations for this UWP apps - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoStaticDefaultVerb -Force -ErrorAction Ignore } else { - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$AppxProgID" -Name NoOpenWith -PropertyType String -Value "" -Force } } } @@ -7824,7 +8228,7 @@ namespace RegistryUtils if (($picture -eq "picture") -and $PBrush) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts" -Name "PBrush_$Extension" -PropertyType DWord -Value 0 -Force } } @@ -8035,18 +8439,18 @@ namespace FileAssoc if ($ProgramPath) { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\$ProgId\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\$ProgId\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force $FileNameEXE = Split-Path -Path $ProgramPath -Leaf - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command")) + if (-not (Test-Path -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command")) { - New-Item -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Force + New-Item -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force + New-ItemProperty -Path "HKCU:\Software\Classes\Applications\$FileNameEXE\shell\open\command" -Name "(Default)" -PropertyType String -Value "`"$ProgramPath`" `"%1`"" -Force } if ($Icon) @@ -8165,10 +8569,10 @@ function DefaultTerminalApp <# .SYNOPSIS - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) .EXAMPLE - InstallVCRedistx64 + InstallVCRedist .LINK https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist @@ -8176,7 +8580,7 @@ function DefaultTerminalApp .NOTES Machine-wide #> -function InstallVCRedistx64 +function InstallVCRedist { try { @@ -8194,11 +8598,22 @@ function InstallVCRedistx64 if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller).Version -ge [System.Version]"1.17") { + winget install --id=Microsoft.VCRedist.2015+.x86 --exact --accept-source-agreements winget install --id=Microsoft.VCRedist.2015+.x64 --exact --accept-source-agreements } else { - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $Parameters = @{ + Uri = "https://aka.ms/vs/17/release/VC_redist.x86.exe" + OutFile = "$DownloadsFolder\VC_redist.x86.exe" + UseBasicParsing = $true + Verbose = $true + } + Invoke-WebRequest @Parameters + + Start-Process -FilePath "$DownloadsFolder\VC_redist.x86.exe" -ArgumentList "/install /passive /norestart" -Wait + $Parameters = @{ Uri = "https://aka.ms/vs/17/release/VC_redist.x64.exe" OutFile = "$DownloadsFolder\VC_redist.x64.exe" @@ -8218,7 +8633,7 @@ function InstallVCRedistx64 (Get-ItemProperty -Path HKCU:\Environment -Name TEMP).TEMP [System.IO.Path]::GetTempPath() #> - Get-ChildItem -Path "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore + Get-ChildItem -Path "$DownloadsFolder\VC_redist.x86.exe", "$DownloadsFolder\VC_redist.x64.exe", "$env:TEMP\dd_vcredist_amdx86_*.log", "$env:TEMP\dd_vcredist_amd64_*.log" -Force | Remove-Item -Recurse -Force -ErrorAction Ignore } } catch [System.Net.WebException] @@ -8274,7 +8689,7 @@ function InstallDotNetRuntime6 UseBasicParsing = $true } $LatestRelease = (Invoke-RestMethod @Parameters)."latest-release" - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" # .NET Desktop Runtime x86 $Parameters = @{ @@ -9784,10 +10199,10 @@ function HEIF return } - # https://github.com/Sophia-Community/SophiApp/tree/master/AppX - $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" + # https://github.com/farag2/Sophia-Script-for-Windows/tree/master/AppX + $DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}" $Parameters = @{ - Uri = "https://github.com/Sophia-Community/SophiApp/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/AppX/Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" OutFile = "$DownloadsFolder\Microsoft.HEVCVideoExtension_2.0.51121.0_x64__8wekyb3d8bbwe.Appx" UseBasicParsing = $true Verbose = $true @@ -10029,12 +10444,12 @@ function XboxGameBar { "Disable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 0 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR -Name AppCaptureEnabled -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKCU:\System\GameConfigStore -Name GameDVR_Enabled -PropertyType DWord -Value 1 -Force } } @@ -10084,14 +10499,14 @@ function XboxGameTips { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 0 -Force } } "Enable" { if ((Get-AppxPackage -Name Microsoft.XboxGamingOverlay) -or (Get-AppxPackage -Name Microsoft.GamingApp)) { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\GameBar -Name ShowStartupPanel -PropertyType DWord -Value 1 -Force } } } @@ -10140,11 +10555,11 @@ function SetAppGraphicsPerformance if ($OpenFileDialog.FileName) { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Force + New-Item -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\DirectX\UserGpuPreferences -Name $OpenFileDialog.FileName -PropertyType String -Value "GpuPreference=2;" -Force Write-Verbose -Message ("{0}" -f $OpenFileDialog.FileName) -Verbose } } @@ -10273,6 +10688,13 @@ function CleanupTask "Register" { Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches | ForEach-Object -Process { Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore @@ -10385,11 +10807,11 @@ while (`$true) Register-ScheduledTask @Parameters -Force # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force # Register the "WindowsCleanup" protocol to be able to run the scheduled task by clicking the "Run" button in a toast if (-not (Test-Path -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command)) @@ -10401,7 +10823,7 @@ while (`$true) New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup -Name EditFlags -PropertyType DWord -Value 2162688 -Force # Start the "Windows Cleanup" task if the "Run" button clicked - New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia Script\'' -TaskName ''Windows Cleanup''}"' -Force + New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\WindowsCleanup\shell\open\command -Name "(default)" -PropertyType String -Value 'powershell.exe -Command "& {Start-ScheduledTask -TaskPath ''\Sophia\'' -TaskName ''Windows Cleanup''}"' -Force $ToastNotification = @" [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null @@ -10467,7 +10889,7 @@ while (`$true) Remove-ItemProperty -Path $_.PsPath -Name StateFlags1337 -Force -ErrorAction Ignore } - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -Force -ErrorAction Ignore Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName "Windows Cleanup", "Windows Cleanup Notification" -Confirm:$false -ErrorAction Ignore @@ -10521,14 +10943,21 @@ function SoftwareDistributionTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName SoftwareDistribution -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore # Persist the Settings notifications to prevent to immediately disappear from Action Center - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" -Name ShowInActionCenter -PropertyType DWord -Value 1 -Force $SoftwareDistributionTask = @" (Get-Service -Name wuauserv).WaitForStatus('Stopped', '01:00:00') @@ -10628,7 +11057,14 @@ function TempTask { "Register" { - Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\", "\Sophia\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + Unregister-ScheduledTask -TaskPath "\Sophia Script\", "\SophiApp\" -TaskName Temp -Confirm:$false -ErrorAction Ignore + $Items = @( + "$env:SystemRoot\System32\Tasks\SophiApp", + "$env:SystemRoot\System32\Tasks\Sophia Script", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\SophiApp", + "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Sophia Script" + ) + Remove-Item -Path $Items -Recurse -ErrorAction Ignore $TempTask = @" Get-ChildItem -Path `$env:TEMP -Recurse -Force | Where-Object -FilterScript {`$_.CreationTime -lt (Get-Date).AddDays(-1)} | Remove-Item -Recurse -Force @@ -10797,7 +11233,7 @@ function DismissMSAccount { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AccountProtection_MicrosoftAccount_Disconnected -PropertyType DWord -Value 1 -Force } } @@ -10806,7 +11242,7 @@ function DismissSmartScreenFilter { if ($Script:DefenderEnabled) { - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Security Health\State" -Name AppAndBrowser_EdgeSmartScreenOff -PropertyType DWord -Value 0 -Force } } @@ -10910,10 +11346,12 @@ function CommandLineProcessAudit 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type CLEAR } } } @@ -10968,6 +11406,7 @@ function EventViewerCustomView # 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 + Set-Policy -Scope Computer -Path SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit -Name ProcessCreationIncludeCmdLine_Enabled -Type DWORD -Value 1 $XML = @" @@ -11051,11 +11490,14 @@ function PowerShellModulesLogging } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -PropertyType String -Value * -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type DWORD -Value 1 + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Type SZ -Value * } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Force -ErrorAction Ignore Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name * -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -Type CLEAR } } } @@ -11107,10 +11549,12 @@ function PowerShellScriptsLogging New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Force } New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -PropertyType DWord -Value 1 -Force + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type DWORD -Value 1 } "Disable" { Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Force -ErrorAction Ignore + Set-Policy -Scope Computer -Path SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging -Name EnableScriptBlockLogging -Type CLEAR } } } @@ -11211,15 +11655,17 @@ function SaveZoneInformation { "Disable" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments)) + if (-not (Test-Path -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments)) { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force + New-Item -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type DWORD -Value 1 } "Enable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Microsoft\Windows\CurrentVersion\Policies\Attachments -Name SaveZoneInformation -Type CLEAR } } } @@ -11269,15 +11715,15 @@ function WindowsScriptHost { "Disable" { - if (-not (Test-Path -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings")) + if (-not (Test-Path -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings")) { - New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Force + New-Item -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Force } - New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force + New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -PropertyType DWord -Value 0 -Force } "Enable" { - Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore + Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows Script Host\Settings" -Name Enabled -Force -ErrorAction Ignore } } } @@ -12151,11 +12597,11 @@ function MultipleInvokeContext { "Enable" { - New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force + New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -PropertyType DWord -Value 300 -Force } "Disable" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer -Name MultipleInvokePromptMinimum -Force -ErrorAction Ignore } } } @@ -12202,15 +12648,17 @@ function UseStoreOpenWith { "Hide" { - if (-not (Test-Path -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer)) + if (-not (Test-Path -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer)) { - New-Item -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Force + New-Item -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Force } - New-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + New-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -PropertyType DWord -Value 1 -Force + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type DWORD -Value 1 } "Show" { - Remove-ItemProperty -Path HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Remove-ItemProperty -Path HKCU:\Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Force -ErrorAction Ignore + Set-Policy -Scope User -Path Software\Policies\Microsoft\Windows\Explorer -Name NoUseStoreOpenWith -Type CLEAR } } } @@ -12441,13 +12889,7 @@ function Windows10ContextMenu UpdateLGPEPolicies .NOTES - Uses PolicyFileEditor module created by Dave Wyatt - - .LINK - https://www.powershellgallery.com/packages/PolicyFileEditor - - .LINK - https://github.com/dlwyatt/PolicyFileEditor + https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045 .NOTES Machine-wide user @@ -12480,29 +12922,37 @@ function UpdateLGPEPolicies # Parse every ADMX template searching if it contains full path and registry key simultaneously [xml]$config = Get-Content -Path $admx.FullName -Encoding UTF8 $config.SelectNodes("//@*") | ForEach-Object {$_.value = $_.value.ToLower()} - $SplitPath = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier + $SplitPath = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\Machine\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "HKLM:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() } - Set-PolicyFileEntry @Parameters + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" + } + } + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_LOCAL_MACHINE\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item } - catch - {} + Set-Policy @Parameters } } } @@ -12511,8 +12961,8 @@ function UpdateLGPEPolicies # Current User policies paths to scan recursively $CU_Paths = @( - "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies", - "HKCU:\SOFTWARE\Policies\Microsoft" + "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies", + "HKCU:\Software\Policies\Microsoft" ) foreach ($Path in (@(Get-ChildItem -Path $CU_Paths -Recurse -Force))) { @@ -12531,72 +12981,43 @@ function UpdateLGPEPolicies if ($config.SelectSingleNode("//*[local-name()='policy' and @key='$($SplitPath.ToLower())' and (@valueName='$($Item.ToLower())' or @Name='$($Item.ToLower())' or .//*[local-name()='enum' and @valueName='$($Item.ToLower())'])]")) { - try + Write-Verbose -Message $Item.Replace("{}", "") -Verbose + + $Type = switch ((Get-Item -Path $Path.PSPath).GetValueKind($Item)) { - Write-Verbose -Message $Item.Replace("{}", "") -Verbose - - $Parameters = @{ - Path = "$env:SystemRoot\System32\GroupPolicy\User\Registry.pol" - # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies - Key = Split-Path -Path $Path.Name.Replace("HKEY_CURRENT_USER\", "HKCU:") -NoQualifier - ValueName = $Item.Replace("{}", "") - Data = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item - # DWord, String, etc. - Type = (Get-Item -Path $Path.PSPath).GetValueKind($Item) - # Do not update the policy DB every time - NoGptIniUpdate = $true + "DWord" + { + (Get-Item -Path $Path.PSPath).GetValueKind($Item).ToString().ToUpper() + } + "ExpandString" + { + "EXSZ" + } + "String" + { + "SZ" } - Set-PolicyFileEntry @Parameters } - catch - {} + + $Parameters = @{ + Scope = "Computer" + # e.g. SOFTWARE\Microsoft\Windows\CurrentVersion\Policies + Path = $Path.Name.Replace("HKEY_CURRENT_USER\", "") + Name = $Item.Replace("{}", "") + Type = $Type + Value = Get-ItemPropertyValue -Path $Path.PSPath -Name $Item + } + Set-Policy @Parameters } } } } } - # Re-build GPT.ini if it doesn't exist - if (-not (Test-Path -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini)) - { - Start-Process -FilePath gpedit.msc - Start-Sleep -Seconds 2 - - # Get mmc.exe's Id with its' argument (gpedit.msc) to close - $gpedit_Process_ID = (Get-CimInstance -ClassName CIM_Process | Where-Object -FilterScript { - $_.Name -eq "mmc.exe" - } | Where-Object -FilterScript {$_.CommandLine -match "GPEDIT.MSC"}).Handle - Get-Process -Id $gpedit_Process_ID | Stop-Process -Force - } - - Update-GptIniVersion -Path $env:SystemRoot\System32\GroupPolicy\GPT.ini -PolicyType Machine, User - - # Apply the new policy immediately gpupdate.exe /force } #endregion Update Policies -# Errors output -function Errors -{ - if ($Global:Error) - { - ($Global:Error | ForEach-Object -Process { - # Some errors may have the Windows nature and don't have a path to any of the module's files - $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) - { - Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf - } - - [PSCustomObject]@{ - $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber - $Localization.ErrorsFile = $ErrorInFile - $Localization.ErrorsMessage = $_.Exception.Message - } - } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() - } -} - #region Refresh Environment function RefreshEnvironment { @@ -12769,8 +13190,23 @@ public static void PostMessage() $ToastMessage = [Windows.UI.Notifications.ToastNotification]::New($ToastXML) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel").Show($ToastMessage) - Stop-Process -Name explorer -Force + if ((Test-Path -Path "$env:TEMP\Computer.txt") -or (Test-Path -Path "$env:TEMP\User.txt")) + { + if (Test-Path -Path "$env:TEMP\Computer.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\Computer.txt" + } + if (Test-Path -Path "$env:TEMP\User.txt") + { + & "$PSScriptRoot\..\bin\LGPO.exe" /t "$env:TEMP\User.txt" + } + + gpupdate /force + } + + Remove-Item -Path "$env:TEMP\Computer.txt", "$env:TEMP\User.txt" -Force -ErrorAction Ignore + Stop-Process -Name explorer -Force Start-Sleep -Seconds 3 # Restoring closed folders @@ -12782,4 +13218,24 @@ public static void PostMessage() } } } + +function Errors +{ + if ($Global:Error) + { + ($Global:Error | ForEach-Object -Process { + # Some errors may have the Windows nature and don't have a path to any of the module's files + $ErrorInFile = if ($_.InvocationInfo.PSCommandPath) + { + Split-Path -Path $_.InvocationInfo.PSCommandPath -Leaf + } + + [PSCustomObject]@{ + $Localization.ErrorsLine = $_.InvocationInfo.ScriptLineNumber + $Localization.ErrorsFile = $ErrorInFile + $Localization.ErrorsMessage = $_.Exception.Message + } + } | Sort-Object -Property Line | Format-Table -AutoSize -Wrap | Out-String).Trim() + } +} #endregion Refresh Environment diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 index 9ab832d7..9bc3ef9f 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 @@ -2,8 +2,8 @@ .SYNOPSIS Default preset file for "Sophia Script for Windows 11 (PowerShell 7)" - Version: v6.1.5 - Date: 09.10.2022 + Version: v6.2.0 + Date: 22.10.2022 Copyright (c) 2014—2022 farag Copyright (c) 2019—2022 farag & Inestic @@ -39,13 +39,16 @@ . .\Function.ps1 (with a dot at the beginning) Read more in the Functions.ps1 file - .LINK GitHub link + .LINK GitHub https://github.com/farag2/Sophia-Script-for-Windows - .LINK Telegram channel & group + .LINK Telegram https://t.me/sophianews https://t.me/sophia_chat + .LINK Discord + https://discord.gg/sSryhaEv79 + .NOTES https://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15 https://habr.com/company/skillfactory/blog/553800/ @@ -70,17 +73,11 @@ param Clear-Host -$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.1.5 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" +$Host.UI.RawUI.WindowTitle = "Sophia Script for Windows 11 v6.2.0 (PowerShell 7) | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows | $([char]0x00A9) farag & Inestic, 2014$([char]0x2013)2022" Remove-Module -Name Sophia -Force -ErrorAction Ignore Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force -# Import module for modifying registry.pol files (Administrative Templates) of local GPOs -# Used for UpdateLGPEPolicies function -# https://www.powershellgallery.com/packages/PolicyFileEditor -Remove-Module -Name PolicyFileEditor -Force -ErrorAction Ignore -Import-Module -Name $PSScriptRoot\bin\PolicyFileEditor\PolicyFileEditor.psd1 -PassThru -Force - # PowerShell 7 doesn't load en-us localization automatically if there is no localization folder in user's language which is determined by $PSUICulture # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/import-localizeddata?view=powershell-7.2 try @@ -115,7 +112,7 @@ if ($Functions) } # The "RefreshEnvironment" and "Errors" functions will be executed at the end - Invoke-Command -ScriptBlock {Errors; RefreshEnvironment} + Invoke-Command -ScriptBlock {RefreshEnvironment; Errors} exit } @@ -296,11 +293,11 @@ HiddenItems -Enable # Не показывать скрытые файлы, папки и диски (значение по умолчанию) # HiddenItems -Disable -# Show the file name extensions +# Show file name extensions # Отобразить расширения имён файлов FileExtensions -Show -# Hide the file name extensions (default value) +# Hide file name extensions (default value) # Скрывать расширения имён файлов файлов (значение по умолчанию) # FileExtensions -Hide @@ -472,24 +469,6 @@ JPEGWallpapersQuality -Max # Установить коэффициент качества обоев рабочего стола в формате JPEG по умолчанию # JPEGWallpapersQuality -Default -<# - Start Task Manager in the expanded mode - Function works only on 22000 build due to Windows 11 22H2 has a new Task Manager with the new UI - - Запускать Диспетчера задач в развернутом виде - Функция работает только на 22000 билде, так как Windows 11 22H2 идет с обновленным диспетчером задач -#> -TaskManagerWindow -Expanded - -<# - Start Task Manager in the compact mode (default value) - Function works only on 22000 build due to Windows 11 22H2 has a new Task Manager with the new UI - - Запускать Диспетчера задач в свернутом виде (значение по умолчанию) - Функция работает только на 22000 билде, так как Windows 11 22H2 идет с обновленным диспетчером задач -#> -# TaskManagerWindow -Compact - # Notify me when a restart is required to finish updating # Уведомлять меня о необходимости перезагрузки для завершения обновления RestartNotification -Show @@ -529,6 +508,18 @@ AeroShaking -Enable # When I grab a windows's title bar and shake it, don't minimize all other windows (default value) # При захвате заголовка окна и встряхивании не сворачиваются все остальные окна (значение по умолчанию) # AeroShaking -Disable + +# Download and install free dark "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные темные курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +Cursors -Dark + +# Download and install free light "Windows 11 Cursors Concept v2" cursors from Jepri Creations +# Скачать и установить бесплатные светлые курсоры "Windows 11 Cursors Concept v2" от Jepri Creations +# Cursors -Light + +# Set default cursors (default value) +# Установить курсоры по умолчанию (значение по умолчанию) +# Cursors -Default #endregion UI & Personalization #region OneDrive @@ -592,12 +583,12 @@ Win32LongPathLimit -Disable # Включить ограничение Windows на 260 символов в пути (значение по умолчанию) # Win32LongPathLimit -Enable -# Display the Stop error information on the BSoD -# Отображать Stop-ошибку при появлении BSoD +# Display Stop error code when BSoD occurs +# Отображать код Stop-ошибки при появлении BSoD BSoDStopError -Enable -# Do not display the Stop error information on the BSoD (default value) -# Не отображать Stop-ошибку при появлении BSoD (значение по умолчанию) +# Do not Stop error code when BSoD occurs (default value) +# Не отображать код Stop-ошибки при появлении BSoD (значение по умолчанию) # BSoDStopError -Disable # Choose when to be notified about changes to your computer: never notify @@ -909,12 +900,12 @@ DefaultTerminalApp -WindowsTerminal # DefaultTerminalApp -ConsoleHost <# - Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 x64 - Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 x64 + Install the latest Microsoft Visual C++ Redistributable Packages 2015–2022 (x86/x64) + Установить последнюю версию распространяемых пакетов Microsoft Visual C++ 2015–2022 (x86/x64) https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist #> -InstallVCRedistx64 +InstallVCRedist <# Install the latest .NET Desktop Runtime 6 (x86/x64) @@ -924,8 +915,8 @@ InstallVCRedistx64 #> InstallDotNetRuntime6 -# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function will be applied only if the region in Windows is set to "Russia" -# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция будет применена, только если в Windows установлен регион "Россия" +# Enable proxying only blocked sites from the unified registry of Roskomnadzor. The function is applicable for Russia only +# Включить проксирование только заблокированных сайтов из единого реестра Роскомнадзора. Функция применима только для России # https://antizapret.prostovpn.org RKNBypass -Enable @@ -968,16 +959,16 @@ RunPowerShellShortcut -Elevated # RunPowerShellShortcut -NonElevated # Show default Start layout (for 22621+ build only) (default value) -# Отображать стандартный макет начального экрана (только для сборки 22621+) (значение по умолчанию) +# Отображать стандартный макет начального экрана (только для сборок 22621+) (значение по умолчанию) # StartLayout -Default # Show more pins on Start (for 22621+ build only) -# Отображать больше закреплений на начальном экране (только для сборки 22621+) +# Отображать больше закреплений на начальном экране (только для сборок 22621+) StartLayout -ShowMorePins # Show more recommendations on Start (for 22621+ build only) -# Отображать больше рекомендаций на начальном экране (только для сборки 22621+) -StartLayout -ShowMoreRecommendations +# Отображать больше рекомендаций на начальном экране (только для сборок 22621+) +# StartLayout -ShowMoreRecommendations #endregion Start menu #region UWP apps @@ -1380,18 +1371,9 @@ Windows10ContextMenu -Disable #region Update Policies # Update Local Group Policy Editor (gpedit.msc) to make all manually created policy keys in the registry visible in the snap-in # Обновить Редактор локальной групповой политики (gpedit.msc) так, чтобы оснастка отображала все созданные вручную политики в реестре -UpdateLGPEPolicies +# UpdateLGPEPolicies #endregion Update Policies -<# - Errors output - Please, do not comment out this function - - Вывод ошибок - Пожалуйста, не комментируйте данную функцию -#> -Errors - <# Simulate pressing F5 to refresh the desktop Refresh desktop icons, environment variables, taskbar @@ -1404,3 +1386,12 @@ Errors Пожалуйста, не комментируйте данную функцию #> RefreshEnvironment + +<# + Errors output + Please, do not comment out this function + + Вывод ошибок + Пожалуйста, не комментируйте данную функцию +#> +Errors