Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use remote restart command in DOS

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use the remote restart command in DOS. I hope you will get something after reading this article. Let's discuss it together.

Remote control to restart the use of the server can facilitate our management and use of the server, usually in the process of long-term use, we will encounter all kinds of problems, sometimes it is inevitable that our server needs to restart the system to alleviate the problem of computer server snub. And when our server is not in the same place as our office, we need to be able to restart remotely.

The shutdowm command under the DOS command is used here.

ShutDown usage and parameters are attached

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

There are no parameters to display this message (with? Same)

-I display the GUI interface, must be the first option

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

-s shut down this computer

-r shut down and restart this computer

-an abandon system shutdown

-m computername remote computer shutdown / restart / abandon

-t xx sets the timeout to be turned off to xx seconds

-c "comment" turns off comments (127characters maximum)

-f forces the running application to close without warning

-d [p]: xx:yy shutdown reason code

U is the user code

P is a planned shutdown code

Xx is a primary reason code (a positive integer less than 256)

Yy is a secondary reason code (a positive integer less than 65536)

-f: forcibly close the application

-m computer name: control 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

-t time: set the countdown to the shutdown

-c "message content": enter the message content in the shutdown dialog box (no more than 127 characters)

2. For example:

Turn off the computer shutdown-s (method: start-> run-> shutdown-s-> OK)

Delay 3 seconds to shut down the computer shutdown-s-T3 (method: start-> run-> shutdown-s-T3-> OK)

Cancel shutting down computer shutdown-a (method: start-> run-> shutdown-a-> OK)

After reading this article, I believe you have a certain understanding of "how to use remote restart commands in DOS". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report