Skip to content

On uninstall we should provide option to remove any Reg Keys set for install/updates #19356

@kilasuit

Description

@kilasuit

Prerequisites

Steps to reproduce

Install powershell via any method that also sets the reg keys needed for Microsoft Update
Uninstall PowerShell
Reboot
Check for updates
PowerShell then will install

Came from a chat message in the PowerShell Discord/Slack

Expected behavior

We should give option to remove regkeys as not to have a reinstall loop

Actual behavior

Currently it reinstalls on each reboot

Error details

No response

Environment data

Windows

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildIn-PRIndicates that a PR is out for the issueIssue-BugIssue has been identified as a bug in the productNeeds-TriageThe issue is new and needs to be triaged by a work group.OS-WindowsResolution-No ActivityIssue has had no activity for 6 months or more

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions