GoAwayEdge icon indicating copy to clipboard operation
GoAwayEdge copied to clipboard

[Bug] Copilot button opens PWA; differentiation no longer possible

Open valnoxy opened this issue 1 year ago • 1 comments

In newer Windows versions, the Copilot bar has been replaced by the PWA app. This starts the same Edge call as when the PWA app is opened.

GoAwayEdge
-----
The following args are redirected (CTRL+C to copy):

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --app-id=khiogjgiicnghciboipemonlmgelhblf --app-fallback-url=https://copilot.microsoft.com/?dpwa=1 --display-mode=standalone --windows-store-app --ip-proc-id=33156 --ip-binding --mojo-named-platform-channel-pipe=33156.23580.10216639834704185426 --ip-aumid=Microsoft.Copilot_8wekyb3d8bbwe!App

Possible solutions:

  • Block PWA completely if an external application is specified.
  • Block and intercept Office app.
  • Install the Helper UWP app and store a reference under BrandedKey
    • See registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BrandedKey\AppAumid

valnoxy avatar Dec 22 '24 23:12 valnoxy

I have now decided to use the helper app method. I provide the MSIX file here for testing. For the interception to work, the following registry key must be changed:

Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BrandedKey
String: AppAumid
Value: GoAwayEdge.Helper_fj5jbsx1xbame!App
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BrandedKey]
"BrandedKeyChoiceType"="App"
"AppAumid"="GoAwayEdge.Helper_fj5jbsx1xbame!App"

valnoxy avatar Dec 23 '24 01:12 valnoxy