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

1 Answer

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
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.