When you drag a folder to the Favorite Links area in Windows Explorer, the shortcut to the folder is placed in the Links folder. This was not the case in one of my Windows Vista systems, where the entire folder and sub-folders were moved to the Links folder when dragged to Favorite Links.

Fig 1: Folder being moved when dragged to Favorite Links.
Before this problem was seen, I had reset the Links folder by deleting its contents and rebuilt using the shell:Links command, in order to fix the Links folder icon.
When I compared the Desktop.ini file in the Links folder of my user account with that of the Guest account, I found the following line missing in the Desktop.ini file in my profile:
Per the DESKTOP.INI Documentation, the DefaultDropEffect line sets the default drag-and-drop action. Setting it 4 creates a shortcut of the dragged folder in the Links folder. The problem was resolved after I added the DefaultDropEffect line to the Desktop.ini, set its Read-only attribute and restarted Windows.
For others who experience the problem, here is a short write-up.
The default contents of the Desktop.ini file (for the Links folder) is given below:
(REF Shell folders are displayed with the standard folder icon in Windows Vista)
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21810
IconResource=%SystemRoot%\system32\imageres.dll,-185
DefaultDropEffect=4
[LocalizedFileNames]
Public.lnk=@shell32.dll,-21816
Searches.lnk=@shell32.dll,-9031
Recently Changed.lnk=@shell32.dll,-32813
Music.lnk=@shell32.dll,-21790
Pictures.lnk=@shell32.dll,-21779
Documents.lnk=@shell32.dll,-21770
Fixing Desktop.ini in the Links folder
Method 1
Download DesktopINIFix run the tool.
Select Favorite Links from the list, and click Fix Desktop.ini
Logoff and login back for the change to take effect.
Method 2
To open the Links folder of your user profile, right-click on an empty area in the Favorite Links area in Explorer, and click Open Favorite Links Folder.
Delete the existing Desktop.ini file and create one with the above contents. Then right-click desktop.ini and choose Properties. Place a checkmark near Read-only attribute, and click OK. Logoff and login back.

Fig 2: Default drop effect changed to "create link" (normal behavior)
Related Posts
- How to Add a Folder or Library to Windows Explorer Favorites in Windows 7
- Favorite Links Area in Windows Vista Explorer Is Empty
- Remove Favorite Links Completely From Explorer and Common Dialog in Windows Vista
- Add Favorite Links Folder to the Vista Start Menu
- Add Your Documents Folder to the Explorer Navigation Pane in Windows Vista
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?





I have found 2 desktop.ini in the video section of my sons computer…i have tried open all hidden folders option but i am still un-able to view the contents…Can u please show me how to view the contents of the desktop.ini
thankyou sooooooooooooooo much
i really needed this help as my entire folders kept moving everytime i created a favourite link
thanks alot…u made my day =]