{"id":978,"date":"2011-05-23T07:45:53","date_gmt":"2011-05-23T07:45:53","guid":{"rendered":"http:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/"},"modified":"2011-05-23T07:45:53","modified_gmt":"2011-05-23T07:45:53","slug":"disappearing-desktop-shortcuts-on-windows-7","status":"publish","type":"post","link":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/","title":{"rendered":"Disappearing Desktop Shortcuts on Windows 7"},"content":{"rendered":"<p>Had a bit of weird support query I wanted to blog about in case I need it again, it helps anyway else or for further comment!<\/p>\n<p>Client called as she\u2019d setup some shortcuts on her desktop to some files she uses on a regular basis and they had disappeared. <\/p>\n<p>I wasn\u2019t sure where they\u2019d gone, maybe she\u2019d deleted them by mistake, so put it down to one of those things and we re-created them and left it at that.<\/p>\n<p>She called me about a week later with the same problem. We re-created the shortcuts again and I setup auditing on the PC to track file deletes from the desktop.<\/p>\n<p>She called back about a week later with the same thing.<\/p>\n<p>After I\u2019d setup auditing I went away and did some more research and found this Microsoft support article,<\/p>\n<h3><a href=\"http:\/\/support.microsoft.com\/kb\/978980\" class=\"broken_link\">Desktop shortcuts disappear in Windows 7<\/a> (KB 978980)<\/h3>\n<p>Basically there is a \u201cSystem Maintenance Troubleshooter\u201d task that runs periodically and one of the areas of maintenance is to tidy up broken desktop shortcuts (a shortcut whose target doesn\u2019t exist). If it finds more than four broken shortcuts on the desktop it deletes them <strong>all.<\/strong><\/p>\n<p>The thing is as far as I could tell they weren\u2019t broken shortcuts \u2013 the missing shortcuts all pointed to files on the network but they were all accessible, she uses them on a daily basis!<\/p>\n<p>The annoying thing about this is the \u201cworkaround\u201d provided by the support article.<\/p>\n<p><strong>Method 1<\/strong> \u2013 Keep the number of broken shortcuts to four or less<\/p>\n<p><strong>Method 2<\/strong> \u2013 Disable the System maintenance troubleshooter<\/p>\n<blockquote>\n<p><font style=\"background-color: #ffffff\">Click Start and then click Control Panel<\/font><\/p>\n<p><font style=\"background-color: #ffffff\">Under System and Security click Find and Fix Problems<\/font><\/p>\n<p><font style=\"background-color: #ffffff\">On the left navigation pane click Change Settings<\/font><\/p>\n<p><font style=\"background-color: #ffffff\">Set Computer Maintenance to Off<\/font><\/p>\n<\/blockquote>\n<p>As far as I can tell the shortcuts aren\u2019t broken so how can I keep them to less then four!<\/p>\n<p>Disabling system maintenance is something I\u2019m not inclined to do either. <\/p>\n<p>So what to do instead?<\/p>\n<p>One option is to follow the <a href=\"http:\/\/www.ghacks.net\/2010\/03\/30\/fix-windows-7-desktop-shortcuts-disappearing\/\">details in this post.<\/a><\/p>\n<p>The system maintenance tasks are basically powershell scripts stored in <em><strong>c:\\windows\\Diagnostics\\Scheduled\\Maintenance<\/strong><\/em><\/p>\n<p>The scripts are viewable and after tweaking the permissions to allow you to edit them you can make any changes you like.<\/p>\n<p>The article suggests deleting a section of the code so that it will always return an empty list of broken shortcuts hence there will be nothing to delete.<\/p>\n<p>My preference is to change the parameter on the threshold for broken shortcuts as it\u2019s a little less drastic than chopping code out. <\/p>\n<blockquote>\n<p>if(-not([String]::IsNullOrEmpty($brokenDesktopShortcuts) -and [String]::IsNullOrEmpty($brokenStartupShortcuts)) -and (((Get-ListLength $brokenDesktopShortcuts) + (Get-ListLength $brokenStartupShortcuts)) -gt <strong>100<\/strong>))      <br \/>{      <\/p>\n<\/blockquote>\n<p>The bit in bold was 4 originally.<\/p>\n<p>The comments in the article have similar suggestions including a batch file you can use to do the whole thing for you. <\/p>\n<p>My only concern about this is that the scripts could be changed in a future service pack or software update and you\u2019d end up with the same problem.<\/p>\n<p>I also don\u2019t understand why the System Maintenance Troubleshooter has no configurable options other than \u201cOn\/Off\u201d.<\/p>\n<p>I haven\u2019t actually implemented this for the customer as I provided my own couple of workarounds to try.<\/p>\n<p>The first is that if you create a folder on the desktop and put the shortcuts in there the problem goes away entirely \u2013 it\u2019s an extra click so again this isn\u2019t always desirable.<\/p>\n<p>The second is that since this Windows 7 why not make use of the <a href=\"http:\/\/ibitsolutions.co.uk\/blog\/43-tips-and-tricks\/133-outlook-2010-and-windows-7\" class=\"broken_link\">\u201cJump Lists\u201d feature<\/a> \u2013 it\u2019s designed exactly with this scenario in mind! <\/p>\n<p>I ran through jump lists and she was very pleased with that as it was easier than having to navigate to the desktop to find the shortcuts. <\/p>\n<p>Anyone else come across this? Any other suggestions for something I\u2019m missing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Had a bit of weird support query I wanted to blog about in case I need it again, it helps anyway else or for further comment! Client called as she\u2019d setup some shortcuts on her desktop to some files she uses on a regular basis and they had disappeared. I wasn\u2019t sure where they\u2019d gone,<\/p>\n<p><a class=\"readmore\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/\"><span class=\"arrow-right icon\"><\/span>Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[95],"tags":[],"class_list":["post-978","post","type-post","status-publish","format-standard","hentry","category-windows-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Disappearing Desktop Shortcuts on Windows 7 - Andy&#039;s Techie Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disappearing Desktop Shortcuts on Windows 7 - Andy&#039;s Techie Blog\" \/>\n<meta property=\"og:description\" content=\"Had a bit of weird support query I wanted to blog about in case I need it again, it helps anyway else or for further comment! Client called as she\u2019d setup some shortcuts on her desktop to some files she uses on a regular basis and they had disappeared. I wasn\u2019t sure where they\u2019d gone,Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Andy&#039;s Techie Blog\" \/>\n<meta property=\"article:published_time\" content=\"2011-05-23T07:45:53+00:00\" \/>\n<meta name=\"author\" content=\"Andy Parkes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy Parkes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/\",\"name\":\"Disappearing Desktop Shortcuts on Windows 7 - Andy&#039;s Techie Blog\",\"isPartOf\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\"},\"datePublished\":\"2011-05-23T07:45:53+00:00\",\"dateModified\":\"2011-05-23T07:45:53+00:00\",\"author\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\"},\"breadcrumb\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/andyparkes.co.uk\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disappearing Desktop Shortcuts on Windows 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/\",\"name\":\"Andy&#039;s Techie Blog\",\"description\":\"Professional Geek\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\",\"name\":\"Andy Parkes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"caption\":\"Andy Parkes\"},\"description\":\"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.\",\"sameAs\":[\"http:\/\/www.andyparkes.co.uk\/blog\"],\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disappearing Desktop Shortcuts on Windows 7 - Andy&#039;s Techie Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/","og_locale":"en_US","og_type":"article","og_title":"Disappearing Desktop Shortcuts on Windows 7 - Andy&#039;s Techie Blog","og_description":"Had a bit of weird support query I wanted to blog about in case I need it again, it helps anyway else or for further comment! Client called as she\u2019d setup some shortcuts on her desktop to some files she uses on a regular basis and they had disappeared. I wasn\u2019t sure where they\u2019d gone,Read More","og_url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/","og_site_name":"Andy&#039;s Techie Blog","article_published_time":"2011-05-23T07:45:53+00:00","author":"Andy Parkes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Parkes","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/","url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/","name":"Disappearing Desktop Shortcuts on Windows 7 - Andy&#039;s Techie Blog","isPartOf":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#website"},"datePublished":"2011-05-23T07:45:53+00:00","dateModified":"2011-05-23T07:45:53+00:00","author":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d"},"breadcrumb":{"@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2011\/05\/23\/disappearing-desktop-shortcuts-on-windows-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/andyparkes.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"Disappearing Desktop Shortcuts on Windows 7"}]},{"@type":"WebSite","@id":"https:\/\/andyparkes.co.uk\/blog\/#website","url":"https:\/\/andyparkes.co.uk\/blog\/","name":"Andy&#039;s Techie Blog","description":"Professional Geek","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d","name":"Andy Parkes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","caption":"Andy Parkes"},"description":"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.","sameAs":["http:\/\/www.andyparkes.co.uk\/blog"],"url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pmvJ6-fM","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":0,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"wp:attachment":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}