InstallUtil

C:WindowsMicrosoft.NETFramework64v4.0.30319
InstallUtil.exe D:servicesQueueServiceQueueService.exe
net start QueueService
net stop QueueService
InstallUtil.exe /u  D:servicesQueueServiceQueueService.exe
sc create QueueService binpath= "D:servicesQueueServiceQueueService.exe"
    sc start QueueService
    sc delete QueueService
    sc create QueueService binpath= “D:servicesQueueServiceQueueService.exe” start=auto
    sc start QueueService
原文地址:https://www.cnblogs.com/hofmann/p/13130433.html