Home » Questions » Computers [ Ask a new question ]

Drag and Drop File into Application under run as administrator

Drag and Drop File into Application under run as administrator

Whenever I have an application running (Visual Studio 2008, Notepad, etc.) under "Run as Administrator", I cannot drag and drop files from Windows Explorer into the application.

Asked by: Guest | Views: 239
Total answers/comments: 2
Guest [Entry]

"The problem is tied to how security permissions work. The ability to drag and drop from a normal applications to an elevated one would break the security model behind UAC. However, I'm unclear as to why a UAC prompt isn't shown, thus allowing for a temporary elevated operation (much like any linux user experiences every day). This is definitely something that Microsoft needs to work on. What troubles me is that this problem is already old. Vista behaved the same.

There's 2 things you can do (one ugly, one annoying)

Ugly: Disable UAC. But you lose all the extra security it offers.
Annoying: Use another File manager and run it too as an Administrator

Why another file manager? Because you can't actually elevate Windows Explorer. Despite seeing the option in the context menu of the Windows Explorer icon and a UAC prompt being displayed, the fact is Windows Explorer will not be elevated."
Guest [Entry]

"Windows 7:

Launch PowerShell using Run As Administrator

Type:

taskkill /f /im explorer.exe

start-process explorer.exe

or launch cmd (Command Prompt) using Run As Administrator

Type:

taskkill /f /im explorer.exe

start explorer.exe

All your new Explorer windows will now be elevated and you can drag and drop from them into other elevated applications. I tested and verified this prior to posting."