Currently, modern operating systems from Windows work in conjunction with a user account.

Thanks to this feature, you can recover your password, restart your computer remotely, and perform many other commands without being directly near your PC.

How to use such a function and why it may be needed - this is described in this article.

Remote administration

There are a number of programs for remote administration computer.

Such software allows, if available on another PC, to carry out full remote access to the device.

That is, you can simply open the Desktop of one computer from another, and if there is Internet on both devices, perform any actions on it, including rebooting.

Then it is performed in the usual way - from the Start button or using the command line.

But in reality, quite a small number of users have a remote administration program.

Although, if this situation occurs repeatedly, then it is worth downloading and installing such software.

Settings

To reboot the device with this type of administration, follow the algorithm:

  • Download remote computer;
  • If the download went well, then go to the Start menu and type services.msc (this option is only suitable for operating system versions 8, 8.1, 10);
  • If the version of the operating system is older, then hold down the Win + R keys on the remote computer and call the Run window;
  • In its input field, type the required (same) combination;
  • Press Enter;
  • A list of services on the remote PC will open - find the Remote Registry in it and double-click on it with the left key;

  • Go to the General tab in the window that opens;
  • Select Launch;
  • Thus, you have started this service for the current session;
  • Now you need to configure this service to start automatically every time the device starts;

  • To do this, in the Startup mode field, expand the drop-down menu and select Automatic in it;
  • Click OK and close the window;
  • Now again return to the list of services on the remote PC and find the Terminal Service in it;
  • Repeat for this service all points from 6 to 12;
  • Now the main services are ready for remote work, and you can control your PC from a distance.

Also, make sure that the user you're using on the physical PC has been added to the Administrators group on the remote computer you're trying to restart. Otherwise, the reboot will fail.

Operation

After your computer is configured for remote work (that is, the two necessary services for this, described in the example above, are enabled), you can directly reboot.

To do this, follow the algorithm:

  • Launch the remote administration program on the physical PC you are working on;
  • Connect to the computer you want to restart;
  • Run command line cmd combination entered in the Run menu window or in the search bar;
  • A command prompt will open;
  • In it enter the command shutdown -r;

  • After that, add the appropriate attributes indicating which device should be rebooted: /m\\computer_name, where computer_name- the name of the device you want to reboot, written in Latin, without spaces;
  • Press Enter;
  • After that, you can close the command line.

Reboot occurs exactly after 60 seconds. There is no way to set it up before this time. At the same time, if someone is working on a remote computer, then a reboot notification will be immediately shown for him so that he can save his data, but he will not be able to postpone or completely cancel the reboot process.

There is another, more complex, but more advanced option - instead of shutdown -r dial shutdown -i.

In this case, a special separate terminal will open, with which you can configure the reboot data and save a record about it in the log.

But such the way is fine only to those who really understand what they are doing.

Programs

In practice, it is not necessary to have installed programs for remote administration and command line console skills. It's inconvenient and takes a long time.

If such manipulations with a PC have to be carried out quite often, then it is easier to download and install the appropriate program on it, with which you can carry out a number of manipulations.

Lan Shut Down 4.0simple utility to perform basic remote administration functions, consists of only two files - one is placed on a remote computer, and the other on the one from which you will work. With this software, you only need to make one click to turn on or off the remote device.

Also, this software works great as an addition to any remote administration program.

If earlier the ability to reboot was not available in it, now it is enough to run both utilities together and hold down Alt + F4.

After that, a standard window will open for rebooting the remote PC.

Software for remote administration

Much has been said above about programs for remote PC administration, with the help of which you can boot, reboot or turn off the device.

But what are these programs?

It is important to navigate at least a little in them if a remote reboot is periodically needed, and they need to be installed.

The table below shows the main performance characteristics of such software.

Table 1. Features and functionality of programs for remote PC administration
Name Principle of operation Menu language Installation on a computer Functional Peculiarities
Microsoft Remote Desktop Internet and local network Russian No downloads additional programs not required Basic Advanced You can only communicate from a computer that has Windows version Pro and above
Remote Utilities Internet and local network Russian Requires installation on both the administrator's computer and the administered Very wide, in fact, this is the most powerful software currently presented in Russian Allows administration of up to 10 devices. Sphot is distributed free of charge even for commercial use
Ultra VNC Internet, local network Russian Requires installation of the program on the administered PC Wide Cross-platform
Aero Admin Internet Russian Not required. Only using a small executable Simple The most simple

The convenience of work and its efficiency depend on the competent choice of a program for remote administration, therefore it is worth familiarizing yourself with several options before making a final choice.

For example, a program from Microsoft, although it seems the best choice, has a number of significant drawbacks, and in fact, is almost not applicable on slightly outdated devices.

No one knows when this or that knowledge will come in handy. The same goes for system administrators. You should remember that rebooting a computer remotely over a network is not done in a hurry, but requires some preparation, as a result of which, in an emergency, you may not be able to somehow influence it.

Training

  1. Go to the "Start" menu and type in the search bar: services.msc. This function should launch the service control utility.
  2. A list will appear in front of you. In it you need to find "Remote Registry" and Terminal services.
  3. Click double click click on one of these lines. On the "General" tab, click the "Start" button to start the service right now. In choose "Automatic" mode, and this utility will run every time the operating system is started.
  4. Repeat the same for the second service.

In addition to the above points, do not forget to add the user on your computer to the "administrators" group on the PC that may need to be restarted. This completes the preparation, and restarting the computer remotely should work.

Operation

Now let's get down to the actual process. The computer is rebooted remotely from, so the first thing to do is run it by typing in the search bar: cmd. After that, you can use one of the following options.

  1. Enter: shutdown -i. This command to reboot the computer remotely will bring up a special terminal. In it, you will have to select the desired PC from the list (or add it there yourself). Then select "reboot" and, if necessary, make an entry in the event log.
  2. The second method involves an instant restart of the PC. To do this, simply enter the command: shutdown -r. This will be the basis. To specify which PC to restart, add the following attributes: /m \\computer_name, indicating the name of the PC you need.

Program

In practice, use the console to restart the remote personal computer not always convenient. It is much easier to choose some utility and install it. There are a number of programs with which you can make your life easier.

  1. LanShutDown 4.0 contains only two files, one of which must be placed on the admin computer, and the second on the user's. After that, you can turn off the desired PC with one click.
  2. If you use any management program, you can arrange a reboot, despite the fact that this function is usually not available. To do this, either use the command line and the method that we have already talked about, or press "alt + f4" - and the usual window for turning off the PC will appear in front of you.

What is DNS?

DNS stands forDomain Name System or Domain Name Service. You have specified a name, and DNS substitutes the ip address of the resource hosting the site. The name in this case is the hostname or IP address. Without DNS, you would have to remember the IP address of every site you want to visit. Today there are more than 300 million websites on the Internet, it is absolutely impossible to remember the IP address of the required site.

What is dynamic IP?

How to make a static ip address from a dynamic one?

No need to buy a static IP. Use our free Dynamic DNS to match a dynamic address or long URL to your property to easily remember the hostname. Remote monitoring of your home through a webcam on any port or running your own server at your home with a dynamic IP address - all this is available with the serviceDnsIP . In the case of a dynamic IP allocation by an ISP, a service such as Dynamic DNS becomes necessary.

By registering with our service, you will receive Domain name. A special client that needs to be downloaded is installed on the user's computer. This client periodically sends information to the DNS server, reporting its IP address. The DynDNS service server stores the last IP of the user and, when accessing the custom domain name obtained during registration, redirects the request to this IP.

Private network.

Conventional services offer only third-level domain names. This may be inconvenient. In the presence of an external dynamic IP address, our innovative project allows you to get a domain name not only of the third, but also of the first level. By setting special application on computers, a private network will become available to you, in which you will be able to access services or programs using any protocol or port. In this case, no traffic will pass through our server. All information will be transferred between computers directly.

Remote computer and remote desktop.

By using DynDNS Secure service DnsIP allows you to organize a connection to a remote computer through any remote access program using any port. In this case, you directly contact the remote computer, and our service only informs your programs of the required IP address.

Network monitoring.

Using our service, network monitoring will become available to you. All connected users (names of their computers) will be tracked only by you. You will be informed which computer is online and which one is offline.

If any application on the remote computer is not responding and you need to safely restart the remote machine, you can do this with the click of a button without using the command line and special firewall settings, and even if remote network does not have an external IP address. All you need is an Internet connection.

Auto-click on the free access button when using Yota.

In case you are using free access to the Internet from the provider "Yota", once a day the connection is blocked, and a window appears in the browser with a suggestion to continue at a slow speed. This is extremely inconvenient when using remote access to this computer. In this case, it is enough to install ourfree program, and it will restore access to the Internet within a few minutes. This option is available without user registration on our website. In this case, the program only needs to be installed, no settings need to be made.

At any time, you can find out the IP address of your resource.

The page http://dns-free.com/dns2ip.php?dns=xxxxxxx is at your service, where xxxxxxx is the domain name in the DnsIP system. Use it to organize links to your resource using the dynamic DNS system. Or add to favorites, and with one click, find out the current ip of your resource. Or enter manually in the form on the same

Currently, modern ones work in conjunction with a user account.

Thanks to this feature, you can recover your password, restart your computer remotely, and perform many other commands without being directly near your PC.

How to use such a function and why it may be needed - this is described in this article.

Remote administration

There are a number of programs for remote administration of a computer.

Such software allows, if available on another PC, full remote access to the device.

That is, you can simply open the Desktop of one computer from another, and if there is Internet on both devices, perform any actions on it, including rebooting.

Then it is performed in the usual way - from the Start button or using.

But in reality, quite a small number of users have a remote administration program.

Although, if this situation occurs repeatedly, then it is worth downloading and installing such software.

Settings

To reboot the device with this type of administration, follow the algorithm:

  • Boot the remote computer;
  • If the download went well, then go to the Start menu and type services.msc (this option is only suitable for operating system versions 8, 8.1, 10);
  • If the version of the operating system is older, then hold down the Win + R keys on the remote computer and call the Run window;
  • In its input field, type the required (same) combination;
  • Press Enter;
  • A list of services on the remote PC will open - find in it Remote registry and click on it twice with the left key;

  • Go to the General tab in the window that opens;
  • Select Launch;
  • Thus, you have started this service for the current session;
  • Now you need to configure this service to start automatically every time the device starts;

  • To do this, in the Start mode field, expand the drop-down menu and select Automatic in it;
  • Click OK and close the window;
  • Now go back to the list of services on the remote PC again and find the Terminal Service service in it;
  • Repeat for this service all points from 6 to 12;
  • Now the main services are ready for remote work, and you can control your PC from a distance.

Also, make sure that the user you're using on the physical PC has been added to the Administrators group on the remote computer you're trying to restart. Otherwise, the reboot will fail.

Operation

After your computer is configured for remote work (that is, the two necessary services for this, described in the example above, are enabled), you can directly reboot.

To do this, follow the algorithm:

  • Launch the remote administration program on the physical PC you are working on;
  • Connect to the computer you want to restart;
  • Launch the command line with the cmd combination entered in the Run menu window or in the search bar;

  • A command prompt will open;
  • In it enter the command shutdown -r;

  • After that, add the appropriate attributes indicating which device should be rebooted: /m\\computer_name, where computer_name- the name of the device you want to reboot, written in Latin, without spaces;
  • Press Enter;
  • After that, you can close the command line.

Reboot occurs exactly after 60 seconds. There is no way to set it up before this time. At the same time, if someone is working on a remote computer, then a reboot notification will be immediately shown for him so that he can save his data, but he will not be able to postpone or completely cancel the reboot process.

There is another, more complex, but more advanced option - instead of shutdown -r dial shutdown -i.

In this case, a special separate terminal will open, with which you can configure the reboot data and save a record about it in the log.

But this method is only suitable for those who really understand what they are doing.

Programs

In practice, it is not necessary to have installed programs for remote administration and skills in working with the command line console. It's inconvenient and takes a long time.

If such manipulations with a PC have to be carried out quite often, then it is easier to download and install the appropriate program on it, with which you can carry out a number of manipulations.

Lan Shut Down 4.0- a simple utility for performing elementary remote administration functions, consists of only two files - one is placed on a remote computer, and the other on the one from which you will work. With this software, you only need to make one click to turn on or off the remote device.

Also, this software works great as an addition to any remote administration program.

If earlier the ability to reboot was not available in it, now it is enough to run both utilities together and hold down Alt + F4 .

After that, a standard window will open for rebooting the remote PC.

Software for remote administration

Above, a lot was said about programs for, with the help of which you can boot, reboot or turn off the device.

But what are these programs?

It is important to navigate at least a little in them if a remote reboot is periodically needed, and they need to be installed.

The table below shows the main performance characteristics of such software.

Table 1. Features and functionality of programs for remote PC administration
NamePrinciple of operationMenu languageInstallation on a computerFunctionalPeculiarities
Microsoft Remote Desktop Internet and local networkRussianNo additional software download requiredBasic AdvancedYou can only communicate from a computer that has a version Windows Pro and higher
Remote Utilities Internet and local networkRussianRequires installation on both the administrator's computer and the administeredVery wide, in fact, this is the most powerful software currently presented in RussianAllows administration of up to 10 devices. Sphot is distributed free of charge even for commercial use
Ultra VNC Internet, local networkRussianRequires installation of the program on the administered PCWideCross-platform
Aero Admin InternetRussianNot required. Only using a small executableSimpleThe most simple

The convenience of work and its efficiency depend on the competent choice of a program for remote administration, therefore it is worth familiarizing yourself with several options before making a final choice.

For example, the program from, although it seems to be the best choice, has a number of significant drawbacks, and in fact, is almost not applicable on slightly outdated devices.

List of commands for restarting/shutdown the computer using standard Windows tools

How to reboot the computer via command line, remote desktop Or "how to restart the computer from the command line" To reboot via remote desktop under Windows XP/Vista/7, you can execute the command: shutdown -t 0 -r -f Parameters: -t 0 means reboot for "zero" seconds, -r reboot rather than shutdown (reboot) -f terminates all running applications (force, force shutdown with forced termination of programs)

Shutdown -r -t 0

Shutdown -s -t 0

shutdown command

shutdown.exe -r -f -t 20 -c "No panic, the computer will restart in 20 seconds."

shutdown /? Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\] [-t xx] [-c "comment"] [-d up:xx:yy] No arguments Display usage help (same as -?) -i Display interface must be the first parameter -l Exit (not compatible with the -m option) -s Shutdown the computer -r Reboot the computer -a Terminate the system shutdown -m \\ Remote computer where the action is being performed -t xx Shutdown timeout - xx sec. -c "comment" Comment (max 127 characters) -f Force termination of applications without prior warning -d [u][p]:xx:yy Termination reason code u - user code p - scheduled termination code xx - main reason code (1 - 255) yy - additional reason code (1 - 65535)

Win32 Commands to Restart Windows XP

rundll32 msgina,ShellShutdownDialog - call the Shutdown Windows XP dialog

RUNDLL.EXE user.exe,ExitWindows - terminate Windows work and turn off the computer (in XP - change user).

Krasgmu.net 2011-02-20

Article on the topic: "Restart Windows via the command line - Shutdown / Restart from the command line - How to restart the computer from the command line" in the Articles section - updated in 2017

Leave a comment/review:

Windows Restart Reviews and Comments: No approved comments (spam: 4)

krasgmu.net

Restarting the computer from the command line - shutdown command

In the traditional way, users restart the computer by pressing the restart button in the Windows interface. If necessary, they resort to a physical reboot by pressing a small button located below the computer's power button.

In the topic of the article, we will touch on the method - restarting the computer from the command line. In general, cmd is a great tool. system administrator, which provides automation and speed of actions that are not always available in normal Windows management.

The shutdown command will help with this, with which it is possible not only to turn off the computer from the command line, but also to restart it and log out of the system.

Most users, of course, will not use the recommendations, but experienced IT professionals should definitely know all the intricacies of working with the command line.

In the lesson, we will consider the procedure for restarting your and a remote computer. This will require a PC running any OS and administrator access.

First run command Windows line 7, since using this operating system as an example, we will restart the PC. Next, follow the steps below.

Rebooting the local (your) computer

At the command line, type shutdown -r, after pressing Enter, you will see a message that the shutdown will occur in a minute. Shutdown uses various options, in our case the -r option, which indicates a system restart.

Using the shutdown -r -t 900 construct, the computer will restart in 15 minutes. The -t is added to the command, with the help of which a number (in seconds) is set next to it.

These steps are effective when you are installing software that requires a reboot after installation, and you cannot control the process all the time. Then restarting the system on the machine is what you need.

After using shutdown -r -t 900, a message will pop up in the tray (as in the screenshot). It will notify you when the reboot will take place.

Restarting a remote computer

You need administrator access to complete these steps. To reboot a remote computer, you need to type shutdown –r -m \\PC name. Where for the place "PC name", you will need to enter the name of the remote computer.

Here you can also set a specific temporary value (seconds) of the -t parameter to restart the computer. In this case, it is reasonable to use a comment containing the reason for the reload in the supplement.

At the command line, type shutdown –r -t 500 -m \\PC name -c “Reboot due to system update” (in quotes), so you specify the reason for the shutdown.

In case you want to change or cancel the reboot options of your or a remote computer, use shutdown -a. Then set the parameters again.

In these ways, you can restart the computer from the command line, and if necessary, cancel the planned actions.

www.nastrojcomp.ru

Shut down and restart Windows from the command line

Graphic Windows interface for many years light on no knowledge of the command line. And no, no, yes, you have to use it. In this article I will briefly describe how to use console command shutdown to shutdown or restart the computer under Windows control. The article is relevant for Windows families 7/8/8.1/10.

shutdown command to shutdown, reboot or hibernate

To shutdown, reboot, or hibernate using the command line, use the shutdown command. Main parameter list:

  • /? - Help display. The same as without parameters.
  • /i - Display GUI user. This parameter must be the first.
  • /l - End the session. This option cannot be used with the /m or /d options.
  • /s - Shut down the computer.
  • /g - Shutdown and restart the computer. After restarting the system, launch all registered applications.
  • /a - Cancel system shutdown. This option can only be used during the waiting period.
  • /p - Immediate shutdown local computer without warning. Can be used with the /d and /f options.
  • /h - Switching the local computer to hibernation mode. Can be used with the /f option.
  • /e Specifies the reason for the unexpected shutdown of the computer.
  • /m - \computer Specifies the target computer.
  • /t xxx - Set a delay of xxx seconds before shutting down the computer. Valid range: 0-315360000 (10 years); default value: 30. If the timeout period is greater than 0, the /f option is applied.
  • /c - "comment" Comment with reason for restart or shutdown. The maximum length is 512 characters.
  • /f - Force close running applications without warning users. The /f option is used when the /t option is set to a value greater than 0.
  • /d xx:yy - You must specify a reason to reboot or shutdown. "p" means scheduled reboot or shutdown. "u" means that the reason is user defined. If neither "p" nor "u" is specified, a reboot or shutdown is unscheduled. "xx" is the main reason number (positive integer less than 256). "yy" is a minor reason number (positive integer less than 65536).

If you are interested full list parameters, then run the shutdown utility without parameters.

Examples of using the shutdown utility

If you run the shutdown utility with the /i parameter, you will see something like the following on the screen (relevant for Windows 7):

When using delayed reload:

Shutdown /r /t 180

We will receive the following notification on the screen:

If you wish to cancel a scheduled reboot, then use the command:

Shutdown /a

In the notification area next to the clock, you should see something like this:

How to immediately restart or shut down the computer from the command line

To immediately shut down your computer, use:

Shutdown /s /t 0

To restart your computer immediately use:

Shutdown /r /t 0

Thanks

The following sources were used in writing the article:

moonback.com

How to restart a computer via remote desktop - Oh MSBRO!

Or "how to restart the computer from the command line"

To reboot via remote desktop under Windows XP/Vista/7, you can run the command:

Shutdown -t 0 -r -f

Options:

"-0" after -t means reboot for "zero" seconds, "-r" reboot and not shutdown (reboot) "-f" shuts down all running applications (fforce, so is "forced")

The command can be run via Start->Run:


shutdown -t 0 -r -f

Or via command line:


shutdown -t 0 -r -f cmd

The shutdown command-line utility is useful in many ways and sometimes simply irreplaceable.

Additionally, the parameters of the shutdown command can be viewed by typing in the command line

shutdown /? | more

Added options for Windows 7:

C:\>shutdown /? | more Usage: C:\Windows\system32\shutdown.exe xx:yy ] No pair. Help display. Same as with the /? option. /? Help display. The same as without parameters. /i Display a graphical user interface. This parameter must be the first. /l End the session. This option cannot be used with the /m or /d options. /s Shut down the computer. /r Shut down and restart the computer. /g Shut down and restart the computer. After restarting the system, launch all registered applications. /a Cancel system shutdown. This option can only be used during the waiting period. /p Shut down the local computer immediately without warning. Can be used with the /d and /f options. /h Switches the local computer to hibernation mode. Can be used with the /f option. /e Specifies the reason for the unexpected shutdown of the computer. /m \\computer Specifies the target computer. /t xxx Specifies a delay of xxx seconds before shutting down the computer. Valid range: 0-315360000 (10 years); default value: 30. If the timeout period is greater than 0, the /f option is applied. /c "comment" Comment with reason for restart or shutdown. The maximum length is 512 characters. /f Forces running applications to close without warning users. The /f option is used when the /t option is set to a value greater than 0. /d xx:yy You must specify a reason for rebooting or shutting down. "p" means scheduled reboot or shutdown. "u" means that the reason is user defined. If neither "p" nor "u" is specified, a reboot or shutdown is unscheduled. xx is the major reason number (positive integer less than 256). yy is the minor reason number (positive integer less than 65536). Causes on this computer: (E = expected, U = not expected, P = planned, C = user defined) Type Primary Auxiliary Header U 0 0 Other (Unplanned) E 0 0 Other (Unplanned) E P 0 0 Other (Planned) U 0 5 Other failures: System not responding E 1 1 Equipment: Maintenance (Unplanned) E P 1 1 Equipment: Maintenance (Planned) E 1 2 Equipment: Installation (Unplanned) E P 1 2 Equipment: Installation (Planned) E 2 2 Operating system: Recovery (Planned) E P 2 2 Operating System: Recovery (Planned) P 2 3 Operating System: Upgrade (Planned) E 2 4 Operating System: Setup (Unplanned) E P 2 4 Operating System: Setup (Planned) P 2 16 Operating System : Service pack installation (Planned 2 17 Operating system: Hotfix installation (Unscheduled) P 2 17 Operating system: Hotfix installation (Planned) 2 18 Operating system: Security patch installation (Scheduled P 2 18 Operating system: Security patch installation (Zap E 4 1 Application: Maintenance (Unplanned) E P 4 1 Application: Maintenance (Planned) E P 4 2 Application: Installation (Planned) E 4 5 Application: Unresponsive E 4 6 Application: Intermittent U 5 15 System failure: STOP error U 5 19 Security issue E 5 19 Security issue E P 5 19 Security issue E 5 20 Loss network connections(Unscheduled) U 6 11 Power failure: Cable disconnected U 6 12 Power failure: General P 7 0 Shutdown caused by legacy API function

msbro.ru

Shutdown - Restart/Shutdown Windows via Command Prompt

Most often, restarting / shutting down the computer is done through the shutdown button in the Start menu. But, as a system administrator, sometimes you need more control over the restart and shutdown functions of the computer, namely:

There is no "Shut Down" button.

The shutdown command allows you to reboot/shutdown windows computer through the command line and is very useful in the arsenal of a system administrator.

Let's look at how to use the shutdown command. Here is its syntax:

shutdown [-i | -l | -s | -r | -a] [-f] [-m \\] [-t xx] [-c "comment"] [-d up:xx:yy]

No arguments - Display usage help (same as -?)

I - Display a graphical user interface for remote shutdown.

L - Exit (not compatible with -m option)

S - Shut down the computer

A - Termination of system shutdown

M \\ - Remote computer on which the action is performed

T xx - Shutdown timeout - xx sec.

C "comment" - Comment (max 127 characters)

F - Force quit applications without prior warning

D [u][p]:xx:yy - Termination reason code (u - user code, p - scheduled termination code, xx - main reason code (1 - 255), yy - secondary reason code (1 - 65535))

Thus, depending on the administration tasks, the command to restart / shutdown the computer may look like this:

shutdown -r -t 0

Immediate shutdown via command line:

shutdown -s -t 0

Reboot the remote computer with ip address 192.168.0.85 after 30 seconds, displaying a message to the user:

shutdown –r –m \\192.168.0.85 –t 30 –c “YOUR COMPUTER WILL BE REBOOTED IN 30 SECONDS! PLEASE CLOSE ALL PROGRAMS AND SAVE CHANGES.”

It is also worth considering that when you try to restart a remote computer, you must have administrator rights on the remote machine. If you are logged in account, which does not have rights on a remote computer, then run the command prompt as a user (C:\Windows\System32\cmd.exe \ RMB + Shift \ Run as another user), which has sufficient rights, and execute shutdown command.

sys-team-admin.ru