Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about sc.exe

Read more about sc.exe

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - sc.exe

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...
test-img

Eza

windows

windows-services

hosts

sc.exe

Votes: 0

Answers: 1

Latest Answer

Resolved. I found this thread: https://serverfault.com/questions/184098/why-cant-i-access-an-administrative-share-on-my-local-machine Step 2: "Allowing server machine to use filesharing with itse...
test-img

Eza

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved