在命令中输入下面


创建任务:SCHTASKS /Create /SC DAILY /TN "stop" /TR "shutdown -s -t 00" /ST 22:00

解除任务:schtasks /delete /tn "stop" /f