Super User is a question and answer site for computer enthusiasts and power users. 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

I get an error when I try to run PowerShell:

Internal Windows PowerShell error. Loading managed Windows PowerShell failed with error 80070002.

I am running Windows 7 Home Premium (64-bit). This error occurs whether I start PowerShell from the command line or from the start menu shortcut. Running as administrator does not solve the issue either.

How do I fix this problem, so that I can use PowerShell?

share|improve this question
up vote 1 down vote accepted

I used my laptop's system recovery feature to reinstall Windows, and then I was able to use PowerShell just fine.

share|improve this answer

I know this topic is considerably old but since I also had this problem, you need to check to see if you have a powershell.exe.config or a powershell_ise.exe.config file in the ...\v1.0\ directory, rename/delete those files or completely patch the system (make sure there are no pending patches or reboots) and the problem should resolve itself:

share|improve this answer

This is caused by missing


Which should be at


It can be restored reinstalling Windows Management Framework

PowerShell failed with error 80070002 - Server Fault

share|improve this answer

Have you tried reinstalling powershell? This sounds like a corrupted install.

share|improve this answer
There is no way to reinstall PowerShell on Windows 7. – M. Dudley Nov 19 '11 at 20:13
I'm sorry. I thought you're using Windows XP... my fault. – wullxz Nov 19 '11 at 20:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .