• @carrylex@lemmy.world
    link
    fedilink
    English
    144 days ago

    You can already do that:

    Get-AppxPackage "Microsoft.XboxApp" | Remove-AppxPackage
    Get-AppxPackage "Microsoft.XboxIdentityProvider" | Remove-AppxPackage -ErrorAction SilentlyContinue
    Get-AppxPackage "Microsoft.XboxSpeechToTextOverlay" | Remove-AppxPackage
    Get-AppxPackage "Microsoft.XboxGameOverlay" | Remove-AppxPackage
    Get-AppxPackage "Microsoft.XboxGamingOverlay" | Remove-AppxPackage
    Get-AppxPackage "Microsoft.Xbox.TCUI" | Remove-AppxPackage
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\GameBar" -Name "AutoGameModeEnabled" -Type DWord -Value 0
    Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type DWord -Value 0
    If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR")) {
    	New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR" | Out-Null
    }
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR" -Name "AllowGameDVR" -Type DWord -Value 0
    

    You’re welcome

    • @pneumatron@sh.itjust.works
      link
      fedilink
      English
      144 days ago

      That’s a ridiculous step by step guide. Let me see if I can simplify.

      Step 1: plugin your ventoy flash drive with Linux distro

    • @Damage@feddit.it
      link
      fedilink
      English
      14 days ago

      Every time I see PowerShell syntax, I have this dissonance where I feel like it should be better than Unix shells, its command are surely more descriptive, still… It disgusts me for some reason. Too long, maybe?