On my Windows 7 machine I can run something like:
schtasks.exe /Change /TN "MyTaskName" /Disable
But /Disable doesn't seem to be available in Windows XP – is there any way of disabling it from the command line?
command-line-interfacescheduled-taskwindows-xp
On my Windows 7 machine I can run something like:
schtasks.exe /Change /TN "MyTaskName" /Disable
But /Disable doesn't seem to be available in Windows XP – is there any way of disabling it from the command line?
Best Answer
The
/disable
switch is only a feature of Vista/7/2008R2/2012.You can simply rename the task
.job
file to "disable" it.In order to "enable" the task rename the
.bak
file to.job
: