Installez l'application de service Windows sur Windows Server
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" "c:\myservice.exe"
Gorgeous Guanaco
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" "c:\myservice.exe"
sc start "SERVICE-NAME"
sc stop "SERVICE-NAME"
sc start "SERVICE-NAME"
startService(intent)