You guys use SRVANY a lot for DC so maybe you can help - first off, please don't say use FireDaemon - that has given me plenty of problems in this case so I have gone back to SRVANY. Anyway, I have written a simple .cmd file that would install a program, Procman, as a service, run a .reg file to set the registry parameters, and then start it using 'net start'. That is where the problem is, when ithe net start call comes, I get the following error:
That help msg tells me nothing. A check of the registry shows that the process was installed properly, but I cannot start it even from there. Here is the .cmd file that does all of this:
Anyone see a problem? No sleep last night might be my problem. FWIW this is being done on W2K systems.
Thanks...
The service was successfuly added!
Make sure that you go into the Control Panel and use
the Services applet to change the Account Name and
Password that this newly installed service will use
for its Security Context.
Press any key to continue . . .
Press any key to continue . . .
The Procmon service is starting.
The Procmon service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
Press any key to continue . . .
That help msg tells me nothing. A check of the registry shows that the process was installed properly, but I cannot start it even from there. Here is the .cmd file that does all of this:
@echo off
%SystemRoot%\System32\Machine\instsrv.exe Procmon %SystemRoot%\System32\Machine\srvany.exe
pause
regedit /s %SystemRoot%\System32\Machine\ginstall.reg
pause
net start "Procmon"
end
Anyone see a problem? No sleep last night might be my problem. FWIW this is being done on W2K systems.
Thanks...
WinNT. never had much use for that particular environment variable ...