Martyt1
asked on
Running a Program as a Windows Service
I have an issue which i am trying to understand how to get this to work. I have a piece of software which requires a specific user to be logged in to run. I am trying to use the windows "srvany.exe" which allows the program to run as a windows servicebut im not having any luck .. I am following theinstructions on this site, http://support.microsoft.com/kb/137890, and in doing so i recieve the error 'C:\Program' is not recognized as an intertnal or external command.. Something tells me i am missing something really simple but im at my wits end. Any recommendations or suggestions would be greatly appreciated..
ASKER
Well,, that did make a small difference, i am now getting the error "fully qualified path to .exe must be given"
ASKER
i have made progress, i now have the service installed and i am now trying to figure out what i am supposed to be doing in the registry, these instructions on this site "http://support.microsoft.com/kb/137890" are worthless..
After installing service it should create appropriate registry value.. have you verified if any keys are created in registry ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you need to use double quote as there is space in betn program and files
try below
C:\"Program Files\Resource Kit\Srvany.exe"