In Windows XP, a new command-line tool, "shutdown", is added to " shut down or restart a local or remote computer ." Using it, we can not only log off the user, shut down or restart the computer, but also to achieve a timed shutdown, remote shutdown.
The syntax format for
At the time of remote connection, often remote shutdown, remote reboot. In the remote maintenance of the server, often need to remote shutdown, restart and other computer basic operatio
target computer./t xxx will be closed before the timeout is set to xxx seconds.The valid range is 0-315360000 (10) and the default value is 30.If the time-out is greater than 0, it is implied as/F parameter./C "comment" a comment about the cause of the restart or shutdown.A maximum of 512 characters is allowed./F forces the running application to close without warning the user beforehand.If you specify a value greater than 0 for the/t parameter,The/f parameter is implied./d [P|u:]xx:yy provides
The shutdown command is a command that enables automatic shutdown and restart using scheduled tasks. If a remote device is used, you need to set the guest account of the remote computer to have the corresponding permissions. Otherwise, the system will prompt that access is denied when executing the command,:
The met
When using remote clients to manage other machines, in order to facilitate a remote shutdown or restart operation, but there is a "denial of access" phenomenon, verified by default only users of the Administrators group can be authorized to shut down or restart the computer from the remote, and it is in the LAN environ
There used to be a shutdown dialog box that describes how to invoke the system using the command line:
Specific method: Start/Run:
Copy Code code as follows:
rundll32.exe Shell32.dll #60
However, the above method will have a problem, XP can not normally use this method for shutdown (thanks to netizens mu ye found the problem). The problem
Handler:
Form2 F
=
New
Form2 ();F. showdialog ();
That's right. It's such a simple program-two forms. When you click the first form button, use the second form as the Modal Dialog (mode dialog box ?) Display.
Well, compile now, run this program (not in the debugging environment), and then press that button to display form2.
Then shut down (or restart or log off ).
You will find that fo
Previously there was a dialog box showing how to call a system shutdown using command lines: http://blog.csdn.net/scz123/archive/2005/09/30/492991.aspx
Method: Start/run: rundll32.exe shell32.dll #60
However, the above method will have a problem, XP cannot use this method to shut down (thanks to the netizen Mu ye for discovering this problem ). The cause may be: Normally, the host
Eclipse connection Remote Hadoop error, caused by:java.io.IOException: The remote host forced the shutdown of an existing connection. All error messages are as follows:Exception in thread "main" Java.io.IOException:Call to hadoopmaster/192.168.1.180:9000failed on local exception:java.io.IOException: The remote host for
Android5.0 Long Press the power button to shut down the machine does not play OK dialog box directly off, but after the user clicked the Shutdown option, you should play a confirmation dialog box to the user prompts whether or not really into the shutdown mode.First, the frameworks layer of the
download complete, program running.
2. Shut down the remote computer
Use parameter-m[computername] to specify the name of the remote computer that will be turned off or restarted (default to native action if not set or null)
Shutdown-s-M Remotewin-t 45
The above command closes a computer named Remotewin in the local area network within 45 seconds, and if you
[Keywords]: shutdown, zenity, gnome-session-save, GTK-logout-helper
==>
Recently, self-control is a little poor. When you accidentally watch things in front of the computer every night for more than, it is necessary to remind you after the sleep time. Previously, it was very violent to set the time in cron to shutdown. The most important thing is that after shutdown
must apply jquery. Base JS file
Then introduce the style file
Add some div layers to the page task location
Call in JS
Parameters are headings, prompt content, whether to display the title, whether to show the action button, whether to turn on automatic shutdown, to jump the URL click to jump button description file information
Showinformation (title, Content,isshowtitle,isshowalertbutton,istimer,url, Urltxt) method or
Showa
Windows 2003
Click "Start → run", in the pop-up Run dialog box, enter "Gpedit.msc", open the Group Policy window, select "Computer configuration → administrative Templates → system", double-click "Show Shutdown Event Tracking", select "Disabled" in the pop-up window, and then click the "Apply → ok" button.
Windows 2008
First, click Start | run. In the Run dialog
Step 1, click start → run, enter "Gpedit.msc" in the dialog box, and click OK to open Group Policy Editor.
Step 2, on the left side of the Group Policy Editor window, open the Computer configuration →windows settings → security settings → local policies → user rights assignment, and in the right window select "Force shutdown from remote system". The pop-up
Windows XP Group PolicyIs very powerful, and its application skills often play an unexpected role. The following describes how to use the Windows XP Group Policy to remotely shut down the system.
In Windows XP's default security policy, only users in the Administrator group have the right to disable the computer from the remote end. Generally, when we access the computer from other computers, therefore, when we execute the
/L/A/y
To disable and restart the remote computer named "support", use the following line in the batch file or type this line at a command prompt, and then press Enter: shutdown \ support/R
To schedule the local computer to shut down and restart at, type the following line at the command prompt and press Enter: at shutdown/L/R/y/C
To enable the local computer
There are a number of ways to implement a remote computer, and here's a word. If you shut down a remote Windows computer, first extract a shutdown command description
The shutdown command syntax is: shutdown [-i |-l|-s |-r |-a] [-f] [-M [\\ComputerName]] [-t XX] [-C "messag
Click the Start menu, and then click the Control Panel option.
Double-click Administrative Tools-Local security policy.
Double-click Local Policy, the item that appears, and select User Rights Assignment.
Select and double-click to open the Force shutdown from remote system project.
Go to the Properties interface and click Add Users and groups in local security settin
graphical interfaces. In the plain text interface environment, tty1 ~ Tty6 has six terminal interfaces, but there is no graphical interface environment. We cannot open the graphic interface by pressing Ctrl + Alt + F7. Only by starting the desktop environment, use the following command[Root @ yufei ~] # StartxHowever, to start the graphic interface, you must have installed the X Window system and the X server can be enabled smoothly. Otherwise, you still cannot access your desktop system!Exit t
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.