Can't Drag and Drop Into an Admin Window? Here's Why
You can't drag files from File Explorer, or from any normal app, into a program that's running as administrator. Windows blocks it on purpose: User Interface Privilege Isolation (UIPI), part of User Account Control, stops a lower-privilege process from interacting with a higher-privilege one. The fix is to avoid the drag: open the file from inside the admin app, paste its path, or run that app without elevation.
Why the drop is blocked
Windows gives every process an integrity level. Microsoft's UAC documentation puts it plainly: "Applications with lower integrity levels can't modify data in applications with higher integrity levels."
Your desktop runs as a standard user. Microsoft explains that Explorer starts with the standard user token, and the apps you open from it inherit that token. An app you start with Run as administrator runs at a higher integrity level. A drag-and-drop is the source app sending data to the target window, so when the target is elevated and the source isn't, Windows refuses. Microsoft's Power Automate troubleshooting describes the same wall, with the target "running in elevated mode" listed as a cause.
The failure is silent: the cursor shows a "not allowed" sign, or the drop simply does nothing. It looks like a bug, but it's a security feature that stops a compromised normal app from feeding files or input into an admin tool.
Confirm that elevation is the cause
- Check the target. An app started with Run as administrator usually says Administrator in its title bar (Command Prompt and PowerShell do), or you'll have accepted a UAC prompt when you opened it.
- Open a second copy of the same app normally, without elevation, and drag the same file in. If that works, the file and the drag are fine.
- If the normal copy accepts the drop and the elevated one doesn't, UIPI is the cause.
The same applies whatever you drag from: File Explorer, a browser's downloads list, or a clipboard manager.
Ways to get the file in
Open it from inside the elevated app
Use the app's own File > Open (or Import, or a Browse button) and pick the file. The dialog belongs to the elevated app, so nothing crosses the boundary.
Paste the path instead of dragging
- In File Explorer, right-click the file and choose Copy as path.
- In the elevated app's Open dialog, or at an admin PowerShell or Command Prompt, paste the path with Ctrl+V.
Pasting usually works where dragging doesn't, because the elevated app reads the clipboard itself rather than accepting a drop from another process. If pasting also fails, see cannot paste into an admin window.
Don't run the app elevated unless it needs it
Many apps are set to run as administrator out of habit. Microsoft's own guidance for UIPI problems is to clear the setting: right-click the app's shortcut, choose Properties > Compatibility, and clear Run this program as an administrator. Only do this if the app works without admin rights. Code editors are a common example; why drag-and-drop fails in admin VS Code covers that case.
What not to do
- Don't turn off UAC to make drag-and-drop work. That removes the protection for everything, not just this drag.
- Don't run your clipboard manager or other everyday tools as administrator just so they can drop into admin windows. A tool that watches everything you copy shouldn't also have admin rights.
Mapped drive letters can also disappear
A related surprise: a file on a mapped drive such as Z:\ may not be found by the elevated app at all. Microsoft explains that with UAC on, Windows creates two linked logon sessions, and drive letter mappings are specific to a session, so the elevated side may not see drives you mapped as a standard user.
Workarounds:
- Use the full network path (
\\server\share\file.ext) instead of the drive letter. - Map the drive again inside the elevated session.
- On managed PCs, IT can set the EnableLinkedConnections DWORD to
1underHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Systemand restart. Microsoft documents this registry entry, which makes the drive mappings available to both linked sessions. Leave it to an administrator who has weighed the trade-off.
Do clipboard file lists work on network drives? covers other network-path problems.
Common elevated targets
| Target | Instead of dragging |
|---|---|
| PowerShell or Command Prompt (Administrator) | Copy as path, then paste |
| An installer or setup wizard | Use its Browse button |
| Registry Editor | File > Import for .reg files |
| An editor you always run as admin | Open the file from its File menu, or stop running it elevated |
Clipboard managers hit the same wall
Clipboard tools that support drag-out use the standard Windows drag-and-drop system, so they're blocked by UIPI exactly like Explorer. Edge Drop, the free clipboard shelf made by the team behind this site, is one of them. Instead of dragging a file card into an admin window, use the card's Copy button, which puts the file on the clipboard without pasting, then press Ctrl+V in the elevated app if it accepts pasted files, or right-click the card, choose Copy path, and paste the path into its Open dialog. How to drag an item out of Edge Drop into any app covers normal drag-out.
FAQ
Can UIPI be turned off just for drag-and-drop?
Not with a supported user setting. Apps can choose to accept specific messages from lower-integrity processes, but that's a decision for the app's developer.
Why does Ctrl+V work when dragging doesn't?
Pasting is the elevated app reading the clipboard. Dragging is another process sending data into the elevated window, which UIPI blocks.
Does this affect Win+V clipboard history?
No. Clipboard history works the same in elevated apps. It never stores files, though, so it can't help with dragging files in.
Related reading
- Can't Paste Into an Admin Window? Why and How to Fix It
- Why Does Drag-and-Drop Fail in Admin VS Code?
- Why Paste Works but Drag-and-Drop Fails on Windows
- When Drag-and-Drop Is the Wrong Choice (and What to Use)
Sources
- How User Account Control works (Microsoft Learn) — integrity levels; lower-integrity apps can't modify higher-integrity ones; Explorer runs with the standard user token.
- UIPI issues with UI and browser automation actions (Microsoft Learn) — UIPI blocks interaction across integrity levels; elevated target as a cause; Compatibility tab fix.
- Mapped drives are not available (Microsoft Learn) — linked logon sessions and the EnableLinkedConnections registry entry.
- DoDragDrop (Microsoft Learn) — the OLE drag-and-drop call a drag source makes.
Mohit Sehrawat helps test Edge Drop, trying features on Windows and reporting bugs. A B.Tech Computer Science Engineering student focused on software testing and product quality, Mohit writes the troubleshooting and privacy guides.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First