ネットワーク上に複数のコンピュータがある場合、どのオペレーティング システムが実行されているかに関係なく、リモートでシャットダウンできます。 Windows がインストールされている場合は、リモート コンピューターを設定してリモート シャットダウンを許可する必要があります。一度セットアップすると、Linux を含むどのコンピューターからでもシャットダウンできます。 Mac コンピュータは、簡単なターミナル コマンドを使用してリモートでシャットダウンできます。
ステップ
方法1 方法1/5:
リモート レジストリ サービスを有効にする (Windows)
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/4\/42\/Remotely-Shutdown-a-Computer-Step-1-Version-3.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-1-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/42\/Remotely-Shutdown-a-Computer-Step-1-Version-3.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-1-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"}1リモートでシャットダウンするコンピューターのスタート メニューを開きます。ネットワーク上の Windows コンピューターをリモートでシャットダウンする前に、まずそのコンピューターでリモート サービスを有効にする必要があります。コンピュータへの管理者アクセス権が必要になります。
Mac をリモートでシャットダウンする場合は、方法 4 を参照してください。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/f\/f2\/Remotely-Shutdown-a-Computer-Step-2-Version-3.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-2-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f2\/Remotely-Shutdown-a-Computer-Step-2-Version-3.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-2-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"} 2スタート メニューを開き、 .services.mscと入力してEnter キーを押します。 Microsoft 管理コンソールのサービス セクションが開きます。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/3\/34\/Remotely-Shutdown-a-Computer-Step-16-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-16-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/3\/34\/Remotely-Shutdown-a-Computer-Step-16-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-16-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"} 1事前に準備します。この記事の最初のセクションの手順に従って、リモートでシャットダウンする必要がある Windows コンピューターを準備します。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/c\/ca\/Remotely-Shutdown-a-Computer-Step-17-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-17-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/ca\/Remotely-Shutdown-a-Computer-Step-17-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-17-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"} 2リモート コンピュータの IP アドレスを見つけます。 Linux からリモート コンピュータをシャットダウンするには、そのコンピュータの IP アドレスを知っておく必要があります。 IP アドレスを決定する方法はいくつかあります。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/1\/14\/Remotely-Shutdown-a-Computer-Step-18-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-18-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/1\/14\/Remotely-Shutdown-a-Computer-Step-18-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-18-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"}3Linux コンピュータでターミナルを開きます。 Linux コンピュータは、シャットダウンする Windows コンピュータと同じネットワークに接続されている必要があります。
IP アドレスをリモート コンピューターのIP アドレス(例: 192.168.1.25)に置き換えます。
username を Windowsユーザー名に置き換えます。
パスワードをWindows のユーザー名とパスワードに置き換えます。
広告する
方法4方法4/5:
Macコンピュータをリモートでシャットダウンする
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/7\/7c\/Remotely-Shutdown-a-Computer-Step-21-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-21-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/7c\/Remotely-Shutdown-a-Computer-Step-21-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-21-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"}1ネットワーク上の別のMacでターミナルを開きます。ターミナルを使用してネットワーク上の Mac をシャットダウンできますが、コンピューターへの管理者アクセス権が必要です。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/3\/3b\/Remotely-Shutdown-a-Computer-Step-22-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-22-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/3\/3b\/Remotely-Shutdown-a-Computer-Step-22-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-22-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"} 2入力します。sshユーザー名@ IP アドレス。ユーザー名をリモート コンピューターのユーザー名に置き換えます。 IP アドレスをリモート コンピュータのIP アドレスに置き換えます。
Mac で IP アドレスを見つける方法をオンラインで検索します。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/2\/27\/Remotely-Shutdown-a-Computer-Step-23-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-23-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/27\/Remotely-Shutdown-a-Computer-Step-23-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-23-Version-2.jpg","smallWidth":460,"smallHeight":343,"bigWidth":728,"bigHeight":543,"licensing":" class=\"mw-parser-output\"><\/div>"} 3プロンプトが表示されたら、リモート Mac コンピューターのユーザー パスワードを入力します。前の手順でコマンドを入力すると、コンピューターはユーザー アカウントのパスワードを入力するように要求します。
{"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/6\/6d\/Remotely-Shutdown-a-Computer-Step-24-Version-2.jpg\/v4-460px-Remotely-Shutdown-a-Computer-Step-24-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/images\/thumb\/6\/6d\/Remotely-Shutdown-a-Computer-Step-24-Version-2.jpg\/v4-728px-Remotely-Shutdown-a-Computer-Step-24-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"} 4 .sudo/sbin/shutdown now と入力し、Return キーを押します。これにより、Mac がリモートで直ちにシャットダウンされ、コンピューターへの SSH 接続が切断されます。