cmd를 통해 Windows 서비스 새로 고침

cmd를 통해 Windows 서비스 새로 고침

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

관련 정보