Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 767
  • Last Modified:

windows 7 shortcuts become named *.lnk

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
Fred Marshall
Asked:
Fred Marshall
  • 2
  • 2
  • 2
  • +2
2 Solutions
 
John HurstBusiness Consultant (Owner)Commented:
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
 
dramdrumCommented:
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
 
Hassan36Commented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
dramdrumCommented:
Contents of that file are pretty much the same as what is posted above.
0
 
John HurstBusiness Consultant (Owner)Commented:
@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
 
Fred MarshallPrincipalAuthor Commented:
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
 
Hassan36Commented:
it is as same as Dramdrum and my Solution.
0
 
Fred MarshallPrincipalAuthor Commented:
Perhaps both work....
0
 
fogelbergCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now