Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to Repair my SQL 2008 R2, I get the following error. How can I solve this?

TITLE: Microsoft SQL Server 2008 R2 Setup

The following error has occurred:

Setup failed to install Windows PowerShell. Error code is -2145124329

For help, click:



share|improve this question
Probably by installing Windows Powershell manually. What host OS? – jcolebrand Jun 30 '11 at 2:34
Windows 7 Ultimate. Powershell works just fine in this machine. – Nestor Jun 30 '11 at 12:32
What logs does the machine provide when it errors out? There is always a install log. Check your %temp% folder. – jcolebrand Jun 30 '11 at 16:11
The error I pasted in my question is coming from those logs – Nestor Jun 30 '11 at 18:26

Well, that error code is:

SUS_E_NOT_APPLICABLE -- install is not needed because no updates are applicable


This happens when you're trying to install a patch for an application and the patch no longer applies to the application. For example, if the application is version 10 and the patch fixes version 9, the patch will fail with that error.

One possible fix is to uninstall and reinstall SQL Server. Also, you could check to see if you have any patches or fixes installed already. I know that Service Pack 1 is already out for SQL Server. If you have that installed, it could be causing this error (trying to add an old patch to a newer version of PowerShell).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.