January 8, by Rhyley Bryan. Table of Contents. What is the general formula for heat conduction? How is DateDiff calculated? If only I had done that earlier! Just an update… what I tried did not work. Thankfully I now have up to date copy of my desktop using Fences. I created the following batch file to help based on the article and comments above.
Save the following text with a. Just an FYI — Your write up helped me develop a script for automating the patching of the power shell scripts. Thanks soo much! I have the disppearing icons issue as well: 1. I backed up the user dir. After rebuliding the workstation I restored the the user dir. Everything was perfect till the next morining, the icons where gone.
Is this the same issue as above? Did anyone try just disabling desktop cleanup via GPO? I have not had this issue and have been using Windows 7 since it was released.
One of the first things Idid was disable desktop cleanup because I feel it is useless. I know there is a setting in GPO for this. Wondering if this is changed to force disable that function if it would resolve? From the looks of the solution proposed it should. Yeah, we disabled it via GPO because modifying the script may work for some time but revert back to its original state with windows update or other ways.
I created a shortcut to a folder on a network drive, then put all my shortcuts in that. How about a fix that actually makes the broken-icon deletion function properly. It would look something like this suedo code:. As system changes will be effected to your operating system be aware that it might not work in your instance.
Best thing about it is that the shortcut folder is on my NAS meaning I can access them from any computer. Arguments 2. ReadAll objFile. WriteLine strNewText objFile. You can modify this path to be anywhere accessible to your clients. I have similar problems with shortcut icons occasionally disappearing from my desktop. There is plenty of room there, and they were displayed OK there before.
In my case, I have one user out of about 50 who logs into terminal services with a roaming profile. His desktop is completely empty when he logs in, even though the Desktop folder in his profile has them all there.
If I try adding a file or folder to the desktop, all of the icons will spontaneously reappear. Today I deleted the desktop. A year later that coworker complained again and I discovered that both computers were back to saying GT 4. Clearly windows update restored the disgusting MS code. I will wait a week and see if this fix works.
Microsoft's original answer is a bit annoying. Unfortunately, there are valid reasons to run the maintenance scripts, and disabling them just to save Desktop shortcuts is a bit overkill. I found that I can modify the two scripts that are responsible for deleting the shortcuts, buy commenting out the sections that apply directly to broken and old shortcuts.
About 9 lines in each script. The problem comes when you do a service pack install. These system files are restored to original, or at least updated, resulting in maintenance clearing up icons again.
I then discovered a neat registry entry to fix this problem. You can set up GP to send out these registry entries. I pulled this from Microsoft's revised directions. See the attached word file. I applied the latest fix it and then went in and did the registry edit as well. Time will tell on this repair, will wait and see if the user reports the same problem again.
The System Maintenance troubleshooter performs a weekly maintenance of the operating system. You should immediately see your icons reappear. From there, you might be able to unhide apps. The options will vary depending on your device or launcher app.
0コメント