how to properly enable drag-and-drop in Windows 7 (with iTunes in particular)

9,492

Solution 1

There's nothing to enable in Windows. Drag and drop just works.

Applications have to register themselves (in code at runtime) as drag-drop targets, basically telling Windows they support drag and drop operations. If iTunes isn't working, it apparently doesn't do so.

Saying that iTunes on the two machines "looks like it's the same version" isn't good enough. Check to make sure the version numbers are identical, or have iTunes itself check for software updates to make sure both are the latest.

Solution 2

Are you starting iTunes on the computer where drag-and-drop doesn't work with the option Run this program as an administrator enabled (.exe > Properties > Compatibility tab) ?

I found that with a text editor, enabling this property (so that I could more conveniently edit application configuration files) consequently broke drag-and-drop (by which I mean I couldn't drag from Windows Explorer into that application).

The reason confounded me for a while, until I realised that another (less frequently used) text editor opened files via drag-and-drop just fine.

According to another superuser post, post-UAC, you can't drag from a program without elevated privileges to an application that has been started with elevated privileges. And it's not possible to start Windows Explorer (the application from which you're dragging) with elevated privileges. Ergo, enabling that option breaks drag-and-drop.

My workaround? I'm a SlickRun addict, and have set up SlickRun shortcuts to the most frequently edited configuration files using my favourite text editor, metapad. In the shortcut, just enable the Run as administrator option. You have to hit Yes in the UAC prompt, but it means that you can leave the option unset on the metapad executable, which keeps drag-and-drop working.

Share:
9,492

Related videos on Youtube

user38795
Author by

user38795

Updated on September 17, 2022

Comments

  • user38795
    user38795 over 1 year

    On two computers with Windows 7 at work and at home with the same version of iTunes (10.1.0.56) at work I can drag-and-drop files into iPod, and I can not at home. At home only adding them first through a dialog box to a Library and only after that drag-and-dropping into iPod (or iPad) works.

    Initially I thought the problem is in iTunes, but looks like it's the same version, so most likely it's the Windows 7 config parameters.

    It's 64-bit W7, and I have admin privileges in both cases. The only difference I could think of is it's an enterprise version at work and ultimate at home.

    What should I change at home to enable that drag-and-drop-ing files into the application?

    • Vaijnath Polsane
      Vaijnath Polsane over 13 years
      could it be that the files you are dropping at work are already in your library, and the files at home are not?
    • mic84
      mic84 over 13 years
      Sorry, was trying to explain share permission problem,was wrong, sorry for wasting your time.
    • digitxp
      digitxp over 13 years
      My recommendation: it's far easier just to use Dropbox to ping the music files over.
  • user38795
    user38795 over 13 years
    I did. It's 10.1.0.56 on both machines.