Windows 10: Remove execution permission from all files created in user "Downloads" folder

From Administrative command prompt:

cd \Users\<User>
icacls Downloads /deny <User>:(CI)(OI)(X) /t

User will no longer be able to run any EXE in his "Downloads" folder.

To revert:

cd \Users\<User>
icacls Downloads /remove <User> /t


Popular posts from this blog

Adding "Stereo Mixer" to Windows 7 with Conexant sound card

Hacking a USB-C to slim tip adapter cable to charge the Thinkpad T450s

Attiny85 timer programming using Timer1