Open MBraedley-CN opened 2 weeks ago
Can you be specific on what version you installed and what version you upgraded to? It was a relatively recent change that persisted MSI installer options.
I had version 7.4.4 and the auto-updater installed 7.4.5 without persisting the installer options.
Can you check if HKLM:\Software\Microsoft\PowerShellCore\InstallerProperties in the registry has the expected installer options?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShellCore\InstallerProperties]
"InstallFolder"="C:\\Program Files\\PowerShell\\"
"AddToPath"="1"
"RegisterManifest"="1"
"EnablePSRemoting"="0"
"DisableTelemetry"="1"
"AddExplorerContextMenuOpenPowerShell"="1"
"AddFileContextMenuRunPowerShell"="1"
"UseMU"="0"
"EnableMU"="0"
Looks like what I had set.
Prerequisites
Steps to reproduce
Whenever PowerShell is automatically updated, it resets the settings I had set during the previous installation. In particular, I set the "Open Here" context menu option. If I want to get these settings back, I have to completely uninstall and reinstall PowerShell. The fix for this should also be applied to manually installing an update, as previous settings are not automatically set, however the user at least has the chance to set those values.
Expected behavior
Actual behavior
Environment data
OS Data
Windows update log
Visuals
WindowsUpdate.log