I have three accounts on my PC:

  • Administrator
  • Account_1 (Limited)
  • Account_2 (Limited)

What I want is to prevent Account_2 from accessing cmd.exe and taskmgr and permit Account_1 to access it easily.

I tried Windows 7's security options, but I was unable to add Account_2 to the list and deny the Read, Write & Execute access.

link|improve this question

60% accept rate
What version of Win7? Professional and Ultimate give you access to Group Policies, which are designed for this sort of thing. – Phoshi May 2 '11 at 13:19
Ultimate. Group policies will disable the app for all users even the administrator :S – 0xab3d May 2 '11 at 13:35
feedback

migrated from stackoverflow.com May 2 '11 at 13:13

This question came from our site for professional and enthusiast programmers.

2 Answers

Try AppLocker. A bit of a sledge hammer for this task but you can easily use it to scope to a user or group of users.

What Is AppLocker? Technet document

link|improve this answer
feedback

Try using XCACLS to set the permissions. Perhaps you can override the Windows UI.

Also, make sure that you are the owner of the file before trying to change permissions. In Windows 7 you can change the owner like this:

  • right-click the file and select Properties
  • go to Security tab
  • click the Advanced button
  • go to the Owner tab and use Edit button to change the owner to your current user account
  • you should now be able to edit the permissions through the original Security tab or through XCACLS.EXE
link|improve this answer
I know, but I think CMD and taskmgr are Windows-protected files, so it is not easy to change neither the owner nor the security's permissions. – 0xab3d May 4 '11 at 17:05
Did you try my suggestion? It worked on my Windows 7. – Cosmin Pirvu May 4 '11 at 18:32
i will see it... thnx a lot – 0xab3d May 6 '11 at 22:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.