mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Add additional settings to disable Xbox integrations for controller and game/screen recording
This should fix issues with `ms-gamingoverlay` popups after uninstalling the Xbox Game Bar
This commit is contained in:
@@ -56,7 +56,7 @@ Start
|
|||||||
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
- Disable the Phone Link mobile devices integration in the start menu. (W11 only)
|
||||||
|
|
||||||
Other
|
Other
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- Disable Xbox Game Bar game/screen recording and controller integration. This also disables `msgaming overlay` popups.
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- Disable Fast Start-up to ensure a full shutdown.
|
||||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||||
- Option to apply changes to a different user, instead of the currently logged in user.
|
- Option to apply changes to a different user, instead of the currently logged in user.
|
||||||
|
|||||||
1
Get.ps1
1
Get.ps1
@@ -17,6 +17,7 @@ param (
|
|||||||
[switch]$RemoveW11Outlook,
|
[switch]$RemoveW11Outlook,
|
||||||
[switch]$ForceRemoveEdge,
|
[switch]$ForceRemoveEdge,
|
||||||
[switch]$DisableDVR,
|
[switch]$DisableDVR,
|
||||||
|
[switch]$DisableControllerOverlay,
|
||||||
[switch]$DisableTelemetry,
|
[switch]$DisableTelemetry,
|
||||||
[switch]$DisableFastStartup,
|
[switch]$DisableFastStartup,
|
||||||
[switch]$DisableModernStandbyNetworking,
|
[switch]$DisableModernStandbyNetworking,
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
|||||||
|
|
||||||
#### Other
|
#### Other
|
||||||
|
|
||||||
- Disable Xbox game/screen recording, this also stops gaming overlay popups.
|
- Disable Xbox Game Bar game/screen recording and controller integration. This also disables the annoying `msgaming overlay` popups if you uninstalled the Xbox Game Bar app.
|
||||||
- Disable Fast Start-up to ensure a full shutdown.
|
- Disable Fast Start-up to ensure a full shutdown.
|
||||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||||
- Option to [apply changes to a different user](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#running-as-another-user), instead of the currently logged in user.
|
- Option to [apply changes to a different user](https://github.com/Raphire/Win11Debloat/wiki/Advanced-Features#running-as-another-user), instead of the currently logged in user.
|
||||||
|
|||||||
5
Regfiles/Disable_Controller_Game_Bar_Integration.reg
Normal file
5
Regfiles/Disable_Controller_Game_Bar_Integration.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Disable allow your controller to open Game Bar
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\GameBar]
|
||||||
|
"UseNexusForGameBarEnabled"=dword:00000000
|
||||||
@@ -3,5 +3,8 @@ Windows Registry Editor Version 5.00
|
|||||||
[HKEY_CURRENT_USER\System\GameConfigStore]
|
[HKEY_CURRENT_USER\System\GameConfigStore]
|
||||||
"GameDVR_Enabled"=dword:00000000
|
"GameDVR_Enabled"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR]
|
||||||
|
"AppCaptureEnabled"=dword:00000000
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
|
||||||
"AllowGameDVR"=dword:00000000
|
"AllowGameDVR"=dword:00000000
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Disable allow your controller to open Game Bar
|
||||||
|
[hkey_users\default\SOFTWARE\Microsoft\GameBar]
|
||||||
|
"UseNexusForGameBarEnabled"=dword:00000000
|
||||||
@@ -3,5 +3,8 @@ Windows Registry Editor Version 5.00
|
|||||||
[hkey_users\default\System\GameConfigStore]
|
[hkey_users\default\System\GameConfigStore]
|
||||||
"GameDVR_Enabled"=dword:00000000
|
"GameDVR_Enabled"=dword:00000000
|
||||||
|
|
||||||
|
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR]
|
||||||
|
"AppCaptureEnabled"=dword:00000000
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
|
||||||
"AllowGameDVR"=dword:00000000
|
"AllowGameDVR"=dword:00000000
|
||||||
|
|||||||
5
Regfiles/Undo/Enable_Controller_Game_Bar_Integration.reg
Normal file
5
Regfiles/Undo/Enable_Controller_Game_Bar_Integration.reg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Enable allow your controller to open Game Bar
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\GameBar]
|
||||||
|
"UseNexusForGameBarEnabled"=dword:00000001
|
||||||
@@ -3,5 +3,8 @@ Windows Registry Editor Version 5.00
|
|||||||
[HKEY_CURRENT_USER\System\GameConfigStore]
|
[HKEY_CURRENT_USER\System\GameConfigStore]
|
||||||
"GameDVR_Enabled"=dword:00000001
|
"GameDVR_Enabled"=dword:00000001
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR]
|
||||||
|
"AppCaptureEnabled"=dword:00000001
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR]
|
||||||
"AllowGameDVR"=dword:00000001
|
"AllowGameDVR"=dword:00000001
|
||||||
@@ -19,6 +19,7 @@ param (
|
|||||||
[switch]$RemoveW11Outlook,
|
[switch]$RemoveW11Outlook,
|
||||||
[switch]$ForceRemoveEdge,
|
[switch]$ForceRemoveEdge,
|
||||||
[switch]$DisableDVR,
|
[switch]$DisableDVR,
|
||||||
|
[switch]$DisableControllerOverlay,
|
||||||
[switch]$DisableTelemetry,
|
[switch]$DisableTelemetry,
|
||||||
[switch]$DisableFastStartup,
|
[switch]$DisableFastStartup,
|
||||||
[switch]$DisableModernStandbyNetworking,
|
[switch]$DisableModernStandbyNetworking,
|
||||||
@@ -980,6 +981,7 @@ function DisplayCustomModeOptions {
|
|||||||
AddParameter 'RemoveW11Outlook' 'Remove the new Outlook for Windows app'
|
AddParameter 'RemoveW11Outlook' 'Remove the new Outlook for Windows app'
|
||||||
AddParameter 'RemoveGamingApps' 'Remove the Xbox App and Xbox Gamebar'
|
AddParameter 'RemoveGamingApps' 'Remove the Xbox App and Xbox Gamebar'
|
||||||
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
|
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
|
||||||
|
AddParameter 'DisableControllerOverlay' 'Disable opening the Xbox Game Bar with a controller'
|
||||||
}
|
}
|
||||||
'3' {
|
'3' {
|
||||||
Write-Output "You have selected $($script:SelectedApps.Count) apps for removal"
|
Write-Output "You have selected $($script:SelectedApps.Count) apps for removal"
|
||||||
@@ -988,8 +990,9 @@ function DisplayCustomModeOptions {
|
|||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|
||||||
if ($( Read-Host -Prompt "Disable Xbox game/screen recording? This also stops gaming overlay popups (y/n)" ) -eq 'y') {
|
if ($( Read-Host -Prompt "Disable Game Bar integration for controller and game/screen recording? This also stops msgaming overlay popups (y/n)" ) -eq 'y') {
|
||||||
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
|
AddParameter 'DisableDVR' 'Disable Xbox game/screen recording'
|
||||||
|
AddParameter 'DisableControllerOverlay' 'Disable opening the Xbox Game Bar with a controller'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1798,6 +1801,10 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Disabling Xbox game/screen recording..." "Disable_DVR.reg"
|
RegImport "> Disabling Xbox game/screen recording..." "Disable_DVR.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'DisableControllerOverlay' {
|
||||||
|
RegImport "> Disabling the option of opening the Xbox Game Bar with a controller..." "Disable_Controller_Game_Bar_Integration.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
'DisableTelemetry' {
|
'DisableTelemetry' {
|
||||||
RegImport "> Disabling telemetry, diagnostic data, activity history, app-launch tracking and targeted ads..." "Disable_Telemetry.reg"
|
RegImport "> Disabling telemetry, diagnostic data, activity history, app-launch tracking and targeted ads..." "Disable_Telemetry.reg"
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user