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?

link|improve this question

80% accept rate
feedback

2 Answers

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

link|improve this answer
There is no way to reinstall PowerShell on Windows 7. – emddudley 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
feedback
up vote 0 down vote accepted

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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