python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Service Control Manager (sc.exe) fails when using a localhost alias in hosts file, but succeeds when using the loopback address directly
I am running the command:
sc \\My-Server create TestService binPath= "C:\Test\Test.exe"
However, it fails with
[SC] OpenSCManager FAILED 5:
Access is denied.
My hosts file contains:
127.0...
Eza
Votes: 0
Answers: 1