创建Bat文件自启动Windows Service;
Services: sc stop/delete/query/find "service name";
Service Folder: HK_Local_Machine\SYSTEM\CurrentControlSet\Services;
部署的时候仔细核实下Target Platform(x64, x86, any cpu)
Bat文件, Services
原文:http://www.cnblogs.com/wobudong/p/3532100.html