How to open your computer for help: cmd. How to connect the computer through the command line: automatic completion of the robot

Situations often arise when you need to log into the computer, but there is no way to turn it off, for example, when a file is downloaded, a program quits, etc. Some programs, such as Nero or Flashget, have this function transferred. Let's take a look at the important ways to use your computer with the help of Windows.

Check your computer for the shutdown utility

The program starts via command row, So for the cob it’s time to open it - Start – Viconati – cmd or P usk – Usi programs – Standard – Command row. To recognize all command keys shutdown, enter її with the parameter /?

Keys for the shutdown command:
-i- Display of the graphical interface. This key is placed in front of everyone else.
-l- log out of the system. Crazy with the key -m.
-s- Vimknennya computer. - skasuvannya vikonannya perezavantazhennya/vimicannya.
-m A- Operation is limited to a remote computer with the same name A.
-t N- timer for each operation N seconds
-c “T” Commentary before surgery. When clicked, a comment will be displayed in the window T. It's hard for the command line to put it in double legs. I am not guilty of having been caught in 127 characters.
-f- Primus complete robotic program without any forward advance.
-d [u] [p]: xx: yy Reason code. u- Koristuvalnytsky code. p- Planned completion. XX- Main reason code (1-255). yy- Additional reason code (1-65535)

The command can be entered from any of the parameters. For example, for automatic connection computer in one hour, enter the command shutdown –s –t 3600, where 3600 is a number of seconds, which is equal to one year.



After entering the command, it is enough to press Enter You will be prompted about the completion of the work and the timer will start at the end of the hour.


You can enter the command again shutdown with a key -a .
The description of the method works in Windows XP and 7, but does not work in Vista.
Another option for this command is to enter the hour when the computer is connected in the format:
at hour shutdown –s
For whom the assignment will be given the assignment, you can find it in the list of assignment assignments: .



Vikoristannya script for your computer

Є preparations that allow you to give commands to the computer via indications hour. It’s enough to enchant it, unpack it and launch it. To be more handy, you can save it directly on your desktop so you can run the script when needed. After starting you need to enter the hour in seconds and confirm. Script to show up in the list of processes and after an hour enters the command shutdown Go to your computer.

Purpose of the task for the computer's use

To automatically configure the computer, you can enter it manually. Please note that if you need an administrator password and if you log in to the system without a password, you will have to set it in cloud records, or vikorystuvati proponovat methods.

We pass by the menu Start - All Programs - Accessories - Services - Task Assignments. A new item is being added and as an addition is indicated in the folder windows/system32 file shutdown.exe. As an option, you can select any additional option, and later enter the new path to shutdown.exe from the authorities. Then the hour of extinction is set. Let’s immediately move on to additional adjustments, where the key parameter is specified -s , turn on your computer.



You are instructed to appear at the list and when the specified time arrives, the scheduler issues the shutdown command.

Useful psshutdown utility for scheduling computer connections

The psshutdown utility, developed by Microsoft, can be used in tandem with shutdown. You can enter the PsTools utility set and, in addition to the computer being closed, allow you to put it into sleep or wake up mode, indicate exact hour It can be turned on up to an hour before shutdown, and also provides many other handy functions. The utility works on versions of Windows XP, Vista and 7.

Let's start and check that the installation is complete. After this, you can run the psshutdown command in the command line. The review of all keys, as well as analogues, is associated with the parameter /? When starting for the first time, you will need to confirm your entry to the program by pressing the button . The main keys of the psshutdown command are:
-k- open your computer
-n- how many seconds before the command is killed (maximum 20 seconds)
-r- restart your computer
-t- indicate the hour of celebration in the format of the anniversary: ​​hvilini
-a- interrupt the operation from the standby

We are very respectful, the key letters for this command are different from those previously looked at for shutdown. For the computer's vim value hour, for example, about another year's night, enter
psshutdown -k -t 02:00
As a result, the gate will be launched until it freezes, which will appear in the adjacent window on top of the window.



Sometimes in the process of turning on the computer, situations arise if the computer needs to be connected through the command line.

Vikoristannya shutdown

It’s easy to say that the set of shutdown commands is wide and allows you not just to quickly turn on the computer, but to restart it, turn it off after an hour and exit other actions.

There is also a command for the primus to complete the work at random, if the decision is still made to proceed and the computer is still in the switched-on state.

Starting the command row

To use shutdown, you need to launch the command line.

Why go to the Start menu or Windows menu For later versions, then open “All Programs”, the “Standards” section and click on the command row.

Another way is to launch the Windows program by pressing the Win and R buttons on the keyboard for an hour and entering the cmd.exe command there. If you don’t want to press Enter on the keyboard or just press the OK button on the window. There are several ways you can treat your baby 1.


Introduction of instructions

  • s – turn on the computer;
  • r – restart your computer;
  • a – pripiniti vymknennya computer;
  • f - Primus's computer.

Then the command for a simple computer view is like this:

shutdown -s

The command entered appears as shown in figure 2.


Special instructions

In addition to all this, the shutdown command contains a set of special instructions. The stench looks like this:

  • i- Display on the screen of information about this set of commands;
  • l- Exit this menu;
  • m\\- Actions from a remote computer;
  • t[the hour in which the computer will be connected] – the connection in the next hour;
  • d– computer cause code.

The remaining command is entered using the parameters of the koristuvach code ( u), planned completion code ( p), main reason code ( XX) that additional code (yy) in this format:

[u][p]:xx:yy

Since there are commands to control a remote computer, the example of entering it looks something like this: as you can see about entering an IP address -

shutdown -m\192.168.1.1;

How your computer connects and is visible to your name –

shutdown –m\\komp1.

The command to winknennya after a singing interval of an hour is entered approximately like this:

shutdown -t 25 .

This means that the computer will turn off in 25 seconds. A description of all these commands can be found by clicking on the information to use the command

shutdown -i.

You can enter a whole set of commands in the same row.

For example, to connect a computer with IP address 192.165.3.4 after 45 seconds, you need to enter:

shutdown –s –t 45 –m 192.165.3.4.

Figure 3 shows what the introduction of these instructions looks like.


Q commands can be entered using a dash (-) and th commands using a slash (/). In this case, everything looks like this.


Small 4. Entering instructions using a slash

Nowadays people spend a lot of time at the computer. It’s easy to take your laptop with you, put on a movie and fall asleep under it. In such situations, it is necessary to know a way to program the computer's control over the timer. You can go to bed or go somewhere, and the PC itself will shut down.

Yak turn on the computer in a song hour

This method of removing a PC and ending the work is encouraged by everyone Windows versions. You don't need to install any additional software, you just need to set system parameters and set the hour. Run the shutdown command through the command line on the computer. Algorithm of offensive actions:

  1. Click on the “Start” menu, select the “Accessories” tab, and in Win10 – “Services”.
  2. Find the “Command Row” row. Right button Click on them and select run with administrative rights.
  3. In the window, first write “shutdown/?”, then press Enter. Check out the list of successful candidates possible ways vikoristannya of this command. You can choose to re-engage, hide, or switch to sleep mode.
  4. To complete the robotic system, the symbols “s” and “t” are needed. The remaining argument is the hour after which the connection will occur in seconds. The formula should look like this: shutdown - s - t 7200. According to this, the result will appear in 2 years. You will need to be systematically notified of the hour that you will be unable to complete your work, as shown in the photo below.
  5. You can also launch the command row using the additional key Win + r, enter cmd in the search row, and then press the Enter key.
  6. If you immediately need to delete the shutdown timer, write “shutdown – a” and Enter.

How to set a timer on your computer's computer

Cream of the command line, the task can be set for the additional program-vimikach or the planner of the task. The remaining functionality is included operating system. For this adjustment, you need to check out the following actions:

  1. Access to the functionality can be accessed using the “Start” button. In the list of programs you will find “Zavdan Planner”.
  2. Create a new page that is connected to your PC, after installation hour. Click “Create a simple task.”
  3. Come up with a name for this idea and click “Next”.
  4. In the window you need to set the frequency of the application. After the timer has run just once, select “One time”. It is necessary to cancel the word “Shodnya” - “Shodnya”.
  5. Then you will be prompted to register the program and enter the date of application and the exact time the PC was connected.
  6. At this stage it is necessary to indicate that the planner will be given the task. In this case, select the “Run program” item correctly.
  7. Enter the command name for Vikonanny – shutdown. Below, enter the parameters for it: /s – PC wattage, /t – timer for seconds.
  8. Save all data and the task will be created. Click "Done".


If you don’t want to worry about transferring seconds to numbers, you can download ready-made programs from the Internet to complete the system’s work. If you have public access, you just need to download the exe file and install the program. The axis of use of the most extensive options for such add-ons:

  1. Airytec Switch Off. A simple system utility that allows you to enter your sleep time. The functionality is sparse, but it works correctly, and it’s easy to set up a computer command.
  2. Power Off. A more advanced version of such software has a great range of customizable functions. This advantage can be called a short program. Lack of understanding of the user can immediately contact the PZ interface.

Video: computer auto-signing for tasks