How can I prevent file execution in a specific folder in Windows 7?

10

1

I don't want to inadvertently execute programs in my "Downloads" folder. How do I do that in Windows 7 Home Premium?

Ramalhão

Posted 2012-04-03T17:13:23.867

Reputation: 103

Answers

10

Right-click on the Downloads folder in your user folder and select Properties. Select the Security tab, then click the Advanced button:

enter image description here

Click the Change Permissions... button:

enter image description here

Select the entry for your user name and click Edit:

enter image description here

Set the Deny checkbox for the Traverse folder / execute file entry:

enter image description here

Click OK to close all windows.

bwDraco

Posted 2012-04-03T17:13:23.867

Reputation: 41 701

1It took a bit more dialog boxes, but I managed to do that. Thank you! – Ramalhão – 2012-04-03T17:26:04.927

@Ramalhão: Answer edited to reflect correct procedure, my original answer wasn't quite correct. – bwDraco – 2012-04-03T17:52:33.707