Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open Edge with "--disable-features=RendererCodeIntegrity" #412

Open
1 of 2 tasks
zhaobudaomingzi opened this issue Apr 14, 2024 · 9 comments
Open
1 of 2 tasks
Assignees
Labels
bug Something isn't working

Comments

@zhaobudaomingzi
Copy link

zhaobudaomingzi commented Apr 14, 2024

Preflight Checklist

  • Running microsoft-edge:https://google.com redirects successfully
  • Microsoft Edge is selected in any "How do you want to open this?" box

Install Type

New Install

Install Mode

Active Mode

Steps to reproduce

  1. install MSEdgeRedirect
  2. edit Edge shortcut
  3. add "--disable-features=RendererCodeIntegrity"
  4. click Edge shortcut
  5. or Run "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --disable-features=RendererCodeIntegrity using the Windows + R keys
    屏幕截图 2024-04-14 113956
    屏幕截图 2024-04-14 114002

✔️ Expected Behavior

open Edge with "--disable-features=RendererCodeIntegrity" on Active Mode

❌ Actual Behavior

cannot open Edge with "--disable-features=RendererCodeIntegrity"

Microsoft Windows version

22H2 Build 19045.4291

Other Software

No response

@zhaobudaomingzi zhaobudaomingzi added the bug Something isn't working label Apr 14, 2024
@zhaobudaomingzi
Copy link
Author

This bug is triggered even if I don't enable any additional redirections
屏幕截图 2024-04-14 114006

@zhaobudaomingzi
Copy link
Author

In addition, when Edge's update is complete and click Restart, it will launch from Chrome

@zhaobudaomingzi
Copy link
Author

When I edit MSEdgeRedirect settings, if one of the Active Mode options is checked and saved, it remains checked the next time I try to uncheck it.
I tried edge stable and was able to reproduce it

@rcmaehl rcmaehl self-assigned this Apr 14, 2024
@rcmaehl
Copy link
Owner

rcmaehl commented Apr 14, 2024

This is intended behavior as is likely creating an entry in %appdata%\MSEdgeRedirect\logs\AppSecurity.log for an unsafe flag as I don't think most people are using it. Can you advise why you are using the flag and I may be able to make a patch?

@zhaobudaomingzi
Copy link
Author

Can you advise why you are using the flag and I may be able to make a patch?

I'm using the MacType application, which is used for font rendering. When I add --disable-features=RendererCodeIntegrity to the Edge shortcut, it allows third-party DLL injections, and MacType works fine, as seen at snowie2000/mactype Wiki

@rcmaehl
Copy link
Owner

rcmaehl commented Apr 15, 2024

I will look into adding a custom allowed flags list. In the meantime you can workaround this by creating:

HKLM\SOFTWARE\Policies\Robert Maehl Software\MSEdgeRedirect\RunUnsafe as a DWORD and setting the value to 1

Or by running the following in an admin command prompt

reg add "HKLM\SOFTWARE\Policies\Robert Maehl Software\MSEdgeRedirect" /v RunUnsafe /t REG_DWORD /d 1

@zhaobudaomingzi
Copy link
Author

I will look into adding a custom allowed flags list.

Thanks for making the improvements. If you have time, could you help me with the other two issues I'm having?

In addition, when Edge's update is complete and click Restart, it will launch from Chrome

When I edit MSEdgeRedirect settings, if one of the Active Mode options is checked and saved, it remains checked the next time I try to uncheck it. I tried edge stable and was able to reproduce it

@rcmaehl
Copy link
Owner

rcmaehl commented Apr 15, 2024

In addition, when Edge's update is complete and click Restart, it will launch from Chrome

Known issue, working on it

When I edit MSEdgeRedirect settings, if one of the Active Mode options is checked and saved, it remains checked the next time I try to uncheck it. I tried edge stable and was able to reproduce it

I will look into this

@zhaobudaomingzi
Copy link
Author

I found a new bug, when I try to open a pdf or an image file such as a png with Edge in the File Explorer, Edge doesn't wake up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants