Added option to disable start menu mobile devices integration

This commit is contained in:
Raphire
2025-06-11 22:04:17 +02:00
parent d7c47a587c
commit a2095b2b60
7 changed files with 39 additions and 6 deletions

View File

@@ -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)

View File

@@ -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,

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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