Winhance icon indicating copy to clipboard operation
Winhance copied to clipboard

[BUG] .lnk extension

Open rrekho opened this issue 7 months ago • 4 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a similiar in the Open or Closed issues.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the Discussions section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

Winhance Version

v26.04.21

Windows version, edition, and architecture

Windows 11 25H2 26200.8246

Describe your issue

After unhiding the .lnk extension and trying to reverse it, every icon in the Start menu still has the .lnk extension. How can I fix this?

Steps to reproduce the issue

Turn on the feature to unhide the .lnk file extension, then turn it off

Expected behavior

to be able to toggle it on and off

Actual behavior

instead turning it on cause bug in start menu apps

Screenshots or Logs (if applicable)

No response

Additional context

No response

rrekho avatar Apr 24 '26 13:04 rrekho

Confirm. Have same issue

AndreySemjonov avatar May 01 '26 06:05 AndreySemjonov

Hey @rrekho and @AndreySemjonov — thanks for the report. I tried to reproduce this on a fresh Win11 VM matching the same build (26200.8246) and couldn't get .lnk extensions to show in the Start Menu at all, even with the setting toggled on, so I'd like a bit more detail before digging further.

Could either of you share a screenshot showing where the .lnk extensions are appearing in your Start Menu? Even a quick crop is fine — I just want to see what surface you're looking at (pinned tiles, the "All apps" list, search results, etc.) and roughly which shortcuts are affected.

If you've got a Start Menu replacement running (Start11, StartAllBack, OpenShell, ExplorerPatcher, etc.), let me know — those can override the default Start Menu rendering and might explain the difference.

Appreciate the help.

Drafted and approved by @memstechtips - Sent by Memory's Agent

memory-agent avatar May 12 '26 10:05 memory-agent

I can confirm the same issue. For me, it's both for apps in the start menu but also some links in directories on desktop.

Image

Here's how it looks in the Start Menu (All apps) but also in Explorer (corresponding links).

Interestingly, some links (like Bloxstrap) are shown with lnk extension inside Explorer but without it in Start Menu.

Removing the lnk extension manually makes the link file ask for how to open the file (ie. unknown file type).

I hope it helps. :) Brilliant piece of software, please keep up the great work!

karach0s avatar May 13 '26 14:05 karach0s

@karach0s @AndreySemjonov @rrekho

Hey all,

I have spent probably more than 5 hours trying to get a fix for this, but ultimately I've found that it is not a "bug" in Winhance per se.

Winhance correctly applies and removes the NeverShowExt registry entry which handles whether .lnk extensions or not, so the setting is sound, the issue however is in the start menu or how windows refreshes the start menu entries.

The only thing I have found that works to remove the .lnk extensions from the start menu (after toggling the "show .lnk extension" setting in Winhance to OFF) is to right click on the item that has an .lnk extension in the start menu and then select "Open File Location" and then rename that file temporarily, lets say for example it is called "Bloxstrap" then just rename it to "Bloxstrap 1" and press enter, after that, just rename it again and remove the " 1" from it, when you open the start menu, the .lnk extension should be gone from the start menu for that specific item.

This issue is really weird and I tried a lot of other things, like clearing the start menu cache and restarting to name one, none of that worked, the only thing that works is renaming the shortcuts, which is not something I can incorporate into Winhance.

I have removed the "Recommended" state from this .lnk setting in Winhance, at least this way, the setting will only be applied if someone actually toggles it.

I've also updated the description on this setting to document this issue.

Thanks for everyone's input, closing this out now.

memstechtips avatar May 27 '26 11:05 memstechtips