Windows 11 drag-and-drop execution bug¶
The Windows 11 drag-and-drop execution bug refers to an issue where files dragged and dropped into a window—particularly an elevated Command Prompt or other application context with higher privileges—fail to execute or run as expected^[600-developer-tools-windows-windows-connand.md].
A common workaround for this behavior involves modifying the Windows Registry to adjust User Account Control (UAC) settings.^[600-developer-tools-windows-windows-connand.md]
Resolution via Registry¶
To resolve this issue, the EnableLUA value located in the system policies registry key must be modified^[600-developer-tools-windows-windows-connand.md]:
- Open the Run dialog box by pressing
Windows Key + R. - Type
regeditand press Enter. - Navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system - Right-click the EnableLUA entry and select Modify.
- Change the value data to 0 and click OK.
- Restart the computer for the changes to take effect^[600-developer-tools-windows-windows-connand.md].
Sources¶
^[600-developer-tools-windows-windows-connand.md]