{"id":53,"date":"2015-01-15T13:15:56","date_gmt":"2015-01-15T13:15:56","guid":{"rendered":"http:\/\/gkokot.com\/?p=53"},"modified":"2022-02-03T18:10:31","modified_gmt":"2022-02-03T18:10:31","slug":"how-to-reset-lnk-file-type-associations","status":"publish","type":"post","link":"https:\/\/gkokot.com\/?p=53","title":{"rendered":"How to reset .lnk file type associations"},"content":{"rendered":"<p><a href=\"https:\/\/gkokot.com\/wp-content\/uploads\/2015\/01\/windnew.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20\" src=\"https:\/\/gkokot.com\/wp-content\/uploads\/2015\/01\/windnew.png\" alt=\"windnew\" width=\"120\" height=\"26\"><\/a>On the start menu, every short-cut on your desktop looks like a text file (or other application file) and double clicking it try to opens associated application without success.<\/p>\n<p><a href=\"https:\/\/gkokot.com\/wp-content\/uploads\/2015\/01\/lnk-extension-associated-notepad.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-54\" src=\"https:\/\/gkokot.com\/wp-content\/uploads\/2015\/01\/lnk-extension-associated-notepad-239x300.png\" alt=\"lnk-extension-associated-notepad\" width=\"239\" height=\"300\" srcset=\"https:\/\/gkokot.com\/wp-content\/uploads\/2015\/01\/lnk-extension-associated-notepad-239x300.png 239w, https:\/\/gkokot.com\/wp-content\/uploads\/2015\/01\/lnk-extension-associated-notepad.png 403w\" sizes=\"(max-width: 239px) 100vw, 239px\" \/><\/a>&nbsp;This can be solved by removing the .lnk association and associating lnk to \u201clnkfile\u201d with a command.<\/p>\n<p>Please follow steps:<\/p>\n<ol>\n<li>Open regedit and delete the following keys<br \/>\n<em>HKEY_CLASSES_ROOT\\.lnk<\/em><br \/>\n<em>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.lnk<\/em><\/li>\n<li>Open a command-prompt with admin privileges (run as administrator)<br \/>\nEnter and execute the following command:<br \/>\n<em>assoc .lnk=lnkfile<\/em><\/li>\n<\/ol>\n<p>All short-cut files should be now restored to their original icons and you\u2019ll be able to open them normally.<\/p>\n<p>Solution based on excellent post in &nbsp;<a href=\"%20http:\/\/jesin.tk\/delete-file-association-windows-7\/\">http:\/\/jesin.tk\/delete-file-association-windows-7\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the start menu, every short-cut on your desktop looks like a text file (or<a class=\"readmore btn btn-info\" href=\"https:\/\/gkokot.com\/?p=53\" rel=\"nofollow\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":54,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-apps"],"_links":{"self":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":5,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions\/192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=\/wp\/v2\/media\/54"}],"wp:attachment":[{"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gkokot.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}