简体   繁体   English

为特定应用程序禁用Windows 10游戏栏

[英]Disabling Windows 10 Game Bar for specific application

In some conditions the Windows 10's game bar opens up with my application (made with Delphi, VCL). 在某些情况下,Windows 10的游戏栏会打开我的应用程序(使用Delphi,VCL制作)。 Thats not a game and i don't directly use DirectX or OpenGL, but it opens up. 这不是游戏,我不直接使用DirectX或OpenGL,但它打开了。

To be specific, when i reduce to tray my app and a popup is opened the Game Bar appears. 具体来说,当我减少托盘我的应用程序并打开一个弹出窗口时,会出现游戏栏。

I found a numbers of sites with tutorial for totally disable the Windows 10 game bar (like this ) but i want to disable for my application only, i don't think users will be happy to have a windows feature silently disabled by my app 我发现有很多网站都有完全禁用Windows 10游戏栏的教程(就像这样 ),但我想只为我的应用程序禁用,我不认为用户会很高兴我的应用程序默默禁用了Windows功能

Is this possible? 这可能吗? I cannot find any documentation about it 我找不到任何关于它的文档

You can disable it following this solution : Press Win+G, click the Gear icon (Settings) and uncheck "Remember this is a game" ( https://superuser.com/questions/1086248/windows-10-xbox-dvr-app-thinks-chrome-is-a-game ). 您可以按照此解决方案禁用它:按Win + G,单击齿轮图标(设置)并取消选中“记住这是一个游戏”( https://superuser.com/questions/1086248/windows-10-xbox-dvr- app-think-chrome-is-a-game )。

Note that if the name of the application is Main.exe, this checkbox is not visible. 请注意,如果应用程序的名称是Main.exe,则此复选框不可见。 If the name of the app is main.exe or anything else, it is visible. 如果应用程序的名称是main.exe或其他任何内容,则可以看到它。

It seems it is stored in the registry : HKEY_CURRENT_USER\\System\\GameConfigStore\\ in the Children and Parents directories. 它似乎存储在注册表中:HKEY_CURRENT_USER \\ System \\ GameConfigStore \\在Children和Parents目录中。 You can try to find your app using the ExeParentDirectory key. 您可以尝试使用ExeParentDirectory键找到您的应用。 https://www.reddit.com/r/ffxiv/comments/3fbu0x/win_10_game_bardvr_anyone_having_issues/ https://www.reddit.com/r/ffxiv/comments/3fbu0x/win_10_game_bardvr_anyone_having_issues/

I don't know if it applies to an executable where Windows decides it is a game (like Main.exe) 我不知道它是否适用于Windows决定它是游戏的可执行文件(如Main.exe)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM