Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a windows service app that I want to run on one of my servers. I do not have a source code, only an executable.

The service runs as expected while launched in Run as administrator mode. However we can not grant it administrator rights. We want to designate it a dedicated user with priviliges limited to only what's necessary.

When service is started with credentials of non-administrator user it fails with a following error: enter image description here

Moreover I found a log with such a message:

Failed to start service manager: The service process could not connect to the service controller

After some research I found out that this error scenario occurs while someone is developing a windows service and doesn't add the url via netsh command. I was not able to figure out what was the port and url. *

I will welcome any advice.

* I tried netstat command and looked for a port connected to a service process id.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
437 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share
...