Skip to content

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]:

  1. Open the Run dialog box by pressing Windows Key + R.
  2. Type regedit and press Enter.
  3. Navigate to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
  4. Right-click the EnableLUA entry and select Modify.
  5. Change the value data to 0 and click OK.
  6. Restart the computer for the changes to take effect^[600-developer-tools-windows-windows-connand.md].

Sources

^[600-developer-tools-windows-windows-connand.md]