Home > OS >  Automatic shutdown command is not working at XX shutdown - s, solving
Automatic shutdown command is not working at XX shutdown - s, solving

Time:09-24

Want to set up automatic shutdown, wrote a batch:
@ Echo off
Echo y | at/del
The at 22:00 shutdown -s
After running some computer use, and some computer bad to use,

I have confirmed that the task Schedule service is open, in the DOS environment input "at" command view also have regular shutdown, the task but not after the time automatically shutdown, enter again "at" command view, regular shutdown task was gone,
Excuse me what reason be? How to solve?

CodePudding user response:

Should be the format I normally use the wrong timing shutdown is shutdown ˉ s _t 10

CodePudding user response:

Seemingly home edition is not can use the AT command!

CodePudding user response:

reference 1st floor qq_30244893 response:
format should be at ordinary times I use the wrong timing shutdown is shutdown ˉ s _t 10

Many computer format no problem, I unit, in large part to use

CodePudding user response:

refer to the second floor hushoufu response:
seems home edition is not can use the AT command!

But there are a lot of success ~

CodePudding user response:

Try the computer shutdown - s can run directly off no,

CodePudding user response:

Whether can be combined with the -f parameter, whether on or off to run the program, are forced to turn it off?

CodePudding user response:

May be run permission problems, open the administrator to add a review

CodePudding user response:

Meet the same problem, system is Windows 7 flagship version.. Welcome to master answer,

1. Task Schedule service has been open,
2. In the DOS environment input "at" command view also have regular shutdown, the task
3. But after time does not automatically shut down, again "at" command view, regular shutdown task was gone,

Excuse me what reason be? How to solve?

CodePudding user response:

The at command seem don't support behind the command parameters, try shutdown - s - t 0 to make a batch. Bat file, and then at the batch,
Earlier also encountered this problem, just like this solution; Windows 7 system,