Drag and Drop confirmation prompt? Accidentally moving files.

Anonymous
2011-03-25T15:44:05+00:00

Ever since upgrading to Windows 7, we have had a problem with people inadvertently moving folders by dragging and dropping when meaning to double click.  Is there a way to turn on a confirmation prompt ("are you sure you want to...") when dragging and dropping files/folders?  It seems that previous versions of Windows had this prompt, but it has since been removed.  This is happening in our office on at least a weekly basis, sometimes daily, and we have to spend time searching for the moved folder.  If MS is unable to help, is there software that we can purchase to accomplish this?

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
@CmdrKeene 90,631 Reputation points Volunteer Moderator
2011-03-25T16:29:55+00:00

Windows 7 made no changes: there has never been a confirmation prompt like you describe.

One workaround is to increase the distance you must move the pointer before it triggers a drag.  Under the following registry key, you'll see DragHeight and DragWidth, which define the number of pixels the mouse must move before the drag is initiated:

Computer\HKEY_CURRENT\USER\Control Panel\Desktop

Was this answer helpful?

10+ people found this answer helpful.
0 comments No comments

63 additional answers

Sort by: Newest
  1. Anonymous
    2014-10-21T03:45:28+00:00

    The screenshot error makes sense since register.bat is not the dll you want to register, only a batch file to run the command for you to register it. The original error is the error you would get if the dll file was not found in the location. Do me a favor and try following these steps exactly:

    1. open the start menu and type "cmd". right-click that cmd.exe result and choose "Run as administrator"
    2. in the command prompt, type these commands with enter after each:
    • cd c:\dl\dragdropinterceptor
    • dir
    • regsvr32 dragdropinterceptor_64.dll
    1. if failed, paste a screenshot of those commands, including the header with the windows version in the cmd window, and the error you got with those commands. Like this:

    My version of Windows is Pro 64 bit, and I don't have Ultimate to try, however I don't think their differences should matter here...

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-10-21T01:24:44+00:00

    It looks like in the first screenshot, you are not running as administrator, and in the second screenshot, you are typing the command into the prompt instead of running from the batch file, which renders that particular command useless. Running a batch file as administrator makes the current directory be C:\Windows\System32, and the command cd /d "%~dp0" is so that when you run the register.bat as administrator, it changes the current directory from C:\Windows\System32 to the relative one that the batch file is in, so that it can find the dll file. 

    So either make sure the .bat and .dll files are in the same folder and try right-clicking the register.bat file and run as administrator, or try to do it manually and open a command prompt as administrator, navigate to the folder with DragDropInterceptor_64.dll and enter the command: RegSvr32.exe DragDropInterceptor_64.dll

    I did run the bat initially as administrator, from Windows Explorer > Shift+RightClick > Run as administrator.  Not sure why the cmd window didn't say "Administrator". 

    Running "RegSvr32.exe DragDropInterceptor_64.dll" from the batchfile/dll location manually from an administrative command prompt produced the same error.

    I tried it on both my office and home computers, both of which are running Windows 7 Ultimate x64. and got the same error.  

    I then tried rebooting the machine with a basic driver set by running msconfig > choosing "selective startup" on the General tab and checking only "Load system services" > disabling everything but Microsoft services on the "Services" tab.  I disabled anti-virus after the minimal driver reboot.  Same error, whether run as administrator from Explorer or run from an administrative cmd prompt.

    I don't know it's valuable info, but I also tried this from the command prompt, and got a different error.

    I also checked running processes and confirmed that the copy of regsvr32.exe is the one located in c:\windows\system32 and not the 32 bit version in c:\windows\syswow64.

    Thanks for your assistance.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-10-20T18:17:33+00:00

    It looks like in the first screenshot, you are not running as administrator, and in the second screenshot, you are typing the command into the prompt instead of running from the batch file, which renders that particular command useless. Running a batch file as administrator makes the current directory be C:\Windows\System32, and the command cd /d "%~dp0" is so that when you run the register.bat as administrator, it changes the current directory from C:\Windows\System32 to the relative one that the batch file is in, so that it can find the dll file. 

    So either make sure the .bat and .dll files are in the same folder and try right-clicking the register.bat file and run as administrator, or try to do it manually and open a command prompt as administrator, navigate to the folder with DragDropInterceptor_64.dll and enter the command: RegSvr32.exe DragDropInterceptor_64.dll

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-10-20T17:33:09+00:00

    I made an actual confirmation dialog upon a drag and drop move event. It works for me but I've only tested it on Windows 7. See my page on it and download here. It's completely open source, and you can see the code on github too.

    ![](http://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid=be61bae7-20f8-4e98-a9f5-60a27a539212)

    Looks great.  Troubles installing though on Windows 7 Ultimate x64:

    Was this answer helpful?

    0 comments No comments