locked
Installing Powershell 4.0 on Server 2008 R2 issue RRS feed

  • Question

  • I've been trying to install Powershell 4.0 through KB2819745 by manually downloading and running it. I have .NET Framework 4.7.1 and also SP1 installed. I keep getting an error code of 0xd00002a7. Can anyone help explain why this is happening?


    Monday, March 5, 2018 3:31 PM

Answers

  • Microsoft Support couldn't help me. I installed Server 2008 R2 on a VM and got all the updates, installed .NET 4.5.1 and then tried to install WMF 4. It worked! You can close this now.
    • Marked as answer by Mogheh Thursday, March 8, 2018 5:46 PM
    Thursday, March 8, 2018 5:46 PM

All replies

  • Skip 4 and install 5.1:https://www.microsoft.com/en-us/download/details.aspx?id=54616

    PS 4 is called WMF 4.  You must use the WS2008r2 installer.

    Windows6.1-KB2819745-x64-MultiPkg.msu


    \_(ツ)_/

    Monday, March 5, 2018 3:39 PM
  • I tried that and it fails. In Event Viewer it says Installation Failure: Windows failed to install the following update with error 0xda00002a7: Update for Windows (KB3191566).
    Monday, March 5, 2018 4:22 PM
  • Then you will have to repair your server.  If you have Exchange, SharePoint, System Center or other subsystems they may need to be patched before installing updates to PowerShell.

    Be sure you have Net 3.5 nd 4.0 installed.


    \_(ツ)_/

    Monday, March 5, 2018 4:38 PM
  • Then you will have to repair your server.  If you have Exchange, SharePoint, System Center or other subsystems they may need to be patched before installing updates to PowerShell.

    Be sure you have Net 3.5 nd 4.0 installed.


    \_(ツ)_/

    I have .NET 4.5 installed currently. How would I go about figuring out what I need to update/repair?
    Monday, March 5, 2018 4:41 PM
  • Net 4.5 does not include 3, 3.5  and 4. Each is a separate component.

    Also be sure the ISE is installed (features).


    \_(ツ)_/

    Monday, March 5, 2018 4:42 PM
  • I installed 3, then 3.5, then 4, then 4.5. ISE is also added as a Feature. Now After each install I verified that .Net upgraded from 3 to 3.5 to 4 to 4.5. I only see .Net 4.5 now in Programs and Features. Upon trying the install that was linked earlier I get the same error. Forgive me for my lack of understanding here as I attempt to resolve this issue.
    • Edited by Mogheh Monday, March 5, 2018 6:33 PM
    Monday, March 5, 2018 6:32 PM
  • I checked the current PS version and it is 2. Do I have to install 3 then 4 for Powershell or can I just upgrade to 4?
    Monday, March 5, 2018 6:45 PM
  • That usually means you need a missing patch.  That patch was released a few years ago.  Contact MS Support for the patch or search for the error code.


    \_(ツ)_/

    Monday, March 5, 2018 6:51 PM
  • Monday, March 5, 2018 6:55 PM
  • Microsoft Support couldn't help me. I installed Server 2008 R2 on a VM and got all the updates, installed .NET 4.5.1 and then tried to install WMF 4. It worked! You can close this now.
    • Marked as answer by Mogheh Thursday, March 8, 2018 5:46 PM
    Thursday, March 8, 2018 5:46 PM