1

My issue exists in another question here. I'm wondering whether it's possible to activate a scheduled task on one server from the command line of another server. I do not want to use psexec as it is known to be an enabled of malware and viruses. Does anyone know if this is possible?

1 Answer 1

5

You can use the the commands below to stop and start tasks remotely.

Stop:

schtasks /end /s <machine name> /U Username /P password /tn <task name>

Start:

schtasks /run /s <machine name> /U Username /P password /tn <task name>
1

Not the answer you're looking for? Browse other questions tagged or ask your own question.