Windows exe file Is there a way to register for a Windows Service?

Windows exe file Windows will need to sign up for service.
Only possible way without any changes to the registry is required.

Please help me.

Recommended Answers

All 3 Replies

You can use sc.exe:

sc create newservice binpath= <path_to_the_executable>

There are instructions here on how to run an exe as a service.

You can also use the task scheduler and set the trigger to

  • log on
  • startup
  • etc.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.