Solved

windows 7 shortcuts become named *.lnk

Posted on 2013-01-01
9
746 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 92

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
 
LVL 3

Expert Comment

by:dramdrum
ID: 38736177
Contents of that file are pretty much the same as what is posted above.
0
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.

 
LVL 92

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now