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.

You can use sc.exe:

sc create newservice binpath= <path_to_the_executable>

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, networking, learning, and sharing knowledge.