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: Most helpful
  1. Anonymous
    2014-11-24T01:01:13+00:00

    broken-e,

    I'm using the Administrator's account on Win 7 SP1 (Home Premium) 64-bit, but all attempts to register DragDropInterceptor_64.dll keep resulting in the following ERROR msg:

    The module "DragDropInterceptor_64.dll" failed to load. [... blah blah ...] The specified module could not be found.

    The last section below outlines the various pathways that I tried. The supplied screenshot applies to pathway 2 & 3. However, the same error is obtained for pathway 1, regardless of where the DragDropInterceptor folder is pasted at the system drive.

    I have no problems registering or de-registering other DLLs. Could it be a dependency issue wrt DropDropInterceptor DLLs ? That is, does your DLL require dependent DLL(s) that is/are not found in Win 7 SP 1 Home Premium ? If yes, what are the requisite DLL(s) ?

    Pathways that I attempted to register the DLL file:-

    (1) Download zip file from your homepage

    • Right-click & unlock zip file
    • Unzip file & paste folder to system drive (alternate try: Windows\System32)
    • Take ownership of DragDropInterceptor_64.dll in folder

    a) Run register.bat as Administrator in same folder  > ERROR

    b) Run register.bat as System in same folder  > ERROR

    c) Run Command Prompt as Administrator > cd to DragDropInterceptor folder > regsvr32 DragDropInterceptor_64.dll > ERROR

    (2) Paste only DragDropInterceptor_64.dll obtained from unzipped (1) into Windows\System32

    a) Run Command Prompt as Administrator > cd Windows\System32 >regsvr32 DragDropInterceptor_64.dll > ERROR

    b) Windows Run > "%windir%\system32\regsvr32.exe" DragDropInterceptor_64.dll > ERROR

    (3) Download only DragDropInterceptor_64.dll file directly from github

    • Right-click & unlock DLL file
    • Paste DLL file into Windows\System32 folder

    a) Run Command Prompt as Administrator > cd Windows\System32 >regsvr32 DragDropInterceptor_64.dll > ERROR

    b) Windows Run > "%windir%\system32\regsvr32.exe" DragDropInterceptor_64.dll > ERROR

    I even tried pasting & registering DragDropInterceptor_64.dll at the *Windows* SysWOW64 folder, but the same error occurs. System simply won't recognize any of the DragDropInterceptor DLLs that you provided.

    Was this answer helpful?

    0 comments No comments
  2. 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
  3. 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
  4. 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