How to make a command that automatically shuts down when the computer is turned on

Updated on technology 2024-02-09
13 answers
  1. Anonymous users2024-02-05

    There's a very simple way to do it.

    Here are the common shutdown commands:

    Windows XP shutdown is program-controlled and is located in the Windows System32 folder. If you want Windows 2000 to do the same, you can copy it to the system directory.

    For example, if your computer wants to shut down at 22:00, you can choose "Start Running" and enter "at 22:00 shutdown -s", so that at 22:00, the computer will appear "System Shutdown" dialog box, which has a 30-second countdown by default and prompts you to save your work.

    If you want to shut down in a countdown mode, you can enter "-s -t 3600", here it means it will automatically shut down after 60 minutes, and "3600" means 60 minutes.

    In addition, if you enter "shutdown -i", you can open the Set Auto Shutdown dialog box and set the auto shutdown.

    Each of them has a specific purpose, and each one will have a different effect, such as "-s" means shutting down the local computer, "-a" means canceling the shutdown operation, and more parameters are listed below, which you can use as needed.

    f: Forcibly close the application.

    m Computer Name: Controls the remote computer.

    i: Displays the graphical user interface, but must be the first option for shutdown.

    l: Log out of the current user.

    r: Shut down and restart.

    c \"The content of the message": Enter the message content in the shutdown dialog box (no more than 127 characters).

  2. Anonymous users2024-02-04

    It may not be canceled, because the designer must think of yourself once you regret it, I think what you want is hidden, you can try Qianqian Jingting, you must have Qianqian Jingting, open Qianqian's option (that is, the first one to right-click on the window frame) and then open the window is --- regular --- there is an automatic shutdown in it Set the time on the line

  3. Anonymous users2024-02-03

    If others can't cancel it, you have to find the relevant software!

    However, most of the software on the market today cannot do it.

    The shutdown program that comes with this unit can also be canceled!

    Or, you get a programmer to make one, with a password!

  4. Anonymous users2024-02-02

    First, let someone else log in as a user, not a power user;

    The specific operation method is to create a new user, you can take the name yourself, but the permission must be user permission, and there is no permission to shut down.

    Second, use remote control shutdown (timed shutdown);

    LAN assistant with remote shutdown function.

    There is no way for others to cancel your command, but they can still choose to press the power button to turn it off.

  5. Anonymous users2024-02-01

    Add one to the scheduled task.

    Open the scheduled task in the control panel, click Add, according to the wizard, click Browse in the running program, find it in C: Windows System32), OK, change the shutdown to shutdown -s -t 7200, select Daily, Next, select the appropriate time, and ,.. Nextto completion.

  6. Anonymous users2024-01-31

    Start-Run-Enter cmd-Enter at 9:00 (time to shut down) shutdown -s

    at 9:00 shutdown -s

    Cancel is shutdown -a

  7. Anonymous users2024-01-30

    It's too hard, do you find a password shutdown software and get it soon?

  8. Anonymous users2024-01-29

    Look at the settings inside the control panel.

  9. Anonymous users2024-01-28

    Note: It takes more than 5 minutes to set the automatic power on and off later than the current time.

  10. Anonymous users2024-01-27

    If you are using a Huawei phone, you can do it by doing it here:

    1.Go to Settings > Auxiliary Functions > Timer Power On/Off and turn on the Timer Power On/Off switch.

    2.Set the boot time and recurrence period. The system will automatically power on at the set time.

  11. Anonymous users2024-01-26

    1. Press the DEL button on boot to enter the BIOS program screen.

    2. Select the "PowerManagementSetup" option.

    3. Change the value of "mousepoweron" to "enabled".

    4. Set the timer to start up.

    5. Press the F10 key on the keyboard to save and exit the BIOS, and the setting is complete.

  12. Anonymous users2024-01-25

    It can be set in the task scheduler to set up auto-power:

    1. Right-click on this computer and select Manage to enter the page.

    2. System tools, click on the task scheduler, and click Create Basic Task on the right.

    3. In the pop-up window, enter the name and description in the page, Next, select the time point in the trigger, Next.

    4. Select the start time, every few days, Next, click Start Program, Next.

    5. Enter startup in the program or script box, startup means boot, enter -s in the add parameters, next step.

    6. After confirming that it is correct, click Done.

    Set up automatic power off:

    1. Right-click on the computer, select Properties, and enter the page.

    2. Click on the home page of the control panel and change the viewing method to a large icon.

    3. Select Management Tools, double-click Task Scheduler, click Actions in the upper left corner, and select Create Basic Task.

    4. Enter a name and description on the Create Basic Task page, and click Next.

    5. Select the shutdown time point on the page where you want the task to start, and click Next.

    6. Set the start time, every few times, click Next, select the startup program, and click Next.

    7. Select the shutdown program in the program or script, enter -s in the Add Parameters, click Next, and click Finish after confirming that it is correct.

  13. Anonymous users2024-01-24

    Here's how:

    2.Right-click the cmd icon and select Run as Administrator in the context menu;

    3.The User Account Control dialog pops up, and a warning appears because administrator privileges were used in the previous step;

    4.A command window pops up, where you type shutdown ?After that, press Enter;

    5.The command window gives us a lot of text information, and here we need to focus on the two messages that are checked in red in the figure below. These two pieces of information are explanations of command parameters;

    6.Enter shutdown s t 10, and the shutdown dialog box will pop up. The meaning of s is shutdown. And the number after t means how many seconds after the shutdown.

Related questions
15 answers2024-02-09

In the case of XP systems, there are files in XP.

That is to say, if that machine has it, that machine can execute this order. >>>More

6 answers2024-02-09

First of all, whether you are an interesting woman or an interesting man, you must learn to read. People who read books are really interesting. I once knew a girl who came from a scholarly family, her parents were both university professors, and she started reading from a few years old until she was in her twenties, and every night when she went home and washed up, she had to read for two hours, and she took out a book from her bag to read in her free time. >>>More

25 answers2024-02-09

Distinguish what you should do and what you shouldn't do, and use your achievements to repay your parents.

11 answers2024-02-09

You should look at the secret of a gentleman, usually speak and act in an atmospheric and mostly way, so that you can be more masculine. Read more literary masterpieces and don't read those bubble literature. A lot of boys love anime, but they also like masculine sports like basketball and football. >>>More

31 answers2024-02-09

Being yourself is the most important thing, and it's good to have a clear conscience.