-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-ExternalThe issue is caused by external component(s).The issue is caused by external component(s).
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
- Download Powershell v7.2.1 x64 MSI installer
- Install Powershell into an internal secondary drive
- Make sure to enable MU features in the installer
- Run Windows Update
- Windows Update should start downloading and installing Powershell v7.2.2
- After Update notice how the Powershell install folder on the secondary drive is empty and Powershell is now installed on your main drive.
Expected behavior
Windows Update should update Powershell 7 to the original directory you installed it in.Actual behavior
Windows Update has no regard for where you would like programs installed and instead chooses to install Powershell 7 updates on the main drive.Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 7.2.1
PSEdition Core
GitCommitId 7.2.1
OS Microsoft Windows 10.0.19044
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0OS Data
> (Get-CimInstance Win32_OperatingSystem) | Select-Object -Property Version, Caption
Version Caption
------- -------
10.0.19044 Microsoft Windows 10 ProWindows update log
> Get-WindowsUpdateLog
# Couldn't seem to upload the log so here is the log on a secret gist.
# https://gist.github.com/thakyZ/52291db72017e22300845488b3c32c9cVisuals
No response
Metadata
Metadata
Assignees
Labels
Resolution-ExternalThe issue is caused by external component(s).The issue is caused by external component(s).