Skip to content

Windows Update does not fresh-install Preview 7 #15692

@ghost

Description

Prerequisites

Steps to reproduce

Follow steps based on Preview updating PowerShell 7.2 with Microsoft Update:

Ensure PowerShell 7.1.3 is installed but no PowerShell preview releases are installed.

Create registry values [HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShellCore]UseMU:dword=1 and [HKEY_LOCAL_MACHINE\Software\Microsoft\PowerShellCore\InstalledVersions\39243d76-adaf-42b1-94fb-16ecf83237c8]Install:dword=1. Additionally, as directed in a workaround described in #15510, create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShellCore\InstalledVersions\31ab5147-9a97-4452-8443-d9709f0516e1.

Ensure Windows Update is set to Receive updates for other Microsoft products when you update Windows. In my case, this is enforced by my organization through MDM.

Reboot and check Windows Update, installing all available updates and manually rechecking until no updates appear.

Expected behavior

PS> pwsh-preview
PowerShell 7.2-preview.7
PS>

Actual behavior

<See screenshot below>

Environment data

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

PS> (Get-CimInstance Win32_OperatingSystem) | Select-Object -Property Version, Caption

Version    Caption
-------    -------
10.0.19042 Microsoft Windows 10 Enterprise

PS> Get-WindowsUpdateLog

<Very long console output snipped, see below-attached file WindowsUpdate.log created by command>

Visuals

msups
WindowsUpdate.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions