Stopping GameBarPresenceWriter.exe without errors - possible?

Discussion in 'Windows 10' started by MonarchX, May 5, 2017.

  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Even if you fully disable all Xbox-related Services, turn off Game Mode, GameDVR, Game Bar, App Capture, Game Broadcasting via System, User Profile, Windows Settings, through registry tweaks and/or even with Policy adjusting methods, GameBarPresenceWriter.exe from "Windows\System32" folder still shows up in Task Manager whenever I launch any game I own, even if I select "Disable FullScreen Optimizations" in EXE file properties (Compatibility tab).

    I can easily delete, rename, or move this file somewhere, but that will result in Even Log errors and SFC ScanNow will make it re-appear after every single run. I know I can just go into Task Manager and disable it, but I shouldn't have to. I want to launch my game and now a service that I disabled in every way possible.

    - How do I make it stop from launching with my games without those issues?
    - Is there a way disable it via settings or registry? I recall someone made a .BAT file that would just block whichever EXE without touching it, which resulted in Even Log errors anyway, but at least preserved file integrity. I already blocked it in Firewall rules.
    - So GameDVR and Broadcasting are not showing up, Game Mode is disabled, Xbox-related services are disabled, yet Windows 10 still knows that I am launching a game EXE??? Something is not turned off then...
     
  2. Grywald

    Grywald MDL Novice

    Jun 25, 2014
    17
    3
    0
    Code:
    Dism /Image:D:\IsoWindowsW10 /Remove-Provisionedappxpackage /PackageName:Microsoft.Xbox.TCUI_1.8.24001.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:D:\IsoWindowsW10 /Remove-Provisionedappxpackage /PackageName:Microsoft.XboxApp_31.32.16002.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:D:\IsoWindowsW10 /Remove-Provisionedappxpackage /PackageName:Microsoft.XboxGameOverlay_1.20.25002.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:D:\IsoWindowsW10 /Remove-Provisionedappxpackage /PackageName:Microsoft.XboxIdentityProvider_2017.605.1240.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:D:\IsoWindowsW10 /Remove-Provisionedappxpackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    
    The solution doesn't seem to be by dism. Because according to my memories, these files aren't removed (still there after the installation of Windows 10) :
    Code:
    C:\Windows\system32>dir | findstr -i game*
    ## Which give me this result :
    GameBarPresenceWriter.exe
    GameBarPresenceWriter.proxy.dll
    GamePanel.exe
    GamePanelExternalHook.dll
    gameux.dll
    GameUXLegacyGDFs.dll
    gamingtcui.dll
    Windows.Gaming.Input.dll
    Windows.Gaming.UI.GameBar.dll
    Windows.Gaming.XboxLive.Storage.dll
    XblGameSave.dll
    XblGameSaveExt.dll
    XblGameSaveProxy.dll
    XblGameSaveTask.exe
    I will need to discover how to disable them. Because it's perhaps the cause of another trouble (sometimes one game (such as Hollow Knight) seem's to be very laggy...).
     
  3. leaks98

    leaks98 MDL Junior Member

    May 7, 2015
    66
    27
    0
    how is it effecting you though ?
     
  4. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Use free version of NTLite - it will get rid of all that gaming stuff without corrupting anything.
     
  5. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,192
    1,187
    60
    Bad idea to remove it because some games and apps are depending on this and they refuse to start or crash.
     
  6. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Only Store games that are rare, don't always need those things, and those games are rarely top-notch. Any normal PC gamer would mostly benefit from removing that junk.
     
  7. Grywald

    Grywald MDL Novice

    Jun 25, 2014
    17
    3
    0
    Thank you MonarchX because after a little search, I had discover another topic. Now I will take a look with NTLite.
    I haven't reinstalled NTLite since a long time... But if you have a little guide, it will be nice.

    By the ways I don't use the Microsoft Store. Then for me it won't be a trouble.
    Code:
    Dism /Image:D:\IsoWindowsW10 /Get-Features
    There is another ways perhaps ? The trouble wih the Features, it's a lier. Because it doesn't really delete them.
     
  8. CHEF-KOCH

    CHEF-KOCH MDL Expert

    Jan 7, 2008
    1,192
    1,187
    60
    #8 CHEF-KOCH, Nov 24, 2017
    Last edited: Nov 24, 2017
    Theoretically I agree since I'm a gamer and streamer too but in fact it never loads for me. Maybe because I'm on LTSC/Enterprise. So I don't get this thread - I checked every process running while playing a game, I not see this process unless a game explicity request it, and that's what I'm talking about it might be problematic because the game possible crashes then. The process also shutdown after a reboot or (in my tests) after closing the game/app. The performance what this process costs is not worth the effort.

    However instead of finding solutions and workaround this which only helps a small amount of people, I suggest you open an ticket on MS (if it's bugged for you) so that we all get an option to take control over it.
     
  9. Grywald

    Grywald MDL Novice

    Jun 25, 2014
    17
    3
    0
    Apparently it doesn't seem to be enough to removes these files. Because at the next restart, Windows 10 will try to load the GamePanel... Then at each attempts, you will have one message error (to resume : the OS wasn't able to locate the files etc)
    I imagine there is probably something to do with regedit but what ?.

    What about the Windows 10 Pro For WorkStation ? Perhaps it's exist ? Do you know which edition of Windows 10 (rather v1709) doesn't come with the GamePanel ?