How to use the remote shutdown command in Windowsコマンドを使用してリモートシャットダウンする方法をWindowsで

Posted on May 26, 2008 at 5:31 am掲示さ2008年5月26日5:31アム

This article will show you how to use the remote shutdown command tool in Windows to remotely shut down, restart, or logoff a local or networked computer.この記事が表示さシャットダウンするための方法を使用してリモートコマンドツールをWindowsをリモートからシャットダウン、再起動するか、またはローカルコンピュータまたはネットワーク上のコンピュータをログオフします。 This can be very useful sometimes if you have multiple computers at home or on your network that you want to quickly shutdown or restart.このことが非常に役に立つ時にはすれば、複数のコンピュータやネットワーク上に自宅をしたいを迅速にシャットダウンまたは再起動します。

You can perform a remote shutdown from the command prompt using the shutdown command and it’s associated switches, from the remote shutdown dialog box, or from a batch file.することができます。リモートシャットダウンを実行するには、コマンドプロンプトからコマンドを使用して、シャットダウンおよびそれに関連付けられてスイッチ、リモートからシャットダウン]ダイアログボックスで、またはバッチファイルです。 I’ll try to go through all three in this guide.やってみますを通るすべての3つは、このガイドにします。

Remote Shutdown Overviewリモートシャットダウンの概要

Firstly, in order to remotely shutdown a computer on your network, you’ll need to make sure you have Administrative access to that computer.まず第一に、コンピュータをシャットダウンするために、リモートネットワーク上に、ておく必要があることを確認して、そのコンピュータのアクセスを管理します。 If you’re on a home network, the best way to do this is to make sure all computers are in the same workgroup and that they all have at least one Administrator account with the same user name and password.上のホームネットワークをする場合は、これを行うには最善の方法は、すべてのコンピュータを確認するのと同じことと、それらのすべてのワークグループは、少なくとも1つの管理者アカウントと同じユーザー名とパスワードを入力します。

You can also have different Administrator account names across computers, but then you’ll need to make sure you add the Administrator account of one computer to the account list on the other computers.することもできますが異なる複数のコンピュータの管理者アカウントの名前が、入力しておく必要があることを確認し、 1台のコンピュータの管理者アカウントを追加して、アカウントリストの上に他のコンピュータです。 You’ll also need to know all the names of the other computers on the network.することも必要なのすべての名前を知って、ネットワーク上の他のコンピュータです。 You can do that by going to Control Panel and then clicking on System .をすることができます。行うことによって行くと入力し、 [コントロールパネル]をクリックしてシステムです。 Then click on the Computer Name tab. コンピュータ名 ]タブをクリックしてください。

コンピュータ名

Remote shutdown is useful for managing multiple computers at once and especially useful for helpdesk technicians when they have to fix remote computers.リモートシャットダウンが役に立つを一度に複数のコンピュータを管理するため、特にお役にたちましたヘルプデスクの技術を修正するときには、リモートコンピュータです。

Remote shutdown via Command Promptコマンドプロンプト経由でリモートシャットダウン

The shutdown command is most flexible when using it from the command prompt because you can add a bunch of switches to it, which allow you to customize the behavior.最も柔軟性に優れたしてシャットダウンコマンドは、コマンドプロンプトを使用する場合には、大勢のため、スイッチを追加することができますして、これをカスタマイズするに動作できるようにします。 Go to Start , then Run , and type in CMD .行く開始するには、入力し、 指定して実行]cmdと入力します。 In the black command window, type in shutdown /? to see the list of switches.黒いコマンドウィンドウで、入力してシャットダウン/ですか?をスイッチのリストを参照してください。

シャットダウンコマンド

You have to use at least one switch in order for the command to do anything.を使用する必要が少なくとも1つのスイッチは、コマンドを実行するためには何も。 Basically you would type in shutdown -X -Y -Z where X, Y, Z are letters in the list above.基本的に次のように入力シャットダウン- z -のyここでのx 、 y 、 zは上記のリストの手紙です。

Here are a couple of the most command switches and what actions they peform:ここでは、カップルは、ほとんどのコマンドスイッチとどのような行為彼らpeform :

-l: Logs off the computer -左:ログオフすると、コンピュータの

-s: Shuts down the computer -秒:コンピュータをシャットダウンする

-r: Restarts the computer -研究:コンピュータを再起動します。

-m -メートル \\computername \ \コンピュータ名 : remote shutdown of a computer :リモートコンピュータをシャットダウンする

-f: Forces programs to close immediately - f :強制的にプログラムをすぐに閉じる

So for remotely shutting down another machine on your network, you would type into the command prompt the following commands:これを別のマシンをシャットダウンするリモートネットワーク上に、次のように入力されたコマンドプロンプトで、以下のコマンド:

shutdown –m \\computername –r –f シャットダウン-メートル\ \コンピュータ-研究- f

This above command will restart the computer named computername and force all programs that are still running to die.この名前のコンピュータ上のコマンドは、 コンピュータを再起動して、まだ実行されているプログラムをすべて強制的に死ぬ。

shutdown –m \\computername –r –f –c “The computer will restart, please save all work.” –t 60 シャットダウン-メートル\ \コンピュータ-研究- f - c "と、コンピュータが再起動し、次の作業をすべて保存します。 " -トン60

This command will restart the computer named computername , force all programs that are running to die, show a message to the user, and countdown 60 seconds before it restarts.このコマンドは、コンピュータの再起動コンピュータの名前は、すべてのプログラムを実行している力を死なせ、表示するメッセージが表示して、ユーザー、およびカウントダウン60秒前に再起動します。

Remote Shutdown via Shutdown Dialogリモートシャットダウン経由でのシャットダウン]ダイアログ

If you don’t like all those switches, etc, or using the command prompt, then you can bring up the shutdown dialog box.それらをお持ちでない場合のすべてのスイッチのような、等、または使用して、コマンドプロンプトで、入力し、シャットダウンすることができます。 ]ダイアログボックスを持ち出す。 You can open the dialog window by clicking Start, click Run, type CMD and typing shutdown -i and in the blank DOS window.することができます。 ]ダイアログウィンドウを開いてスタート]ボタンをクリックし、 [実行]をクリックし、 cmdと入力すると、空のシャットダウン- iと、 DOSのウィンドウを開きます。

シャットダウンの私

A window similar to the one below will appear:以下のように、 1つのウィンドウが表示されます:

リモートシャットダウン]ダイアログ

Click the Add or Browse button to add computers to the list.をクリックして追加または各ジャンルのリストにコンピュータを追加する]ボタンをクリックします。 You can then run the commands on the entire batch of computers.することができます実行してコマンドを入力し、全体のコンピュータのバッチです。 If you click Add, you’ll need to enter in the network name of the computer in the format [追加]をクリックする場合、入力しておく必要があるのは、コンピュータのネットワーク名の形式で \\computername \ \コンピュータ名 .です。 You can even add your own computer to test it out and make sure it works.自分のコンピュータを追加することもできますことをテストすることを確認して動作しています。

コンピュータ名[ 6 ]

Of course, you need to know the actual computer name, which I mentioned how you can figure out above.もちろん、あなたの実際のコンピュータ名を知る必要が、申し上げましたようにすることができます。把握する方法についてご確認ください。 You’ll also need Administrative access.管理者のアクセス権も必要になります。 You can determine this by going to My Computer and typingこれを行く判断をすることができます。 [マイコンピュータ]を入力 \\computername \ \コンピュータ名 into the address bar and seeing if you can get access without having to be prompted for a password.と見ている場合に、アドレスバーにアクセスすることができます。得ることなく、パスワードの入力を要求される。

コンピュート名マイ

So add as many computers to the list as you like and then set your options.できるだけ多くのコンピュータを追加するためのリストお気に召すと入力し、設定してオプションを選択します。 You can shutdown, restart, or logoff.することができますシャットダウン、再起動、またはログオフします。 You can also display a warning for however many seconds you like.警告をすることもできますしかし多くの秒数を表示することができます。 You can type in a comment at the bottom which will be displayed to users.コメントを入力することができます。の下部に表示さをユーザーにされる。 That’s it!それだよ!

Remote Shutdown via Batch Fileバッチファイル経由でリモートシャットダウン

Finally, you can create a batch file so that you can do all of this by just clicking on a file!最後に、することができますバッチファイルを作成することができるようにこれを行うのすべてのファイルをクリックするだけで! Or you can even schedule the batch file to be run at specific intervals using Windows Scheduler.たりすることもできますスケジュールを設定するバッチファイルを特定の間隔で実行されるWindowsのスケジューラを使用しています。

Just go to Notepad and type in the commands you would have typed into the command prompt:メモ帳や手間にならないようにしなければならなくなるのコマンドを入力して、コマンドプロンプトに入力された:

shutdown –m シャットダウン-メートル \\computername1 \ \ computername1 –r -研究
shutdown –m シャットダウン-メートル \\computername2 \ \ computername2 –r -研究
shutdown –m シャットダウン-メートル \\computername3 \ \ computername3 –r -研究

This will restart three computers on my home network.これにより、コンピュータ上の3つのホームネットワークを再起動します。 You would of course replace computername1 with the actual names of your computers.あなたはもちろん、 computername1の内の実際の名前に置き換えますのコンピュータです。 Then simple save the file with a .BAT file extension.と入力し、簡単なファイルを保存しています。 batファイルの拡張子です。 You can put as many commands into the batch file as you like, so feel free to experiment!に置くことができるだけ多くのコマンドをバッチファイルとしてあなたのようなので、お気軽に実験!

I’ve written an extensive post on自分で書いたの広範なポストを how to use batch files in Windows Windowsのバッチファイルを使用する方法 , so read that if you are not familiar with batch files.ので、読み取りに精通していない場合は、バッチファイルです。 Enjoy!楽しむ!

Technorati Tags: Technoratiのタグ: , , , , ,

If you enjoyed this post, make sure you この投稿をお楽しみいただく場合は、必ずあなた subscribe to my RSS feed 私のRSSフィードを購読する !

» Filed Under »提出されて Computer Tipsコンピュータのヒント

Related Posts関連記事

Please post your comments/suggestions!コメントをお寄せください/提案!