attempt to disable gaming copilot

This commit is contained in:
zoicware
2025-11-02 16:19:17 -05:00
committed by GitHub
parent 7795964c31
commit 07514f8006

View File

@@ -370,6 +370,12 @@ function Disable-Registry-Keys {
} }
} }
} }
#disable gaming copilot
#found from: https://github.com/meetrevision/playbook/issues/197
#not sure this really does anything in my testing gaming copilot still appears
$command = "reg add 'HKLM\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Microsoft.Xbox.GamingAI.Companion.Host.GamingCompanionHostOptions' /v 'ActivationType' /t REG_DWORD /d 0 /f"
Run-Trusted -command $command -psversion $psversion
#force policy changes #force policy changes
Write-Status -msg 'Applying Registry Changes...' Write-Status -msg 'Applying Registry Changes...'