중지후 수동으로 전환
sc stop tvnserver
sc config tvnserver start= demand
시작후 자동으로 전환
sc start tvnserver
sc config tvnserver start= auto
사용안함으로 전환
sc config tvnserver start= disabled
**
SC Create example
The following SC Create example creates a Windows service for the Endeca Server (note that the command is on one line, but is indented here for ease of reading):
sc create EndecaServer displayname= "Oracle Endeca Server" type= own error= severe obj= "CORPDEV\EndecaUser" password= banx912 binpath= "C:\Oracle\Endeca\Server\7.4.0\endeca-server\service-wrapper-7.4.exe"
The sample command does the following:
- Creates a Windows service named EndecaServer.
- Uses Oracle Endeca Server as the display name for the service.
- Sets the service type as own (which means the service runs in its own process).
- Sets severe as the severity of error if the service does not start during the boot process.
- Specifies that the service run under the CORPDEV\EndecaUser user account, which has banx912 as its password.
- Sets the binary path of the service-wrapper-7.4.exe executable.
For ease of use, you can place the command in a batch script.
'컴퓨터관련' 카테고리의 다른 글
스카이디지탈 팟플레이어로 디지탈tv보기...펌 (0) | 2016.11.04 |
---|---|
pci express 3.0, x16 그리고 x1 x4 x8 x16...펌 (0) | 2016.11.01 |
홈그룹 작동이상시 점검...펌 (0) | 2016.10.13 |
usb efi 부팅...펌 (0) | 2016.10.10 |
윈도우10 설치 usb, UEFI vs MBR...펌 (0) | 2016.10.10 |