Solved

windows 7 shortcuts become named *.lnk

Posted on 2013-01-01
9
749 Views
Last Modified: 2013-03-11
Computer with Windows 7 suddenly changes desktop icons that were shortcuts.  
New file names are no longer e.g. "Internet Explorer" but, rather, "Internet Explorer.lnk"
File type is no longer Shortcut but .lnk
Creating new shortcuts results in the same thing.
Have not found a solution and it appears this is NOT a file association problem.
Rather, it appears to be how shortcuts are working.

It doesn't matter if the shortcut is to an .exe or to something else like .doc.
0
Comment
Question by:Fred Marshall
  • 2
  • 2
  • 2
  • +2
9 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 38735260
Shortcuts in Windows 7 *are* .lnk . All of mine say Type of File:  Shortcut (.lnk). This is how Windows 7 works.  There does not appear to be anything wrong.

.... Thinkpads_User
0
 
LVL 3

Assisted Solution

by:dramdrum
dramdrum earned 500 total points
ID: 38735277
Greetings,

Shortcuts do indeed have the extension .lnk, but if it shown like this it means it somehow broke and the .lnk extension is no longer associated as shortcut.

Looking around a bit there appears to be a registry fix you can apply.

Save the following into a .reg file, then import into the registry.




Windows Registry Editor Version 5.00

;LNK file association fix

[HKEY_CLASSES_ROOT\.lnk]
@="lnkfile"

[HKEY_CLASSES_ROOT\.lnk\ShellEx]

[HKEY_CLASSES_ROOT\.lnk\ShellEx\{000214EE-0000-0000-C000-000000000046}]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\.lnk\ShellEx\{000214F9-0000-0000-C000-000000000046}]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\.lnk\ShellEx\{00021500-0000-0000-C000-000000000046}]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\.lnk\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\.lnk\ShellNew]
"Handler"="{ceefea1b-3e29-4ef1-b34c-fec79c4f70af}"
"IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
  00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,\
  31,00,36,00,37,00,36,00,39,00,00,00
"ItemName"="@shell32.dll,-30397"
"MenuText"="@shell32.dll,-30318"
"NullFile"=""
"Command"=-

[HKEY_CLASSES_ROOT\.lnk\ShellNew\Config]
"DontRename"=""

[HKEY_CLASSES_ROOT\lnkfile]
@="Shortcut"
"EditFlags"=dword:00000001
"FriendlyTypeName"="@shell32.dll,-4153"
"NeverShowExt"=""
"IsShortcut"=""

[HKEY_CLASSES_ROOT\lnkfile\CLSID]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\lnkfile\shellex]

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\OpenContainingFolderMenu]
@="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\{00021401-0000-0000-C000-000000000046}]
@=""

[HKEY_CLASSES_ROOT\lnkfile\shellex\DropHandler]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.lnk\UserChoice]
0
 

Expert Comment

by:Hassan36
ID: 38735566
Well this is not a Sudden thing to happen....that is due to virus..... Here is the solution for this problem... I already applied on my computer.... Registry Entries.... Execute them as an administrator....

Regards
Hassan lnk-fix-w7.zip
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 3

Expert Comment

by:dramdrum
ID: 38736177
Contents of that file are pretty much the same as what is posted above.
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 38736326
@fmarshall - If you think there is a virus or other malware on your computer, run online Malwarebytes and scan the complete machine. That may get rid of the virues.

After scanning and any repairs, try the registry fix above and see what happens.

... Thinkpads_User
0
 
LVL 25

Accepted Solution

by:
Fred Marshall earned 0 total points
ID: 38738245
I ended up using this:
http://windows.microsoft.com/en-US/windows/answers?tId=b441d7c5-d9c0-4a51-99b5-2b69b5c7d107

At first I didn't because it was listed as for Vista only.  But then it was advertised as OK for Win 7 as well.

It worked.

I rather wish that I'd had an answer like dramdrum provided even though I can't understand all the lines there......  maybe it's even the same as what I used.  I can't tell.  Can anyone?
0
 

Expert Comment

by:Hassan36
ID: 38738890
it is as same as Dramdrum and my Solution.
0
 
LVL 25

Author Closing Comment

by:Fred Marshall
ID: 38762310
Perhaps both work....
0
 

Expert Comment

by:fogelberg
ID: 38976040
Using regedit, I imported the two files from the Microsoft website indicated in fmarshall's post on 1-2-2013 and it worked great.  The OS on the system I had a problem with was Win7 SP1.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question