Skip to content

Chrome setting as default browser fails #139

Closed

Description

@PercyDan54

Checklist

Report



Describe what is happening
Build failed [Error] [E] RegWrite - Attempted to perform an unauthorized operation. (RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.html\UserChoice","ProgId","ChromeHTML") (Line 300)

To Reproduce
Build with Chrome set to default browser enabled

Expected behavior
Build succeeds

Screenshots/Logs
Script is #135
BuildLog_2025_05_11_085946_Project_PhoenixPE.zip

Activity

  1. homes32 commented on May 12, 2025

    @homes32
    Contributor

    Another issues caused by the "user choice protection driver". see my post here

    at least there is an easy workaround.

  2. PercyDan54 commented on May 12, 2025

    @PercyDan54
    ContributorAuthor

    Another issues caused by the "user choice protection driver". see my post here

    at least there is an easy workaround.

    Is it better to make this error non-fatal or link to some docs about it? Since it's pretty annoying to having to build for start due to such an error

  3. homes32 commented on May 12, 2025

    @homes32
    Contributor

    honestly, it's not something we can control. its a kernel driver on the host system that blocks the access, and Microsoft doesn't have any plans that I'm aware of to start giving the PhoenixPE project advanced notice whenever they decide to include new registry locations in the blacklist. The best we can do is work around the issue when they do block yet another registry key and add/modify them during the PE boot process instead of during build.

    What really annoys me is the fact that they can't be bothered to tell the difference between an offline/mounted registry hive vs the active/running windows registry it was intended to protect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions