"raj" <rajac...@att.com> schrieb im Newsbeitrag
news:06a501c2f964$be1be460$3001...@phx.gbl...
>.
>
Hi
srvany.exe and instsrv.exe is in the Win2k Resource Kit that you can buy (or
the NT 4.0 one as well)...
If you don't have it, you can get those files from the NT 3.5 Resource kit,
that is free, those instsrv/srvany will work also in Win2k/WinXP.
NT 3.5 RK
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386/I386.exe
Expand the files
instsrv.ex_, srvany.ex_ and srvany.wr_
to
instsrv.exe, srvany.exe and srvany.wri
and you are in business. See srvany.wri for instructions. I successfully
created a service of notepad.exe in WinXP with those files :)
A couple of notes:
Running I386.exe itself will not work (nothing happens). Use e.g. WinZip to
extract the files in I386.exe. Then use expand.exe to expand the compressed
files, like this:
expand instsrv.ex_ instsrv.exe
An alternative, a free 3rd party solution:
Take a look at mksvc.exe in the AINTX toolset at
http://www.dwam.net/docs/aintx/
The utils are documented in a included readme file, or you can alternatively
run
<command> -help
To start the service, use the Services applet or the AINTX toolset's startsvc
utility. Note that "net start <service name>" will not work.
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter