Cannot install Windows PowerShell 2.0

已答复 Cannot install Windows PowerShell 2.0

All Replies

  • Wednesday, June 23, 2010 12:07 PM
     
     

    hi david

    try to stop the WinRM service via the command prompt using "net stop winrm". then install the KB968930 again.

    good luck,

     

    uerueluem

  • Wednesday, June 23, 2010 2:56 PM
     
     Answered

    Hi

    Actually that service was not started. But I have fixed my problem by following the instructions below from:

    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/62b5b077-463f-4e80-81ca-7a731a410dcf/

    Did you have PowerShell 1.0 on the same machine? if so Uninstall the following:

    1. Update for Microsoft Windows (KB971513)
    2. Update for Windows Internet Explorer (KB975364)
    3. Microsoft Base Smart Card Cryptographic Service
    4. Windows Powershell 1.0 MUI Pack
    5. Wndows Powershell 1.0
    6. Windows Management Framework Core

    Then reinstall PowerShell 2.0


    David
    • Marked As Answer by DavidTM Wednesday, June 23, 2010 2:56 PM
    •  
  • Wednesday, May 09, 2012 7:59 AM
     
     Proposed Answer

    I needed to run

    Problem was resolved by reseting the security - choose your own switches or use the following to drop a log file to the root of C: by typing the following in a command prompt:

    %windir%\system32\secedit.exe /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /log C:\secedit.log /verbose

    before I could fix this issue

    • Proposed As Answer by Gerhard Maree Wednesday, May 09, 2012 8:14 AM
    •