Category: Services

21/01/2019

Install EXE as Windows Service

Follow below steps to install exe as Windows Service. Open Command Prompt as Administrator Run the following command: sc create service_name binpath=C:pathtobinary [option1] [option2] [optionN] Here is an example: sc create RFSERVICE binPath=”D:RFIDMultipleSocketServer.exe” ^ DisplayName=”RFSERVICE” start=auto If this worked you should see: [SC] CreateService SUCCESS You can delete a service by following command: sc delete RFSERVICE