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 have Windows 7, and I want to run PowerShell as an administrator. I found it in the Start Menu, right clicked it and selected Run as administrator, but I get the following:

Windows Explorer has stopped working

Even if I I try to open PowerShell > Windows PowerShell Help, I have the same error. I only can start PowerShell as a regular user, but this is useless because I can't run the following command:

Set-ExecutionPolicy RemoteSigned
(ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft .PowerShell' is denied.)

Any ideas why I can't start PowerShell with admin rights?

share|improve this question
    
Just to confirm: You are an administrator on the local computer? –  KCotreau Jul 19 '11 at 15:19

1 Answer 1

To be honest I'm not sure what the issue is. What I would suggest trying though is going directly to the PowerShell exe and trying to run that as an administrator:

C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe

Failing that, I would run regedit as an administrator and change the registry key manually:

C:\Windows\System32\regedit.exe
share|improve this answer

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.