且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows服务在Windows Server 2008r2上运行,但不在Windows Server 2012上运行

更新时间:2022-12-07 10:45:04

它听起来你的服务依赖于其他几个服务(驱动程序)运行才能发送它的数据包。



我会修改你的服务注册以获得依赖在TCP / IP协议驱动程序和Windows防火墙上。它会强制您的服务等到这两个服务在启动之前运行。
It sounds like your service depends on a couple of other services (drivers) running before it can send it''s packet.

I would modify your service registration to have dependancies on "TCP/IP Protocol Driver" and "Windows Firewall". It''ll force your service to wait until those two services are running before it starts.