Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am running Windows 7.

Whenever I try to run commands like 'ping', 'ipconfig', 'taskkill', 'tasklist', etc from the command line I get an "Access is denied" message.

I checked the "Advanced Security Settings" for the Windows\System32 folder and the Owner was set to "TrustedInstaller". I changed the owner to "Administrators" but this did not seem to help.

Any ideas? I was previously able to execute commands at the cmd prompt without issue.

share|improve this question
Can you check that c:\windows\system32\ping.exe has Read and Execute privileges for Users in properties in the Security tab? – Paul Dec 30 '11 at 23:25

The user permission for the c:\windows\system32\ping.exe show that Users entry have Read & Execute permissions. All other users have Special permissions. I am not quite sure what this means.

Regardless, I performed a Windows Restore and that seemed to fix the issue. If anyone knows what could possible cause a problem like this please post.

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.