Skip to content

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

  1. Press Windows Key + R to open the Run dialog, type regedit, and press Enter.^[600-developer__tools__windows__windows-connand.md]
  2. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system^[600-developer__tools__windows__windows-connand.md]
  3. Right-click the EnableLUA value and select Modify.^[600-developer__tools__windows__windows-connand.md]
  4. Change the value data to 0 and click OK.^[600-developer__tools__windows__windows-connand.md]
  5. Restart the computer for the changes to take effect.^[600-developer__tools__windows__windows-connand.md]

Sources

  • 600-developer__tools__windows__windows-connand.md