Windows – How to reset shortcuts (.lnk file) in Windows 7

shortcutswindows 7windows-registry

Somehow I went to open a shortcut and Windows couldn't find the target but instead of pointing the shortcut to the .exe it pointed the .lnk file handler to the .exe, so now all my .lnk files are trying to be opened by the borderlands game.

What's going on?

I'm guessing I can do it by resetting the .lnk entry in HKEY_CLASSES_ROOT, but I don't know what to set it to.

Best Answer

Open regedit from the Start Menu (You can also invoke the file using Run command).
Navigate to the following registry branch:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.lnk

Click on the arrow to expand it and delete the sub-key named UserChoice. Exit from Registry Editor.

After this do a reboot.

Related Question