"sc start TitanHide " return "Failed 2"
shenhuiqi opened this issue · 1 comments
shenhuiqi commented
greenozon commented
- you need to either install the service with the full path or add the exe file's path to PATH in system environment variables.
SC CREATE "Service-Name" binpath="D:\full-path-to-service\service.exe"
or
- add D:\full-path-to-service\ to PATH variable and use
SC CREATE "Service-Name" binpath="service.exe"