Virtualbox Drag and Drop not working, freezes at “Dropping Data 0%”












7















I've enabled Drag & Drop in Virtualbox, and I tried dragging a small file from host to guest (both are win7).



I get this dialog:



enter image description here



And it stays at 0% forever.



How can I fix this and make Drag and Drop work?










share|improve this question



























    7















    I've enabled Drag & Drop in Virtualbox, and I tried dragging a small file from host to guest (both are win7).



    I get this dialog:



    enter image description here



    And it stays at 0% forever.



    How can I fix this and make Drag and Drop work?










    share|improve this question

























      7












      7








      7








      I've enabled Drag & Drop in Virtualbox, and I tried dragging a small file from host to guest (both are win7).



      I get this dialog:



      enter image description here



      And it stays at 0% forever.



      How can I fix this and make Drag and Drop work?










      share|improve this question














      I've enabled Drag & Drop in Virtualbox, and I tried dragging a small file from host to guest (both are win7).



      I get this dialog:



      enter image description here



      And it stays at 0% forever.



      How can I fix this and make Drag and Drop work?







      windows-7 virtualbox drag-and-drop






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 '15 at 15:28









      sashoalmsashoalm

      1,49653158




      1,49653158






















          2 Answers
          2






          active

          oldest

          votes


















          5














          Ok, after restarting the VM, and also killing and restarting Explorer, drag&drop was working again. I have no idea why it stopped working or why the restart helped.






          share|improve this answer































            1














            Make a new file with a *.ps1 extension, and save the following PowerShell script to that file. Then when this issue occurs, click cancel(the red X), then run the script, and try the copy again. Script obtained from this answer:



            echo "Trying to restart VBoxClient"

            $vbox_process = Get-Process VBoxTray
            Write-verbose $vbox_process
            $procID = $vbox_process.id

            if ($procID -gt 0)
            {
            $cmdline = (Get-WMIObject Win32_Process -Filter "Handle=$procID").CommandLine
            Write-Verbose $cmdline

            Write-Verbose "Stopping VBoxTray"
            $vbox_process.Kill()
            $vbox_process.WaitForExit()
            Write-Verbose "VBoxTray stopped"

            Write-Verbose "Starting VBoxTray"
            Start-Process -FilePath $cmdline.Split(' ')[0]
            echo "VBoxTray Restarted. All Done"
            } else {
            Write-Warning 'Could not find existing vboxTray process. Launching direct?'
            Start-Process -FilePath "C:WindowsSystem32VBoxTray.exe"
            }





            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f998670%2fvirtualbox-drag-and-drop-not-working-freezes-at-dropping-data-0%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              5














              Ok, after restarting the VM, and also killing and restarting Explorer, drag&drop was working again. I have no idea why it stopped working or why the restart helped.






              share|improve this answer




























                5














                Ok, after restarting the VM, and also killing and restarting Explorer, drag&drop was working again. I have no idea why it stopped working or why the restart helped.






                share|improve this answer


























                  5












                  5








                  5







                  Ok, after restarting the VM, and also killing and restarting Explorer, drag&drop was working again. I have no idea why it stopped working or why the restart helped.






                  share|improve this answer













                  Ok, after restarting the VM, and also killing and restarting Explorer, drag&drop was working again. I have no idea why it stopped working or why the restart helped.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 10 '15 at 15:28









                  sashoalmsashoalm

                  1,49653158




                  1,49653158

























                      1














                      Make a new file with a *.ps1 extension, and save the following PowerShell script to that file. Then when this issue occurs, click cancel(the red X), then run the script, and try the copy again. Script obtained from this answer:



                      echo "Trying to restart VBoxClient"

                      $vbox_process = Get-Process VBoxTray
                      Write-verbose $vbox_process
                      $procID = $vbox_process.id

                      if ($procID -gt 0)
                      {
                      $cmdline = (Get-WMIObject Win32_Process -Filter "Handle=$procID").CommandLine
                      Write-Verbose $cmdline

                      Write-Verbose "Stopping VBoxTray"
                      $vbox_process.Kill()
                      $vbox_process.WaitForExit()
                      Write-Verbose "VBoxTray stopped"

                      Write-Verbose "Starting VBoxTray"
                      Start-Process -FilePath $cmdline.Split(' ')[0]
                      echo "VBoxTray Restarted. All Done"
                      } else {
                      Write-Warning 'Could not find existing vboxTray process. Launching direct?'
                      Start-Process -FilePath "C:WindowsSystem32VBoxTray.exe"
                      }





                      share|improve this answer




























                        1














                        Make a new file with a *.ps1 extension, and save the following PowerShell script to that file. Then when this issue occurs, click cancel(the red X), then run the script, and try the copy again. Script obtained from this answer:



                        echo "Trying to restart VBoxClient"

                        $vbox_process = Get-Process VBoxTray
                        Write-verbose $vbox_process
                        $procID = $vbox_process.id

                        if ($procID -gt 0)
                        {
                        $cmdline = (Get-WMIObject Win32_Process -Filter "Handle=$procID").CommandLine
                        Write-Verbose $cmdline

                        Write-Verbose "Stopping VBoxTray"
                        $vbox_process.Kill()
                        $vbox_process.WaitForExit()
                        Write-Verbose "VBoxTray stopped"

                        Write-Verbose "Starting VBoxTray"
                        Start-Process -FilePath $cmdline.Split(' ')[0]
                        echo "VBoxTray Restarted. All Done"
                        } else {
                        Write-Warning 'Could not find existing vboxTray process. Launching direct?'
                        Start-Process -FilePath "C:WindowsSystem32VBoxTray.exe"
                        }





                        share|improve this answer


























                          1












                          1








                          1







                          Make a new file with a *.ps1 extension, and save the following PowerShell script to that file. Then when this issue occurs, click cancel(the red X), then run the script, and try the copy again. Script obtained from this answer:



                          echo "Trying to restart VBoxClient"

                          $vbox_process = Get-Process VBoxTray
                          Write-verbose $vbox_process
                          $procID = $vbox_process.id

                          if ($procID -gt 0)
                          {
                          $cmdline = (Get-WMIObject Win32_Process -Filter "Handle=$procID").CommandLine
                          Write-Verbose $cmdline

                          Write-Verbose "Stopping VBoxTray"
                          $vbox_process.Kill()
                          $vbox_process.WaitForExit()
                          Write-Verbose "VBoxTray stopped"

                          Write-Verbose "Starting VBoxTray"
                          Start-Process -FilePath $cmdline.Split(' ')[0]
                          echo "VBoxTray Restarted. All Done"
                          } else {
                          Write-Warning 'Could not find existing vboxTray process. Launching direct?'
                          Start-Process -FilePath "C:WindowsSystem32VBoxTray.exe"
                          }





                          share|improve this answer













                          Make a new file with a *.ps1 extension, and save the following PowerShell script to that file. Then when this issue occurs, click cancel(the red X), then run the script, and try the copy again. Script obtained from this answer:



                          echo "Trying to restart VBoxClient"

                          $vbox_process = Get-Process VBoxTray
                          Write-verbose $vbox_process
                          $procID = $vbox_process.id

                          if ($procID -gt 0)
                          {
                          $cmdline = (Get-WMIObject Win32_Process -Filter "Handle=$procID").CommandLine
                          Write-Verbose $cmdline

                          Write-Verbose "Stopping VBoxTray"
                          $vbox_process.Kill()
                          $vbox_process.WaitForExit()
                          Write-Verbose "VBoxTray stopped"

                          Write-Verbose "Starting VBoxTray"
                          Start-Process -FilePath $cmdline.Split(' ')[0]
                          echo "VBoxTray Restarted. All Done"
                          } else {
                          Write-Warning 'Could not find existing vboxTray process. Launching direct?'
                          Start-Process -FilePath "C:WindowsSystem32VBoxTray.exe"
                          }






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 23 at 20:24









                          gattsbrgattsbr

                          1188




                          1188






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f998670%2fvirtualbox-drag-and-drop-not-working-freezes-at-dropping-data-0%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Plaza Victoria

                              Brian Clough

                              Cáceres