Ask a questionAsk a question
 

AnswerPowerShell install fails

  • Saturday, November 07, 2009 7:10 PMshadowman123 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    When I try to install PowerShell on a Windows Server 2008 SP2 machine, I'm seeing this error:
    Error: Attempt to install Windows PowerShell failed with error code 0x80070057.  The parameter is incorrect

    I'm using the Add Features wizard.

    Log Name:      Setup
    Source:        Microsoft-Windows-ServerManager
    Date:          7-11-2009 19:39:57
    Event ID:      1616
    Task Category: None
    Level:         Error
    Keywords:     
    Description:
    Installation failed.

    Features:

    Windows PowerShell
       Error: Attempt to install Windows PowerShell failed with error code 0x80070057.  The parameter is incorrect

    Can you somebody help me fix this issue?



    Certifications: MCSA 2003 MCSE 2003

Answers

All Replies

  • Monday, November 09, 2009 3:51 AMMervyn ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Generally speaking, this kind of problem may be caused by corrupt files or conflicts of software. Let’s try the steps below to narrow down the cause.

    1.    Try to install any other Feature or Role via Server Manager. Is there any error?
    2.    If you could not install any Feature, try to disable all third party software and test again, or test in Safe Mode or Clean Boot.
    3.    If we still cannot install any Feature or role, please try to run "sfc /scannow" and test. 
    4.     If the problem still occurs, let’s use Process Monitor to trace the process:

    Process Monitor
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx  

    Download and run it. Click File menu, check Capture Events, try to reproduce this error, when the error occurs, uncheck Capture Events again. Exported events to Logfile.PML and upload the file and then use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the file and then give us the download address.

    Please also help to collect MPS Report:

    1)    Download proper MPS Report tool from the website below.

    Microsoft Product Support Reports
    http://www.microsoft.com/downloads/details.aspx?FamilyID=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0&displaylang=en

    2)    Double-click to run it, if requirement is not met, please follow the wizard to download and install them. After that, click Next, when the "Select the diagnostics you want to run" page appears, select "General", "Server Components", click Next.

    3)    After collecting all log files, choose "Save the results", choose a folder to save <Computername>MPSReports.cab file. Please use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the file and then give us the download address.

    Thanks.

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Monday, November 09, 2009 6:18 PMshadowman123 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I managed to install PowerShell, but now I'm having issues with Exchange Management Console (Exchange 2010):
    See here:

    Problems with WinRM and Exchange Server 2010



    Certifications: MCSA 2003 MCSE 2003
  • Thursday, November 12, 2009 10:10 AMMervyn ZhangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Thank you for update. I understand you installed Powershell but there is Exchange problem. Hope Exchange experts help you solve the problem soon. If there is anything we can do for you, please let us know.

    Thanks.

    This posting is provided "AS IS" with no warranties, and confers no rights.