使用 instsrv.exe 和 srvany.exe 安装服务后,无法停止 windows 服务
Can't stop the windows services, after install services with instsrv.exe and srvany.exe
I had installed windows services by instsrv.exe and srvany.exe.
The service was install successfully and work normal.
But i can't stop the services in "Windows service page",which page is win+r -> services.msc.
The only way i can stop it is command "taskkill /f /pid processnum".
How do I manually stop the Windows service?
Srvany 是 "service wrapper"。它旨在接受来自服务控制管理器 (SCM) 的命令并对您的非服务应用程序执行适当的操作。
SCM 可以向 Windows 服务发送多个命令,包括 "Start"、"Stop"、"Pause" 和 "Resume"。 srvany 的问题在于它只对 "Start" 命令采取合理的操作!
当您启动 srvany 服务时,它会运行您指定的命令行。但是当您停止该服务时,srvany 进程就会退出。该服务将转换为停止状态,但您的应用程序将在后台保持 运行。 Srvany 不会结束您的应用程序,也没有办法让它这样做。
I had installed windows services by instsrv.exe and srvany.exe.
The service was install successfully and work normal.
But i can't stop the services in "Windows service page",which page is win+r -> services.msc.
The only way i can stop it is command "taskkill /f /pid processnum".
How do I manually stop the Windows service?
Srvany 是 "service wrapper"。它旨在接受来自服务控制管理器 (SCM) 的命令并对您的非服务应用程序执行适当的操作。
SCM 可以向 Windows 服务发送多个命令,包括 "Start"、"Stop"、"Pause" 和 "Resume"。 srvany 的问题在于它只对 "Start" 命令采取合理的操作!
当您启动 srvany 服务时,它会运行您指定的命令行。但是当您停止该服务时,srvany 进程就会退出。该服务将转换为停止状态,但您的应用程序将在后台保持 运行。 Srvany 不会结束您的应用程序,也没有办法让它这样做。