Background:

With today's high monitor resolution, it is common for users to accidentally move files or folders to the wrong location while trying to click or double-click. This can be frustrating and time-consuming, especially when you have to search for the misplaced files or folders. However, there is a simple solution that can help you prevent accidental moves.


Solutions:

To prevent accidental move of file or folder to another folder, you can change the registry key values for DragHeight and DragWidth in "Computer\HKEY_CURRENT_USER\Control Panel\Desktop". By default, these values are set to 4 pixels, which means that you only need to move the mouse by 4 pixels to trigger a drag-and-drop action. Increasing these values will require you to move the mouse by a greater distance before a drag-and-drop action is triggered, thus reducing the likelihood of accidental moves.



Instructions:

  1. Open the Registry Editor by pressing the Windows key + R, typing "regedit", and pressing Enter.
  2. Navigate to "Computer\HKEY_CURRENT_USER\Control Panel\Desktop".
  3. Locate the values for DragHeight and DragWidth. If these values do not exist, you can create them by right-clicking in the right pane, selecting New > DWORD (32-bit) Value, and naming them DragHeight and DragWidth.
  4. Double-click on each value to modify its properties.
  5. In the Edit DWORD (32-bit) Value dialog box, select the Decimal base.
  6. Set the value data for both DragHeight and DragWidth to 200 (or a value that works best for your screen resolution and mouse sensitivity).
  7. Click OK to save the changes.


Note: Increasing the DragHeight and DragWidth values too much can make it difficult to move files or folders intentionally. Therefore, we recommend starting with a value of 200 and adjusting it as necessary based on your specific needs.


Conclusion:

By changing the registry key values for DragHeight and DragWidth, you can prevent accidental move of file or folder to another folder. This simple solution can save you time and frustration, and it's easy to implement.


If you do happen to experience an accidental move, Morro Audit can help identify who made the move and suggest adjusting DragHeight and DragWidth to prevent future occurrences. With these tips, you can ensure efficient file management and folder organization without worrying about accidental errors.