Skip to content

fix: Read the Windows registry via PowerShell instead of WMI#71

Open
joeyparrish wants to merge 1 commit into
shaka-project:mainfrom
joeyparrish:remove-regedit-dep
Open

fix: Read the Windows registry via PowerShell instead of WMI#71
joeyparrish wants to merge 1 commit into
shaka-project:mainfrom
joeyparrish:remove-regedit-dep

Conversation

@joeyparrish

Copy link
Copy Markdown
Member

getWindowsExeVersion resolved a browser's full path by reading the registry through the 'regedit' package, which reaches the registry via a WMI provider. When a machine's WMI provider is unhealthy, that call hangs indefinitely and blocks driver installation. Read the value through PowerShell's registry provider instead, which does not depend on WMI, and drop the regedit dependency.

getWindowsExeVersion resolved a browser's full path by reading the
registry through the 'regedit' package, which reaches the registry via a
WMI provider.  When a machine's WMI provider is unhealthy, that call
hangs indefinitely and blocks driver installation.  Read the value
through PowerShell's registry provider instead, which does not depend on
WMI, and drop the regedit dependency.

Co-Authored-By: Claude Code (Claude Opus 4.8) <noreply@anthropic.com>
@joeyparrish joeyparrish requested a review from a team July 9, 2026 22:34
@google-cla

google-cla Bot commented Jul 9, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants