Windows Server 2003 上の特定のサービス状態を更新しようとしています。
使用してみましたrefresh <service instance>
が、これを実行すると次のエラーが発生します:
'refresh' is not recognized as an internal or external command
このコマンドを cmd で実行する方法を教えていただけませんか?
答え1
使用Services.exe
このために。
services refresh <service instance>
アップデート
あなたはSc
ユーティリティ(からウィンドウズ)。
サービス コントローラーおよびインストールされているサービスと通信します。SC.exe プログラムは、コントロール パネルのサービスで提供される機能と同様の機能を提供します。
対象製品:
Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Vista