彻底卸载xbox game bar

Fishh-avatar

Fishh

2025-07-06T06:51:01+00:00

这几天发现xbox game bar跟nvapp的内覆盖一样开始犯病,吃u的游戏会加重cpu瓶颈,彻底卸载之后绝地潜兵2帧数能提高5~10帧且减少卡顿

管理员模式打开powershell

Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage

reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0

reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0

这样彻底卸载game bar且没有反复提示缺少打开方式的问题
『Zell』-avatar

『Zell』

装的LTSC是不是没这个,直接被官方精简掉了好像
Dubisek-avatar

Dubisek

收藏了,这玩意是真没啥卵用
とこけけ-avatar

とこけけ

学习了,很好用
Yeh-avatar

Yeh

插眼看看zsbd
Lumi-avatar

Lumi

这玩意有个录屏功能,真心好用,省得再装别的录屏软件了。
Skaldr Gaming-avatar

Skaldr Gaming

卸载了gamebar之后很多游戏启动的时候会弹一个报错,可以点掉,但是很烦
AEIOYOU-avatar

AEIOYOU

[quote][pid=831170338,44566405,1]Reply[/pid] Post by [uid=66128201]太初玄微道妙高上帝[/uid] (2025-07-09 14:58):

装的LTSC是不是没这个,直接被官方精简掉了好像[/quote]但是ltsc每次开游戏都会报一个弹窗,虽然没任何影响但是很烦[s:a2:不明觉厉]
Fishh-avatar

Fishh

Reply to [pid=831171051,44566405,1]Reply[/pid] Post by [uid=63346505]Zzzhao1[/uid] (2025-07-09 15:03)
他要不犯病我也不想删,查了一下说是最近推送了内置edge,我是不知道为啥一个游戏内覆盖要内置一个巨型浏览器[s:ac:无语]
Fishh-avatar

Fishh

Reply to [pid=831171268,44566405,1]Reply[/pid] Post by [uid=25866242]十字破[/uid] (2025-07-09 15:04)
下面两个注册表就是解决这个报错的
JayyGrizz-avatar

JayyGrizz

这样卸载不完全。。等你后面开始用手柄的时候就会报错

解决方案,保存bat以后管理员权限运行,来自 [url]https://deeprouter.org/article/uninstall-xbox-game-bar-in-windows[/url]
@(set ^ "0=%~f0" -des ') &set 1=%*& powershell -nop -c iex(out-string -i (gc -lit $env:0)) & exit /b ')
# AveYo: fix annoyance after uninstalling Xbox, AveYo 2024.12.27

$n0 = 'ms-gamebar-annoyance'
$s0 = 'active'
if (gp Registry::HKCR\ms-gamebar NoOpenWith -ea 0) { $s0 = 'inactive' }

#:: Args / Dialog - to skip the prompt can use commandline parameters or rename script: ms-gamebar-annoyance disable.bat
$do = ''; $cl = @{0 = 'enable'; 1 = 'disable'; 2 = 'cancel'} ; if (!$env:0) {$env:0 = "$pwd\.pasted"}
foreach ($a in $cl.Values) {if ("$(split-path $env:0 -leaf) $env:1" -like "*$a*") {$do = $a} }
if ($do -eq '') {
$choice = (new-object -ComObject Wscript.Shell).Popup("state: $s0 - No to disable", 0, $n0, 0x1043)
if ($choice -eq 2) {$do = $cl[2]} elseif ($choice -eq 7) {$do = $cl[1]} else {$do = $cl[0]} ; $env:1 = $do
if ($do -eq 'cancel') {return}
}

$toggle = (0,1)[$do -eq 'enable']
sp "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" "AppCaptureEnabled" $toggle -type dword -force -ea 0
sp "HKCU:\System\GameConfigStore" "GameDVR_Enabled" $toggle -type dword -force -ea 0

$cc = {
[Console]::Title = "$($args[2]) $($args[1])"
$toggle = (0,1)[($args[1]) -eq 'enable']
sp "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" "AppCaptureEnabled" $toggle -type dword -force -ea 0
sp "HKCU:\System\GameConfigStore" "GameDVR_Enabled" $toggle -type dword -force -ea 0
"ms-gamebar","ms-gamebarservices","ms-gamingoverlay" |foreach {
if (!(test-path "Registry::HKCR\$_\shell")) {ni "Registry::HKCR\$_\shell" -force >''}
if (!(test-path "Registry::HKCR\$_\shell\open")) {ni "Registry::HKCR\$_\shell\open" -force >''}
if (!(test-path "Registry::HKCR\$_\shell\open\command")) {ni "Registry::HKCR\$_\shell\open\command" -force}
sp "Registry::HKCR\$_" "(Default)" "URL:$_" -force
sp "Registry::HKCR\$_" "URL Protocol" "" -force
if ($toggle -eq 0) {
sp "Registry::HKCR\$_" "NoOpenWith" "" -force
sp "Registry::HKCR\$_\shell\open\command" "(Default)" "`"$env:SystemRoot\System32\systray.exe`"" -force
} else {
rp "Registry::HKCR\$_" "NoOpenWith" -force -ea 0
ri "Registry::HKCR\$_\shell" -rec -force -ea 0
}
}
start ms-gamebar://annoyance # AveYo: test if working
}

if ([Security.Principal.WindowsIdentity]::GetCurrent().Groups.Value -notcontains 'S-1-5-32-544') {
write-host " Requesting ADMIN rights.. " -fore Black -back Yellow; sleep 2
sp HKCU:\Volatile*\* $n0 ".{$cc} '$($env:0-replace"'","''")' '$($env:1-replace"'","''")' '$n0'" -force -ea 0
start powershell -args "-nop -c iex(gp Registry::HKU\S-1-5-21*\Volatile*\* '$n0' -ea 0).'$n0'" -verb runas
} else {. $cc "$env:0" "$env:1" "$n0" }

$Press_Enter_if_pasted_in_powershell
『Zell』-avatar

『Zell』

[quote][pid=831171398,44566405,1]Reply[/pid] Post by [uid=65141151]五一五一五[/uid] (2025-07-09 15:05):

但是ltsc每次开游戏都会报一个弹窗,虽然没任何影响但是很烦[s:a2:不明觉厉][/quote]我的没弹窗,新装的WIN11,
Skaldr Gaming-avatar

Skaldr Gaming

[quote][pid=831171498,44566405,1]Reply[/pid] Post by [uid=21244457]天天收卡不解释[/uid] (2025-07-09 15:05):

下面两个注册表就是解决这个报错的[/quote]其实我机子上也有这个注册表,以前用过,不管用,还是弹

[img]https://img.nga.178.com/attachments/mon_202507/09/9aQ0-4rbKeT3cSzk-3c.webp[/img]


下面10L提醒了我,是有手柄就不行,那我再试试他这个
min_-avatar

min_

x3d用户谨慎
因为amd是靠这个区分哪些应用是game并放置于CCD0
GhostEagle-avatar

GhostEagle

Reply to [pid=831175373,44566405,1]Reply[/pid] Post by [uid=2372121]起司猫的悲殇[/uid] (2025-07-09 15:30)
那9800X3D是不是不用怕了?
gusdalok-avatar

gusdalok

[quote][pid=831172733,44566405,1]Reply[/pid] Post by [uid=66128201]太初玄微道妙高上帝[/uid] (2025-07-09 15:13):

我的没弹窗,新装的WIN11,[/quote]LTSC么?
Hendo-avatar

Hendo

这个更方便
[url]https://bbs.pcbeta.com/viewthread-1972024-1-2.html[/url]
『Zell』-avatar

『Zell』

[quote][pid=831176185,44566405,1]Reply[/pid] Post by [uid=63214664]果果小火炉[/uid] (2025-07-09 15:36):

LTSC么?[/quote]对,WIN11的LTSC,24H2
don dada-avatar

don dada

新版game bar紧凑不是挺好用,开机自启xbox app和steam,接下来就可以直接手柄启动想玩的游戏
CsuZe_tw-avatar

CsuZe_tw

新版本edge的傻卵“游戏助手”调用的这玩意儿[s:ac:偷笑]
隐藏后台给你开七八十个网页能占你十几g的内存[s:ac:反对]