-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Update does not fresh-install Preview 7 #15692
Comments
From windowsupdate.log,
|
You probably can install this using the Once you have installed the module, Get-WindowsUpdate -CategoryIDs c90a4362-d2b6-4bb4-b316-76d14fed63a5 | Install-WindowsUpdate -Download This says, get all the updates for PowerShell preview, download, and install them. |
Ah, yes. We have organizational policy through Endpoint Manager to defer non-security updates. That explains this. I'll leave it as-is, thanks for finding the explanation! |
How could you update Powershell via Windows Update? From the first (6+ may be) to 7.1.3 i it was updated by hands (msi). |
You never know who will write something. |
@alexbuzzbee RE: #15692 (comment), Thanks for explaining what policy was in place, the logs don't say that. It makes the answer more complete. |
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 keyHKEY_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
Actual behavior
<See screenshot below>
Environment data
Visuals
WindowsUpdate.log
The text was updated successfully, but these errors were encountered: