How to shutdown a Windows XP connection using Remote Desktop 3389

Source: Internet
Author: User

Remote Desktop is no stranger to some computer workers, especially those who often maintain servers, and may also use Remote Desktop Management Tools to operate a large number of servers, these server systems are generally 2003, 2008, and other server versions. So, have you ever used remote desktop to connect to Windows XP? If yes, will there be a problem like "No Shutdown option in the Start Menu When Remote Desktop is connected to XP? Let's take a look at how to shut down the Windows XP Remote Desktop!

I can't find the shutdown button. What the hell is it that Microsoft cannot shut down XP?

In fact, there are several ways to shutdown at this time.

First, the simplest one is to use the task manager for shutdown.

Second, of course, the command line is used for shutdown.

Shutdown-s

Shutdown help

C: \ Documents ents and Settings \ Administrator> shutdown /?

Usage: shutdown [-I |-l |-s |-r |-a] [-f] [-m \ computername] [-t xx] [-c "co

Mment "] [-d up: xx: yy]

No parameter to display this message (? Same)

-I: displays the GUI, which must be the first option.

-L logout (cannot be used with option-m)

-S: disable this computer

-R: Disable and restart this computer

-A discard system shutdown

-M \ computername: Remote Computer shutdown/restart/discard

-T xx: Set the timeout value to xx seconds.

-C "comment" Close comments (127 characters at most)

-F: the application that is forced to run is disabled without warning.

-D [u] [p]: xx: The cause code of yy disabling

U is the user code

P is the code to close a plan.

Xx is a major cause code (a positive integer smaller than 256)

Yy is a secondary cause code (a positive integer smaller than 65536)

Windows XP is controlled by the shutdown.exe program and is located in the Windows \ System32 folder.

If you enter "shutdown-t 0", the system will immediately shut down.

For example, to shut down your computer at, you can select start> Run and enter "at Shutdown-s, at, the "system shutdown" dialog box appears. By default, there is a 30-second countdown and you are prompted to save your work. If you want to shut down in the countdown mode, you can enter “Shutdown.exe-s-t 3600 ", which indicates 3600 seconds, that is, the system will automatically shut down in an hour.

If you want to cancel Automatic shutdown, enter "shutdown-a" during running ".

In addition, enter "shutdown-I" to open the Set automatic shutdown dialog box and set the automatic shutdown.

Each Shutdown.exe parameter has a specific purpose, and each execution will produce different results,

For example, "-s" indicates that the local computer is disabled, and "-a" indicates that the shutdown operation is canceled,

As shown in the following figure, you can use it as needed in shutdown.exe.

-F: forcibly close the application

-M: \ computer name: Remote Computer Control

-I: displays the graphic user interface, but must be the first option of Shutdown.

-L: log out of the current user.

-R: Shut down and restart

-T: Time: Set shutdown countdown

-C: "message content": Enter the message content in the shutdown dialog box (cannot exceed 127 characters)

Example:

1. Shutdown at the specified time. For example, Shutdown-s at indicates Shutdown.

2. shutdown for a period of time. For example, shutdown-s-t 3600 indicates that shutdown is performed on time after 3600 seconds (that is, 1 hour.

3. If you run the shutdown command by mistake, you can cancel the automatic shutdown: shutdown-

4. Shut down and restart on time at pm. If the system has an application in progress during shutdown, force close:

Command: at shutdown-f-r-c "2010-05-04 pm on time to execute the shutdown command"

Shutdown-f-r-t 3600-c "An hour later, the computer restarts automatically"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.