Press "Enter" to skip to content

lnkfile shortcuts can **** a ***

In the case that you’re an idiot (much like myself) and change the association of the .LNK file extension (lnkfile):

1) This is for those who cannot double-click to open a .LNK shortcut file, nor can they use the context right-click menu to create a new Shortcut.

2) It’s easy to fix when you realize CLSIDs are the most important part.

3) You can download this from http://vpoet.net/lnk.reg

4) You can just place this in Notepad, beginning with the Windows Registry… and save as a .REG, then import/double-click (make sure to add a blank line at the end via Enter):

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.lnk]
@=”lnkfile”

[HKEY_CLASSES_ROOT.lnkShellEx]

[HKEY_CLASSES_ROOT.lnkShellEx{000214EE-0000-0000-C000-000000000046}]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOT.lnkShellEx{000214F9-0000-0000-C000-000000000046}]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOT.lnkShellEx{00021500-0000-0000-C000-000000000046}]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOT.lnkShellEx{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOT.lnkShellNew]
“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”=””

[HKEY_CLASSES_ROOT.lnkShellNewConfig]
“DontRename”=””

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}]
@=”Shortcut”
“DisableProcessIsolation”=dword:00000001
“AppId”=”{00021401-0000-0000-C000-000000000046}”
“LocalizedString”=hex(2):40,00,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,35,00,30,00,31,00,39,00,37,00,00,00

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}Elevation]
“Enabled”=dword:00000001

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}InProcServer32]
@=”shell32.dll”
“ThreadingModel”=”Apartment”

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}PersistentAddinsRegistered]

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}PersistentAddinsRegistered{89BCB740-6119-101A-BCB7-00DD010655AF}]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}PersistentHandler]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}ProgID]
@=”lnkfile”

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}shellex]

[HKEY_CLASSES_ROOTCLSID{00021401-0000-0000-C000-000000000046}shellexMayChangeDefaultMenu]

[HKEY_CLASSES_ROOTlnkfile]
@=”Shortcut”
“EditFlags”=dword:00000001
“FriendlyTypeName”=”@shell32.dll,-4153”
“IsShortcut”=””
“NeverShowExt”=””

[HKEY_CLASSES_ROOTlnkfileCLSID]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOTlnkfileshellex]

[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlers]

[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlersOpenContainingFolderMenu]
@=”{37ea3a21-7493-4208-a011-7f9ea79ce9f5}”

[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlers{00021401-0000-0000-C000-000000000046}]
@=””

[HKEY_CLASSES_ROOTlnkfileshellexDropHandler]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOTlnkfileshellexIconHandler]
@=”{00021401-0000-0000-C000-000000000046}”

[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlers]

[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlersShimLayer Property Page]
@=”{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}”

[HKEY_CLASSES_ROOTSystemFileAssociations.lnk]
“FileOperationPrompt”=”prop:System.ItemType;System.FileOwner;System.Author;System.Title;System.Subject;System.Comment;System.DateModified;System.Link.TargetParsingPath”
“FullDetails”=”prop:System.PropGroup.Description;System.ItemType”

Be First to Comment

musings & scribbles