UJP - 技術情報

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

     

リモートのサービスを起動する 〜sc.exeとsclist.exe〜

リモートのサービスを起動する

〜sc.exeとsclist.exe〜


0.更新履歴

  • 2001.08.21 新規作成

1.はじめに

 このドキュメントでは,WindowsNT4.0 リソースキットを使って,リモートコンピュータ上のサービスを起動する方法の説明を行う.

 なお,コマンドは,リソースキットのCD-ROMからファイルコピーを行っただけである.

2.現在のサービスの稼動状況を調べる.

  • 以下のように,リモートコンピュータ上のサービスの一覧を表示させる.

F:\>sclist \\172.16.0.1

--------------------------------------------
- Service list for \\172.16.0.1
--------------------------------------------
stopped          Alerter                          Alerter
stopped          AppMgmt                          Application Management
stopped          awhost32                         pcAnywhere Host Service
running          Browser                          Computer Browser
stopped          cisvc                            Indexing Service

〜略〜

stopped          TermService                      Terminal Services
stopped          TlntSvr                          Telnet
stopped          TrkSvr                           Distributed Link Tracking Server
running          TrkWks                           Distributed Link Tracking Client
stopped          UPS                              Uninterruptible Power Supply
stopped          UtilMan                          Utility Manager
stopped          W32Time                          Windows Time
stopped          W3SVC                            World Wide Web Publishing Service
running          WinMgmt                          Windows Management Instrumentation
running          Wmi                              Windows Management Instrumentation Driver Extensio
ns

F:\>

  • pcAnywareが停止していることが確認できる.

3.リモートからサービスを起動する

  • SC.EXEコマンドを使用して,サービスを起動する.

F:\>sc \\172.16.0.1 start awhost32

SERVICE_NAME: awhost32
        TYPE               : 110  WIN32_OWN_PROCESS (interactive)
        STATE              : 4  RUNNING
                                (STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

F:\>



広告スペース
Google