Windows 7 Desktop Icons Disappear
Issue:
- Icons on my Windows7 desktop disappear
Microsoft Information:
- This is by design
- Recommended (Keep the number of broken shortcuts on your desktop to four or less.)
- OR – Disable System Maintenance
- URL: http://support.microsoft.com/kb/978980
Other Information:
1. Easy solution to shortcuts disappearing… create a folder on your desktop called Shortcuts and put all your desktop shortcuts in the folder. Then “send” the shortcuts back to your desktop from the folder. Now they won’t disappear because they are linked to the desktop not to the correct location.
2. PowerShell Amend
- Navigate to “%SystemRoot%\diagnostics\scheduled\Maintenance”.
- Take ownership of the file “TS_UnusedDesktopIcons.ps1” (else you will not have the permission to modify the file)
- Comment out (with a #) the line 32 ($list = AttachTo-List $list $wmiLinkFile.Name)
- Save…
BAT FILE FIX
@echo ************************************* @echo ** REMEMBER : Run as Administrator ** @echo ************************************* @pause %SystemDrive% cd \Windows\diagnostics\scheduled\Maintenance takeown /F TS_BrokenShortcuts.ps1 icacls TS_BrokenShortcuts.ps1 /grant "%USERNAME%":F @echo “” @echo ***************************************************************** @echo ** Search for '-gt 4' and replace with '-gt 400' and then SAVE ** @echo ***************************************************************** @echo "pess to edit file" @pause notepad TS_BrokenShortcuts.ps1
No comments yet.