I think it may only check the currently logged in desktop?
The task runs at 1am on Sundays (or whenever the PC is next started after that time) but it also waits until the PC has been
idle for 10 minutes before it runs - hence why it so often seems to happen 'randomly' after people resume their PC from sleep mode. It's not random, it's actually the next bootup after 1am on Sunday and after 10 minutes of idle time. Disabling
it in the Task Scheduler (see previous post) should stop it happening.
If you want to check it manually on your machine (and see what else this tool does, which isn't much useful apart from maybe checking for disk volume errors) then do the following:
- Control Panel > (System and Security) Find and Fix Problems > (System and Security)
Run Maintenance Tasks.
- Click on the 'Advanced' link and untick "Apply repairs automatically", then click on
Next to start the scan.
3) When the scan is finished, click on 'View Detailed Information' to see what it would do to your system if you let it (click on
Broken Shortcuts for a list of things it plans to remove).
- Obviously Cancel at the end rather than running the delete option!
On my machine, all desktop shortcuts to any network shared locations and/or mapped drives are removed (not only when the link cannot be accessed, even currently active shared folder or mapped drive shortcuts vanish).
This is quite clearly a bug in the Windows process - which is
C:\Windows\System32\sdiagnhost.exe by the way - but I don't know who to report it to.
Andre