From a2095b2b601c4cd25e2431ba514f755b6eaebaa9 Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Wed, 11 Jun 2025 22:04:17 +0200 Subject: [PATCH] Added option to disable start menu mobile devices integration --- Assets/Menus/Info | 5 ++++- Get.ps1 | 1 + README.md | 5 ++++- Regfiles/Disable_Phone_Link_In_Start.reg | 5 +++++ .../Sysprep/Disable_Phone_Link_In_Start.reg | 5 +++++ Regfiles/Undo/Enable_Phone_Link_In_Start.reg | 5 +++++ Win11Debloat.ps1 | 19 +++++++++++++++---- 7 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 Regfiles/Disable_Phone_Link_In_Start.reg create mode 100644 Regfiles/Sysprep/Disable_Phone_Link_In_Start.reg create mode 100644 Regfiles/Undo/Enable_Phone_Link_In_Start.reg diff --git a/Assets/Menus/Info b/Assets/Menus/Info index 47415aa..990cb1e 100644 --- a/Assets/Menus/Info +++ b/Assets/Menus/Info @@ -13,7 +13,6 @@ Telemetry, Tracking & Suggested Content - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions & ads across Windows. - Disable the 'Windows Spotlight' desktop background option. -- Disable & hide the recommended section in the start menu. (W11 only) Bing, Copilot & More - Disable & remove Bing web search, Bing AI and Cortana from Windows search. @@ -36,6 +35,10 @@ Taskbar - Hide the chat (meet now) icon from the taskbar. - Enable the 'End Task' option in the taskbar right click menu. (W11 only) +Start +- Disable & hide the recommended section in the start menu. (W11 only) +- Disable the Phone Link mobile devices integration in the start menu. (W11 only) + Context menu - Restore the old Windows 10 style context menu. (W11 only) - Hide the 'Include in library', 'Give access to' & 'Share' options from the context menu. (W10 only) diff --git a/Get.ps1 b/Get.ps1 index b6525e8..25ca83d 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -32,6 +32,7 @@ param ( [switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb, [switch]$HideTaskview, [switch]$DisableStartRecommended, + [switch]$DisableStartPhoneLink, [switch]$DisableCopilot, [switch]$DisableRecall, [switch]$DisableWidgets, [switch]$HideWidgets, diff --git a/README.md b/README.md index 02d47f1..73e6427 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,6 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. - Disable the 'Windows Spotlight' desktop background option. -- Disable & hide the recommended section in the start menu. (W11 only) #### Bing Web Search, Copilot & More @@ -129,6 +128,10 @@ Below is an overview of the key features and functionality offered by Win11Deblo - Hide the chat (meet now) icon from the taskbar. - Enable the 'End Task' option in the taskbar right click menu. (W11 only) +#### Start +- Disable & hide the recommended section in the start menu. (W11 only) +- Disable the Phone Link mobile devices integration in the start menu. (W11 only) + #### Context Menu - Restore the old Windows 10 style context menu. (W11 only) diff --git a/Regfiles/Disable_Phone_Link_In_Start.reg b/Regfiles/Disable_Phone_Link_In_Start.reg new file mode 100644 index 0000000..8e5efdb --- /dev/null +++ b/Regfiles/Disable_Phone_Link_In_Start.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Disable Show mobile device in Start +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start\Companions\Microsoft.YourPhone_8wekyb3d8bbwe] +"IsEnabled"=dword:00000000 diff --git a/Regfiles/Sysprep/Disable_Phone_Link_In_Start.reg b/Regfiles/Sysprep/Disable_Phone_Link_In_Start.reg new file mode 100644 index 0000000..d45a239 --- /dev/null +++ b/Regfiles/Sysprep/Disable_Phone_Link_In_Start.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Disable Show mobile device in Start +[hkey_users\default\Software\Microsoft\Windows\CurrentVersion\Start\Companions\Microsoft.YourPhone_8wekyb3d8bbwe] +"IsEnabled"=dword:00000000 diff --git a/Regfiles/Undo/Enable_Phone_Link_In_Start.reg b/Regfiles/Undo/Enable_Phone_Link_In_Start.reg new file mode 100644 index 0000000..c4615f9 --- /dev/null +++ b/Regfiles/Undo/Enable_Phone_Link_In_Start.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +; Enable Show mobile device in Start +[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start\Companions\Microsoft.YourPhone_8wekyb3d8bbwe] +"IsEnabled"=dword:00000001 diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 8a7a8c4..92e11c1 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -34,6 +34,7 @@ param ( [switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb, [switch]$HideTaskview, [switch]$DisableStartRecommended, + [switch]$DisableStartPhoneLink, [switch]$DisableCopilot, [switch]$DisableRecall, [switch]$DisableWidgets, [switch]$HideWidgets, @@ -995,6 +996,12 @@ function DisplayCustomModeOptions { if ($( Read-Host -Prompt " Disable & hide the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') { AddParameter 'DisableStartRecommended' 'Disable & hide the recommended section in the start menu.' } + + Write-Output "" + + if ($( Read-Host -Prompt " Disable the Phone Link mobile devices integration in the start menu? (y/n)" ) -eq 'y') { + AddParameter 'DisableStartPhoneLink' 'Disable the Phone Link mobile devices integration in the start menu.' + } } } @@ -1518,10 +1525,6 @@ switch ($script:Params.Keys) { RegImport "> Disabling tips, tricks, suggestions and ads across Windows..." "Disable_Windows_Suggestions.reg" continue } - 'DisableSettings365Ads' { - RegImport "> Disabling Microsoft 365 ads in Settings Home..." "Disable_Settings_365_Ads.reg" - continue - } {$_ -in "DisableLockscrTips", "DisableLockscreenTips"} { RegImport "> Disabling tips & tricks on the lockscreen..." "Disable_Lockscreen_Tips.reg" continue @@ -1530,6 +1533,10 @@ switch ($script:Params.Keys) { RegImport "> Disabling the 'Windows Spotlight' desktop background option..." "Disable_Desktop_Spotlight.reg" continue } + 'DisableSettings365Ads' { + RegImport "> Disabling Microsoft 365 ads in Settings Home..." "Disable_Settings_365_Ads.reg" + continue + } 'DisableSettingsHome' { RegImport "> Disabling the Settings Home page..." "Disable_Settings_Home.reg" continue @@ -1594,6 +1601,10 @@ switch ($script:Params.Keys) { RegImport "> Disabling and hiding the start menu recommended section..." "Disable_Start_Recommended.reg" continue } + 'DisableStartPhoneLink' { + RegImport "> Disabling the Phone Link mobile devices integration in the start menu..." "Disable_Phone_Link_In_Start.reg" + continue + } 'TaskbarAlignLeft' { RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg" continue