Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. You don't realize how dependent you have become on using drag-and-draw...

You don't realize how dependent you have become on using drag-and-draw...

Scheduled Pinned Locked Moved The Lounge
helpcsharpvisual-studiocomwindows-admin
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S SoMad

    ...until a Windows 10 update takes that away from you. Alright, so I may be jumping the gun on blaming this on a Windows update, but I am not sure what else it could be. I have been searching for solutions out there on the net thing, but I have not disabled the "Quick Access" feature in Explorer, I don't have Explorer hacks in the registry or anything like that and pressing the ESC key certainly does not fix it. I have no problems doing drag-and-drop with files inside Explorer, moving them from one folder to another. The problem is that I cannot drag files into applications running with elevated privileges. Take something as simple as Notepad. I have found that now I cannot drag-and-drop a text file into a Notepad instance if it is launched using "Run as Administrator", but it works fine when launched normally. And it is the same with Visual Studio, which I also have set to "Run as Administrator" from my taskbar icon. For some reason I am also unable to drag-and-drop into Edge even though I haven't used the elevated privileges on that. Yes, I can drag-and-drop into Chrome - unless I use "Run as Administrator". All this worked yesterday (Wednesday). Before a number of updates were rolled out. GreatMarkO described the problem I am seeing pretty well in November, 2015: how to fix drag and drop in windows 10? (page 4) - Microsoft Community[^] There are quite a few suggestions in this thread and I am leaning towards the ones blaming "smartscreen.exe", but that is one persistent little bugger. You can kill the process, but it starts right back up again. I tried setting the options for it to Off in the Windows Defender Security Center, but that didn't seem to help and it doesn't seem to be something I want to turn off. For now I might just follow the approach taken by BruceLeyland-Jones (page 15 of that same thread)

    Quote:

    I recently got a new computer, with Windows 10 installed, and had absolutely no problems with drag and drop...until today! Now I cannot drag and drop anything and learned that this is a well-known issue. I've run the usual scans and there are no corrupted files and was getting in

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #2

    This goes back to 2010! Q: Why Doesn’t Drag-and-Drop work when my Application is Running Elevated? – A: Mandatory Integrity Control and UIPI – Pat's Windows Development Blog[^] I'm not sure it ever worked, I don't run elevated unless I really, really have to.

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    raddevusR S 2 Replies Last reply
    0
    • S SoMad

      ...until a Windows 10 update takes that away from you. Alright, so I may be jumping the gun on blaming this on a Windows update, but I am not sure what else it could be. I have been searching for solutions out there on the net thing, but I have not disabled the "Quick Access" feature in Explorer, I don't have Explorer hacks in the registry or anything like that and pressing the ESC key certainly does not fix it. I have no problems doing drag-and-drop with files inside Explorer, moving them from one folder to another. The problem is that I cannot drag files into applications running with elevated privileges. Take something as simple as Notepad. I have found that now I cannot drag-and-drop a text file into a Notepad instance if it is launched using "Run as Administrator", but it works fine when launched normally. And it is the same with Visual Studio, which I also have set to "Run as Administrator" from my taskbar icon. For some reason I am also unable to drag-and-drop into Edge even though I haven't used the elevated privileges on that. Yes, I can drag-and-drop into Chrome - unless I use "Run as Administrator". All this worked yesterday (Wednesday). Before a number of updates were rolled out. GreatMarkO described the problem I am seeing pretty well in November, 2015: how to fix drag and drop in windows 10? (page 4) - Microsoft Community[^] There are quite a few suggestions in this thread and I am leaning towards the ones blaming "smartscreen.exe", but that is one persistent little bugger. You can kill the process, but it starts right back up again. I tried setting the options for it to Off in the Windows Defender Security Center, but that didn't seem to help and it doesn't seem to be something I want to turn off. For now I might just follow the approach taken by BruceLeyland-Jones (page 15 of that same thread)

      Quote:

      I recently got a new computer, with Windows 10 installed, and had absolutely no problems with drag and drop...until today! Now I cannot drag and drop anything and learned that this is a well-known issue. I've run the usual scans and there are no corrupted files and was getting in

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #3

      SoMad wrote:

      The problem is that I cannot drag files into applications running with elevated privileges.

      It is running under a different user-context. Open your explorer also in Admin mode and try again. Wouldn't be surprised if they blocked that too btw :)

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      OriginalGriffO 1 Reply Last reply
      0
      • L Lost User

        SoMad wrote:

        The problem is that I cannot drag files into applications running with elevated privileges.

        It is running under a different user-context. Open your explorer also in Admin mode and try again. Wouldn't be surprised if they blocked that too btw :)

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #4

        It is: elevated Explorer can't drop onto elevated notepad. I suspect you are right, and it's user context thingy.

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        L D 2 Replies Last reply
        0
        • OriginalGriffO OriginalGriff

          It is: elevated Explorer can't drop onto elevated notepad. I suspect you are right, and it's user context thingy.

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #5

          Makes me feel safe - though I don't think it is as much a security-feature, but more a speed-optimization.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            This goes back to 2010! Q: Why Doesn’t Drag-and-Drop work when my Application is Running Elevated? – A: Mandatory Integrity Control and UIPI – Pat's Windows Development Blog[^] I'm not sure it ever worked, I don't run elevated unless I really, really have to.

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

            raddevusR Offline
            raddevusR Offline
            raddevus
            wrote on last edited by
            #6

            Yeah, I've been running 2012 R2 on a VM and that "issue" has been in there since I've been running it. It really is a pain when you first encounter it though. Also, if you attempt to drag and drop files from a network drive that has a mapped drive (t:\location) to a local folder you will not be able to do it either. However, it does seem to work if you drag and drop from the same network drive if you referenced the drive via UNC path (\\corp\location). Go figure.

            OriginalGriffO 1 Reply Last reply
            0
            • raddevusR raddevus

              Yeah, I've been running 2012 R2 on a VM and that "issue" has been in there since I've been running it. It really is a pain when you first encounter it though. Also, if you attempt to drag and drop files from a network drive that has a mapped drive (t:\location) to a local folder you will not be able to do it either. However, it does seem to work if you drag and drop from the same network drive if you referenced the drive via UNC path (\\corp\location). Go figure.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #7

              raddevus wrote:

              if you attempt to drag and drop files from a network drive that has a mapped drive (t:\location) to a local folder you will not be able to do it either.

              I assume that's elevated? Because drag and drop to / from my mapped drives on the NAS (A:, B:, X:, Z:, P:, V:, ...) all work with unelevated Explorer windows.

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              raddevusR 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                raddevus wrote:

                if you attempt to drag and drop files from a network drive that has a mapped drive (t:\location) to a local folder you will not be able to do it either.

                I assume that's elevated? Because drag and drop to / from my mapped drives on the NAS (A:, B:, X:, Z:, P:, V:, ...) all work with unelevated Explorer windows.

                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                raddevusR Offline
                raddevusR Offline
                raddevus
                wrote on last edited by
                #8

                OriginalGriff wrote:

                I assume that's elevated?

                You are probably right about that. :thumbsup: I just know that it's a pain the way mine is setup.

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  It is: elevated Explorer can't drop onto elevated notepad. I suspect you are right, and it's user context thingy.

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                  D Offline
                  D Offline
                  dandy72
                  wrote on last edited by
                  #9

                  I've first run into exactly that months ago, so I doubt it can be attributed to a recent update, unless OP has just recently installed whatever (now) old update introduced that "feature". Every once in a while, I'll launch Notepad elevated, because I want to edit my hosts file. Then I try to drag the file from Explorer (which isn't elevated), and Notepad will refuse to do anything with it. Solution: Use the elevated Notepad instance's File/Open, or launch Explorer itself as an elevated user. Then D&D will work. I've learned to live with it. Bottom line: It's not "new", and whether it's "problem" is up to one's interpretation.

                  S 1 Reply Last reply
                  0
                  • D dandy72

                    I've first run into exactly that months ago, so I doubt it can be attributed to a recent update, unless OP has just recently installed whatever (now) old update introduced that "feature". Every once in a while, I'll launch Notepad elevated, because I want to edit my hosts file. Then I try to drag the file from Explorer (which isn't elevated), and Notepad will refuse to do anything with it. Solution: Use the elevated Notepad instance's File/Open, or launch Explorer itself as an elevated user. Then D&D will work. I've learned to live with it. Bottom line: It's not "new", and whether it's "problem" is up to one's interpretation.

                    S Offline
                    S Offline
                    SoMad
                    wrote on last edited by
                    #10

                    It is new to me and I have not been postponing any updates. I have a habit of drag-and-dropping XML files into Edge when running certain tests and that was working. I drag-and-drop files all the time into Visual Studio as well, which I also have to run elevated. Launching Explorer elevated does not allow me to do it either.

                    "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      This goes back to 2010! Q: Why Doesn’t Drag-and-Drop work when my Application is Running Elevated? – A: Mandatory Integrity Control and UIPI – Pat's Windows Development Blog[^] I'm not sure it ever worked, I don't run elevated unless I really, really have to.

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                      S Offline
                      S Offline
                      SoMad
                      wrote on last edited by
                      #11

                      It was working for me. Perhaps because I had the UAC dialed all the way down and something changed in the way that works. I followed the suggestion by GreatMarkO to turn UAC completely off through the registry. Now I can drag-and-drop again and I am still able to run the built-in (Store) apps - Photos, Weather, News, etc. I think I will go with this setting for now.

                      "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups