diff --git a/Assets/Features.json b/Assets/Features.json index 9bf3920..d3f35b6 100644 --- a/Assets/Features.json +++ b/Assets/Features.json @@ -9,6 +9,7 @@ "Taskbar", "Appearance", "File Explorer", + "Multi-tasking", "Other", "Gaming" ], @@ -74,6 +75,18 @@ { "Label": "Downloads", "FeatureIds": ["ExplorerToDownloads"] }, { "Label": "OneDrive", "FeatureIds": ["ExplorerToOneDrive"] } ] + }, + { + "GroupId": "ShowTabsInAltTab", + "Label": "Show tabs from apps when snapping or pressing Alt+Tab", + "Category": "Multi-tasking", + "Priority": 10, + "Values": [ + { "Label": "Don't show tabs", "FeatureIds": ["HideTabsInAltTab"] }, + { "Label": "Show 3 most recent tabs", "FeatureIds": ["Show3TabsInAltTab"] }, + { "Label": "Show 5 most recent tabs", "FeatureIds": ["Show5TabsInAltTab"] }, + { "Label": "Show 20 most recent tabs", "FeatureIds": ["Show20TabsInAltTab"] } + ] } ], "Features": [ @@ -487,7 +500,7 @@ }, { "FeatureId": "DisableStickyKeys", - "Label": "Sticky Keys keyboard shortcut", + "Label": "Sticky Keys keyboard shortcut (5x shift)", "Category": "System", "Action": "Disable", "RegistryKey": "Disable_Sticky_Keys_Shortcut.reg", @@ -497,6 +510,93 @@ "MinVersion": 26100, "MaxVersion": null }, + { + "FeatureId": "DisableWindowSnapping", + "Label": "window snapping", + "Category": "Multi-tasking", + "Priority": 1, + "Action": "Disable", + "RegistryKey": "Disable_Window_Snapping.reg", + "ApplyText": "> Disabling window snapping...", + "UndoAction": "Enable", + "RegistryUndoKey": "Enable_Window_Snapping.reg", + "MinVersion": null, + "MaxVersion": null + }, + { + "FeatureId": "DisableSnapAssist", + "Label": "showing app suggestions when snapping windows", + "Category": "Multi-tasking", + "Priority": 2, + "Action": "Disable", + "RegistryKey": "Disable_Snap_Assist.reg", + "ApplyText": "> Disabling the Snap Assist suggestions...", + "UndoAction": "Enable", + "RegistryUndoKey": "Enable_Snap_Assist.reg", + "MinVersion": 22000, + "MaxVersion": null + }, + { + "FeatureId": "DisableSnapLayouts", + "Label": "snap layout flyout at top of screen and on maximize button", + "Category": "Multi-tasking", + "Priority": 3, + "Action": "Hide", + "RegistryKey": "Disable_Snap_Layouts.reg", + "ApplyText": "> Hiding snap layouts when dragging windows to top of the screen and on maximize button...", + "UndoAction": "Show", + "RegistryUndoKey": "Enable_Snap_Layouts.reg", + "MinVersion": 22000, + "MaxVersion": null + }, + { + "FeatureId": "HideTabsInAltTab", + "Label": "tabs from apps when snapping or pressing Alt+Tab", + "Category": "Multi-tasking", + "Action": "Hide", + "RegistryKey": "Hide_Tabs_In_Alt_Tab.reg", + "ApplyText": "> Disable showing tabs from apps when snapping or pressing Alt+Tab...", + "UndoAction": null, + "RegistryUndoKey": null, + "MinVersion": 22000, + "MaxVersion": null + }, + { + "FeatureId": "Show3TabsInAltTab", + "Label": "tabs from apps when snapping or pressing Alt+Tab", + "Category": "Multi-tasking", + "Action": "Show 3", + "RegistryKey": "Show_3_Tabs_In_Alt_Tab.reg", + "ApplyText": "> Enable showing 3 tabs from apps when snapping or pressing Alt+Tab...", + "UndoAction": null, + "RegistryUndoKey": null, + "MinVersion": 22000, + "MaxVersion": null + }, + { + "FeatureId": "Show5TabsInAltTab", + "Label": "tabs from apps when snapping or pressing Alt+Tab", + "Category": "Multi-tasking", + "Action": "Show 5", + "RegistryKey": "Show_5_Tabs_In_Alt_Tab.reg", + "ApplyText": "> Enable showing 5 tabs from apps when snapping or pressing Alt+Tab...", + "UndoAction": null, + "RegistryUndoKey": null, + "MinVersion": 22000, + "MaxVersion": null + }, + { + "FeatureId": "Show20TabsInAltTab", + "Label": "tabs from apps when snapping or pressing Alt+Tab", + "Category": "Multi-tasking", + "Action": "Show 20", + "RegistryKey": "Show_20_Tabs_In_Alt_Tab.reg", + "ApplyText": "> Enable showing 20 tabs from apps when snapping or pressing Alt+Tab...", + "UndoAction": null, + "RegistryUndoKey": null, + "MinVersion": 22000, + "MaxVersion": null + }, { "FeatureId": "TaskbarAlignLeft", "Label": "taskbar alignment", diff --git a/Get.ps1 b/Get.ps1 index efd9c18..4970394 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -69,6 +69,10 @@ param ( [switch]$DisableDragTray, [switch]$DisableMouseAcceleration, [switch]$DisableStickyKeys, + [switch]$DisableWindowSnapping, + [switch]$DisableSnapAssist, + [switch]$DisableSnapLayouts, + [switch]$HideTabsInAltTab, [switch]$Show3TabsInAltTab, [switch]$Show5TabsInAltTab, [switch]$Show20TabsInAltTab, [switch]$HideHome, [switch]$HideGallery, [switch]$ExplorerToHome, diff --git a/README.md b/README.md index d63d604..a238cfa 100755 --- a/README.md +++ b/README.md @@ -153,6 +153,13 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Hide the 3D objects, music or OneDrive folder from the File Explorer navigation pane. (W10 only) - Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (W10 only) +#### Multi-tasking + +- Disable window snapping. (W11 only) +- Disable Snap Assist suggestions when snapping a window. (W11 only) +- Disable Snap Layout suggestions when dragging windows to the top of screen and when hovering on the maximize button. (W11 only) +- Change if tabs are shown when snapping or pressing Alt+Tab. (W11 only) + #### Other - Disable Xbox Game Bar integration & game/screen recording. This also disables `ms-gamingoverlay`/`ms-gamebar` popups if you uninstall the Xbox Game Bar. diff --git a/Regfiles/Disable_Snap_Assist.reg b/Regfiles/Disable_Snap_Assist.reg new file mode 100644 index 0000000..9b03174 Binary files /dev/null and b/Regfiles/Disable_Snap_Assist.reg differ diff --git a/Regfiles/Disable_Snap_Layouts.reg b/Regfiles/Disable_Snap_Layouts.reg new file mode 100644 index 0000000..6d45d24 Binary files /dev/null and b/Regfiles/Disable_Snap_Layouts.reg differ diff --git a/Regfiles/Disable_Window_Snapping.reg b/Regfiles/Disable_Window_Snapping.reg new file mode 100644 index 0000000..4854bfe --- /dev/null +++ b/Regfiles/Disable_Window_Snapping.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Control Panel\Desktop] +"WindowArrangementActive"="0" diff --git a/Regfiles/Hide_Tabs_In_Alt_Tab.reg b/Regfiles/Hide_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..ac797d8 --- /dev/null +++ b/Regfiles/Hide_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000003 diff --git a/Regfiles/Show_20_Tabs_In_Alt_Tab.reg b/Regfiles/Show_20_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..b6404d3 --- /dev/null +++ b/Regfiles/Show_20_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000000 diff --git a/Regfiles/Show_3_Tabs_In_Alt_Tab.reg b/Regfiles/Show_3_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..460867b --- /dev/null +++ b/Regfiles/Show_3_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000002 diff --git a/Regfiles/Show_5_Tabs_In_Alt_Tab.reg b/Regfiles/Show_5_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..c8f9763 --- /dev/null +++ b/Regfiles/Show_5_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000001 diff --git a/Regfiles/Sysprep/Disable_Snap_Assist.reg b/Regfiles/Sysprep/Disable_Snap_Assist.reg new file mode 100644 index 0000000..57e14ca Binary files /dev/null and b/Regfiles/Sysprep/Disable_Snap_Assist.reg differ diff --git a/Regfiles/Sysprep/Disable_Snap_Layouts.reg b/Regfiles/Sysprep/Disable_Snap_Layouts.reg new file mode 100644 index 0000000..020c3db Binary files /dev/null and b/Regfiles/Sysprep/Disable_Snap_Layouts.reg differ diff --git a/Regfiles/Sysprep/Disable_Window_Snapping.reg b/Regfiles/Sysprep/Disable_Window_Snapping.reg new file mode 100644 index 0000000..319606a --- /dev/null +++ b/Regfiles/Sysprep/Disable_Window_Snapping.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\Control Panel\Desktop] +"WindowArrangementActive"="0" diff --git a/Regfiles/Sysprep/Hide_Tabs_In_Alt_Tab.reg b/Regfiles/Sysprep/Hide_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..0aca998 --- /dev/null +++ b/Regfiles/Sysprep/Hide_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000003 diff --git a/Regfiles/Sysprep/Show_20_Tabs_In_Alt_Tab.reg b/Regfiles/Sysprep/Show_20_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..32e19fa --- /dev/null +++ b/Regfiles/Sysprep/Show_20_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000000 diff --git a/Regfiles/Sysprep/Show_3_Tabs_In_Alt_Tab.reg b/Regfiles/Sysprep/Show_3_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..2bbe022 --- /dev/null +++ b/Regfiles/Sysprep/Show_3_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000002 diff --git a/Regfiles/Sysprep/Show_5_Tabs_In_Alt_Tab.reg b/Regfiles/Sysprep/Show_5_Tabs_In_Alt_Tab.reg new file mode 100644 index 0000000..1eed248 --- /dev/null +++ b/Regfiles/Sysprep/Show_5_Tabs_In_Alt_Tab.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] +"MultiTaskingAltTabFilter"=dword:00000001 diff --git a/Regfiles/Undo/Enable_Snap_Assist.reg b/Regfiles/Undo/Enable_Snap_Assist.reg new file mode 100644 index 0000000..56e7f51 Binary files /dev/null and b/Regfiles/Undo/Enable_Snap_Assist.reg differ diff --git a/Regfiles/Undo/Enable_Snap_Layouts.reg b/Regfiles/Undo/Enable_Snap_Layouts.reg new file mode 100644 index 0000000..c56c5a5 Binary files /dev/null and b/Regfiles/Undo/Enable_Snap_Layouts.reg differ diff --git a/Regfiles/Undo/Enable_Window_Snapping.reg b/Regfiles/Undo/Enable_Window_Snapping.reg new file mode 100644 index 0000000..22616d1 --- /dev/null +++ b/Regfiles/Undo/Enable_Window_Snapping.reg @@ -0,0 +1,4 @@ +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Control Panel\Desktop] +"WindowArrangementActive"="1" diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 434ce60..358395f 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -71,6 +71,10 @@ param ( [switch]$DisableDragTray, [switch]$DisableMouseAcceleration, [switch]$DisableStickyKeys, + [switch]$DisableWindowSnapping, + [switch]$DisableSnapAssist, + [switch]$DisableSnapLayouts, + [switch]$HideTabsInAltTab, [switch]$Show3TabsInAltTab, [switch]$Show5TabsInAltTab, [switch]$Show20TabsInAltTab, [switch]$HideHome, [switch]$HideGallery, [switch]$ExplorerToHome,