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.

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

You can use sc.exe:

sc create newservice binpath= <path_to_the_executable>

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

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

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

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.