Upgrading from Powershell 2.0 to Powershell 5.1

3

I'm stuck trying to upgrade from PS 2 to PS 5.1.

I've been advised to download the WMF 5.1 to do this.

I've run the pre-req script without issue. When the installer then runs, I get error code 0x80240037 (hardware not supported). I have colleagues here with the same hardware who have been able to install PS 5.1 without issue.

I'm on .NET 4.6.2. I have 4.5.2 already installed. WMF 3.0 isn't installed.

x64 bit Windows 7 Pro

Anyone know where I can see more logging information about the failure?

Thanks in advance

windows-7
powershell
asked on Super User Jun 5, 2018 by Jack McCauley • edited Jun 6, 2018 by Jack McCauley

2 Answers

4

What I did in the end was this;

  • open .msu installer via 7-zip - extracted the cabs to another directory
  • opened a command prompt in said directory
  • run dism command against each cab;

    DISM.exe /Online /Add-Package /PackagePath:Windows6.1-KB3191566-x64.cab
    

There's a text file in the installer dictating the order in which they should be installed. The third cab wouldn't install. The rest did. I was asked to restart after the final cab installed. Rebooted and PS5.1

answered on Super User Jun 13, 2018 by Jack McCauley • edited Jun 14, 2018 by Daniel B
1

If your CPU is 7. or 8. gen. Intel or Ryzen (AMD), the Microsoft blocks Windows 7/8.1 updates from 04.2017. In this case, the powershell (WMF5.1, 4, 3) installers didn't run, the solution is wufuc (https://github.com/zeffy/wufuc).

answered on Super User Sep 15, 2018 by JVD

User contributions licensed under CC BY-SA 3.0