Windows 10, cannot run any .exe from secondary drives

If the solution of darmual did not cut it quite for me. The group policies did not change the registry entries needed to grant execute rights for removable media devices (for some reason my second hard drive was also considered a removable device).

In order to gain write access to executable files in your "removable" media under windows 10 you should change the following register entries:

  • HKLM\SYSTEM\CurrentControlSet\Control\Storage
  • HKLM\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
  • HKLM\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\RemovableStorageDevices{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

Deny_Execute

set it to 0

Registry entry example

This solution worked for me and hopefully will fix your problem as well.

Edit (14.05.2018):

Here are the keys entries and their corresponding values. Save the lines of code into a .reg file and you will be able to change them all at once:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Storage]
"Deny_Execute"=dword:00000000


[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
"Deny_Execute"=dword:00000000


[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
"Deny_Execute"=dword:00000000

The problem was caused by a Local Group Policy Admistrative Template, Local Computer Policy\Computer Configuration\Administrative Templates\System\Removable Storage Access\Removable Disks: Deny execute access, which was manually set to enable.

After resetting it to Not Configured and rebooting the problem disappeared.

Apparently the secondary partition from my main hard drive was also considered a "Removable Disk".