Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

3 Answers

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
add comment

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
add comment

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:

http://connect.microsoft.com/PowerShell/feedback/details/689952/resolved-user-error-powershell-exe-fails-to-start-after-wmf-3-0-ctp1-is-installed#tabs

share|improve this answer
add comment

Your Answer

 
discard

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.