Link to home
Start Free TrialLog in
Avatar of Martyt1
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..
Avatar of Haresh Nikumbh
Haresh Nikumbh
Flag of India image

C:\Program Files\Resource Kit\Srvany.exe

you need to use double quote as there is space in betn program and files

try below

C:\"Program Files\Resource Kit\Srvany.exe"
Avatar of Martyt1
Martyt1

ASKER

Well,, that did make a small difference, i am now getting the error "fully qualified path to .exe must be given"
Avatar of Martyt1

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
Avatar of ZabagaR
ZabagaR
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial