Executing Commands at Cmd Prompt Result in "Access Denied"

2

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.

Tim

Posted 2011-12-30T20:21:31.730

Reputation: 21

Can you check that c:\windows\system32\ping.exe has Read and Execute privileges for Users in properties in the Security tab? – Paul – 2011-12-30T23:25:52.953

Answers

0

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.

Tim

Posted 2011-12-30T20:21:31.730

Reputation: 21