/build/static/layout/Breadcrumb_cap_w.png

Service

I need a command line tool that will install a service for Win2K. I cannot get windows installer to install via the enviroment table as it is a device driver. I can install with SRVINSTW.EXE as it is a GUI program and cannot be used in a command line. Any advice would be appreciated.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: bkelly 21 years ago
Red Belt
1
I prefer the resource kit's XNET utility. It provides some really good control. I'm sure there are several, but this has always been my favorite. It is actually bundled with KiXtart (when you unzip, it has its own directory) which you can download at http://www.kixscripts.com.
Posted by: JohnM 21 years ago
Senior Yellow Belt
1
Unfortunately XNet won't do what i need either. The service i am installing points to clkdrv.sys and when you use SRVINSTW to install you get the choice of which type of service you wish to install, service in its own process, file system driver or device driver. If you choose device driver the service will install and work. When you use XNet to install, it will install but when you try and start the service you get the message system error 129 has occurred. The *** application cannot be run in win32 mode. Ideally a command line tool that has as many options as SRVINSTW would be ideal. Any more help would be really appreciated.
Posted by: bkelly 21 years ago
Red Belt
1
Have you had a good look at the Instsrv.exe or SC.exe resource kit tools? I've looked around, and I don't see much else out there in the way of command line support.
Posted by: Alim 21 years ago
Senior Yellow Belt
1
You leave out another part if instsrv.exe, that is srvany.exe, both are part of the resource kit, can be found on the net, that is the only way to install an service via the commandline, do not forget to make registry settings later on.

http://www.tburke.net/info/reskittools/topics/instsrv_syntax.htm
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ