Solved

windows 7 shortcuts become named *.lnk

Posted on 2013-01-01
9
745 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 90

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 90

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

After playing around with my ASUS 1215n (http://www.asus.de/product.aspx?P_ID=HrglRhH8D60Rmlv3) Netbook, I finally managed to get smooth HD 1080p (http://en.wikipedia.org/wiki/1080p) playback of videos on it. Second Generation Intel Atom (http://en.…
When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

708 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

14 Experts available now in Live!

Get 1:1 Help Now