Automatically restart client stopped bes clients using taskscheduler

(imported topic written by Lisa_Brown91)

this was run and inadvertently set to reapply when revelant again. It was noticed multiple scheduled tasks were created, some systems may have 15 or more of these listed. The action was stopped and the clients restarted so hopefully the will solve it.

Does anybody have a task or fixlet to remove them off the computers? All of the are listed as at1 at2 at3 so on

any help would be apprecitated

(imported comment written by BenKus)

Hey Lisa,

I don’t have good relevance for you to detect the situation, but you can make a Custom Action that has the script:

waithidden cmd.exe /C at /delete

This will delete all the “at” scheduled tasks… alternately you could do something like:

waithidden cmd.exe /C at 1 /delete

waithidden cmd.exe /C at 2 /delete

waithidden cmd.exe /C at 3 /delete

waithidden cmd.exe /C at 4 /delete

waithidden cmd.exe /C at 5 /delete

waithidden cmd.exe /C at 6 /delete

Ben