
To create service:
sc.exe create YOUR_SERVICE_NAME binpath= <PATH_TO_YOUREXECUTABLE>
Example: sc.exe create dockerDService binPath= "C:\Program Files\Docker\Docker\resources\dockerd.exe" start= auto
To delete service:
sc.exe delete SERVICE_NAME
Example : sc.exe delete dockerDService
Note: Use PowerShell or the command Terminal with Administrator mode
0 comments:
Post a Comment
I love to entertain onymous user Comment !