The reason this happens obviously from previous reply's, is that Windows 7 does not allow more than 4 "Broken Shortcuts" on your desktop. If you have more than 4, when the troubleshooter runs its weekly check it deletes them all. (We have users that have
15+ shortcuts) This was a big problem. A lot of forums advise to turn the troubleshooter off. For those of you who don't want to disable the troubleshooter........Here is a solution. This fix will allow you to keep the troubleshooter enabled and put as many
shortcuts on your desktop as you want and they will never be deleted by the troubleshooter.
- Click Start
- Click All Programs
- Click Accessories
- Right-Click Command Prompt
- Click Run as administrator
- In the command prompt type the text below. This command takes ownership of the
TS_BrokenShortcuts.ps1 file. (You can copy and paste)
Takeown /F C:\Windows\diagnostics\scheduled\Maintenance\TS_BrokenShortcuts.ps1
- Press "Enter" You should get the message below.
SUCCESS: The file (or folder): "C:\Windows\diagnostics\scheduled\Maintenance\TS_BrokenShortcuts.ps1" now owned by user "XXXXXXX".
- In the command prompt type the text below. This command gives you full permissions to the
TS_BrokenShortcuts.ps1 file. (You can copy and paste but make sure you change
"USERNAME" to your user name)
icacls c:\windows\diagnostics\scheduled\maintenance\TS_BrokenShortcuts.ps1 /grant USERNAME:F
- Press "Enter" You should get the message below
processed file: c:\windows\diagnostics\scheduled\maintenance\TS_BrokenShortcuts.ps1
Successfully processed 1 files; Failed processing 0 files
- Close the command prompt box
- Click Start
- Click Computer
- Double Click the C: drive
- Double Click Windows
- Double Click diagnostics
- Double Click scheduled
- Double Click Maintenance
- Right-Click TS_BrokenShortcuts
- Click Edit
- Go to line 44. The very end of line 44 should look like this
)) -gt 4))
- Change the 4 to any number you want. I used the number 500. By doing so, the user would have to have 501 or more broken shortcuts on the desktop in order for the trouble shooter to delete them.
****22. Click Save****
- Close the window
DONE!
Hope this helps!! =)