Windows 11 drag-and-drop execution fix¶
In Windows 11, User Account Control (UAC) settings may prevent users from executing files by dragging and dropping them onto elevated applications (such as a command prompt running as Administrator) or the Run dialog.^[600-developer__tools__windows__windows-connand.md]
This restriction is controlled by the registry value EnableLUA located under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system.^[600-developer__tools__windows__windows-connand.md]
To restore drag-and-drop execution functionality, the EnableLUA value must be modified to 0.^[600-developer__tools__windows__windows-connand.md]
Procedure¶
- Press
Windows Key + Rto open the Run dialog, type regedit, and press Enter.^[600-developer__tools__windows__windows-connand.md] - Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system^[600-developer__tools__windows__windows-connand.md] - Right-click the EnableLUA value and select Modify.^[600-developer__tools__windows__windows-connand.md]
- Change the value data to 0 and click OK.^[600-developer__tools__windows__windows-connand.md]
- Restart the computer for the changes to take effect.^[600-developer__tools__windows__windows-connand.md]
Sources¶
- 600-developer__tools__windows__windows-connand.md