Windows 2012 server How to make C++ EXE as a Windows service? RRS feed

  • Question

  • Hi,

    I have a C++ EXE, which I am able to create a service from it using below commandon Windows XP and Windows Server 2003

    EXE_NAME.exe /Service

    But when I run the same command on Windows server 2012, we are not seeing anything. Control returns to the command prompt again without prompting any error. If we check it on "Services", we will not see this service name. No error on any event viewer.

    Could you please let me know any way to make a C++ EXE as an service in Windows Server 2012 server and we can see that EXE as service in services list?


    Friday, March 8, 2013 1:26 PM

All replies

  • This needs moved to the C++ forums

    Digital Forensic Software Developer
    http:\\ Mark as Answer or Vote up if useful thank you!
    Volunteer Developers Required to work on free systems that can be used to reduce online child abuse and bullying! contact: if you are interested.

    Friday, May 31, 2013 9:52 AM