I thought I'd post this since even though it was easy to find I had never heard of it before and I expect others will be looking for info on it as well.
I've been investigating a bizarre
issue with desktop icons that's been plaguing users here at the new job.
Here is what I found as well as an associated fix.
Info taken from here:
https://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/e5b19898-2f3d-4ebc-a539-bbf2d8c75351/
This is the response to a question
posed about desktop shortcuts mysteriously
disappearing:
This
is a well-known problem, which as it turns out is actually a kind of twisted
"feature" of Windows 7.
Basically, there's
a script that Windows 7 runs that regularly checks your desktop shortcuts and if
it finds more than 4 of them "broken" (i.e.,
pointing to something that's not available at the moment), it removes all the
"broken" ones!
I
guess Microsoft feels somehow responsible for helping you keep your desktop
clean. Perhaps this is a Good Thing for the non-technical people
in their commercials who think up things in the back of a
taxi.
This
is the script that governs this activity:
C:\Windows\Diagnostics\Scheduled\Maintenance\TS_BrokenShortcuts.ps1
If
you look in it, not too far from the end is a statement that compares the length
of the list of broken shortcuts to 4. It's the only occurrence of the numeral 4
in the entire script. If
you replace the 4 with a very large number, your problem should be
solved.
There is also a Support Article and
hot-fix from Microsoft that claims to fix the issue here: https://support.microsoft.com/kb/2642357
Here are scenarios that will trigger
this:
- You create five or more shortcuts on the desktop of a computer that is running Windows 7.
- These shortcuts are pointed to an external location. For example, the shortcuts are pointed to network resources or to removable storage devices.
- The computer is disconnected from the network where the network resources reside. Or, the removable devices are disconnected from the computer.
- You run the System Maintenance troubleshooter on the computer. (this also runs on a schedule)
The third item means ANY
disconnect. That means network congestion, server overload, IPSEC issues,
firewall issues, issues with the local PC that cause it to pause (CPU over
loaded or RAM overloaded). If you see the dreaded red X on your mapped drive that would indicate a disconnect.
The easiest way to fix
this problem is go to Control Panel; Action Center; Troubleshooting; click
Change Settings on the left hand side; then turn Computer Maintenance
off.
I found out that to edit the file (which is protected) you first need to take ownership of it (or the folder), then reset the permissions of the user/group you just gave ownership to to "full control". Once that's done you can COPY the file and paste a new copy, then delete the original and rename the copy using the old name. At this point you can edit it. I set the offending count to 499 and (so far) so good.
No comments:
Post a Comment