12

I used to be able to drag and drop files to some of my desktop icons (e.g. Notepad++, AstroGrep, etc.) to open them with the applications represented by those icons.

About a month ago (can't recall exactly when this happened), the system stopped supporting this feature and now it won't do it anymore. Instead, it would only "Move to Desktop" the dragged-and-dropped file.

Any idea how to restore this (very convenient) functionality?

Notes:

  1. It's not that drag & drop stopped completely. It's only the open feature (within drag & drop) that stopped working for some reason.
  2. This feature works fine on all my other Windows 7 computers.
  3. Deleting and re-creating the Desktop Icons/Shortcuts doesn't help.
  4. I found quite a few postings on "drag & drop not working on Windows 7 64-bit" but they don't really apply in my case because other than having lost the ability to open a file using drag & drop, copying & moving files using drag & drop still works.

Additional information:

I used CCleaner to analyze (only! not "fix"...) possible registry problems and the the only area that may seem relevant is the following "Missing Shared DLL" in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls:

C:\Windows\Microsoft.NET\Framework\v1.0.3705\vsavb7rt.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\system.enterpriseservices.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\mscorrc.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\mscordbi.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\mscorsec.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\system.configuration.install.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\microsoft.vsa.vb.codedomprocessor.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\wminet_utils.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\microsoft.jscript.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\diasymreader.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\iehost.dll
C:\Windows\Microsoft.NET\Framework\v1.0.3705\system.data.dll
C:\Program Files (x86)\Hewlett-Packard\HP Health Check\Tools\UninstallHPSA.exe

Do you spot anything above that may explain this problem?


Update 1:

Neither sfc /scannow nor regsvr32 "C:\Windows\System32\shell32.dll" (suggested below) work. System restore is not an option right now.


Update 2:

I tried the following possible fixes suggested by the link @harrymc provided:

1. Click on any file with the left mouse button and keep the button held down. Now press the Escape key. Didn't help.

2. Disable the "Drag-drop" in Context menu options, apply it then enabled it again. Didn't help.


Clarification: Dragging & dropping to applications while they are open still works. The only thing that stopped working is opening a document/file through a desktop icon.

Also, if I try to drag & drop using the right mouse button, the "Open" context-menu item is not listed:

enter image description here

Additional ideas?

Withheld
  • 173

5 Answers5

10

I believe this may be a problem in the registry. In particular, I think this lies under HKCR.


I would like you to check some registry data manually first.

WARNING: Editing the registry can be dangerous. You are warned!

First, fire up Registry Editor (run regedit.exe from the start menu search box).

Then navigate to HKEY_CLASSES_ROOT\.exe. On the right you should see (Default) of type REG_SZ having the data exefile. Comment below and stop here if this is not on your machine.

Then also navigate to HKEY_CLASSES_ROOT\.lnk. On the right you should see (Default) of type REG_SZ having the data lnkfile. Comment below and stop here if this is not on your machine.


If you passed the above check, then you can follow the following steps to attempt to fix the problem.

WARNING: Editing the registry can be dangerous. You are warned twice!

The following fixes .exe files:

Navigate to HKEY_CLASSES_ROOT\exefile\shellex\DropHandler. On the right you should see (Default) of type REG_SZ, but may not be having the data {86C86720-42A0-1069-A2E8-08002B30309D}.

Now, select "File" -> "Export" on the menu to backup the data.

When you've done exporting the data, you should try editing the data of the item (Default). Double-click on (Default), then paste the following value {86C86720-42A0-1069-A2E8-08002B30309D} and click "OK" (or press Enter).

The following fixes .lnk (Windows shortcuts) files:

Navigate to HKEY_CLASSES_ROOT\lnkfile\shellex\DropHandler. On the right you should see (Default) of type REG_SZ, but may not be having the data {00021401-0000-0000-C000-000000000046}.

Now, select "File" -> "Export" on the menu to backup the data.

When you've done exporting the data, you should try editing the data of the item (Default). Double-click on (Default), then paste the following value {00021401-0000-0000-C000-000000000046} and click "OK" (or press Enter).

After that, close Registry Editor and restart explorer.exe. The easy way is to log off then log in.

By default, you can also drop to .bat, .cmd and some more file types. If you find that you can't also, find a working Windows 7 machine and copy the corresponding registry values.

1

most of the "drop targets" are handled by shell32.dll. you could try to re-register that file by issuing the command:

regsvr32 "C:\Windows\System32\shell32.dll"

then reboot and check if the problem still exists

just a wild guess, but maybe it helps

weberik
  • 1,030
  • 8
  • 13
0

Delete and re-create the Desktop Icons/Shortcuts.

Chris E. Avis
  • 1,927
  • 1
  • 12
  • 5
0

I believe you have harmed the registry by cleaning it. Cleaning the registry is not a good idea if you do not have a very good knowledge of it.

if none of the other answers fix this weird problem, my suggestion is to use System Restore to rollback Windows to a previous System Restore point dating from before the problem.

For more info see Using Windows 7 or Vista System Restore.

harrymc
  • 498,455
0

Try using the "System Restore" , utlity of windows 7 , that is if you already have enabled and configured it to save restore points frequently. Assuming you had it running , just open system restore first.

In start menu type System Restore ,and then click on the utility. A wizard comes up , follow the steps , and select the date at which , you knew for sure , that everything was running fine , and after the restart , hopefully everything is fixed.

---Edit----

The problem seems to be maybe due to some corrupted system files.

There is a tool called System File checker , which checks the integrity of the system files , this has the possibility determine the cause of the problem. Here is microsoft's support, with regard to that utility.

Barath Bushan
  • 396
  • 1
  • 2
  • 12