Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

Instsrv.exe

瀏覽次數:330 次
跳到第一則未讀訊息

raj

未讀,
2003年4月2日 下午5:11:002003/4/2
收件者:
I am using Windows 2000 server on Dell machine. I need to
install a user defined service. The document from MS
(137890) says that I need to user instsrv.exe to create a
service. I could not find that executable. Has anyone
done this,i.e. createa user defined service on the
Windows 2000 server?
PLease help

Jürgen Hiltebrandt

未讀,
2003年4月3日 清晨7:28:242003/4/3
收件者:
Get it from the Ressource Kit!


"raj" <rajac...@att.com> schrieb im Newsbeitrag
news:06a501c2f964$be1be460$3001...@phx.gbl...

raj

未讀,
2003年4月3日 上午8:50:362003/4/3
收件者:
Can you be more specific? Also is the procedure to do
this is same on Windows 2000?
Thanks for your reply.

>.
>

dmp

未讀,
2003年4月3日 上午11:11:562003/4/3
收件者:

>-----Original Message-----
>Message unavailable
The utility is called sc.exe (command line) or
Srvinstw.exe for the gui utility. They are both part of
W2K resource kit.

Torgeir Bakken (MVP)

未讀,
2003年4月3日 中午12:08:362003/4/3
收件者:
raj wrote:

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


0 則新訊息