Service trimeout using SERVINSTW.exe

Posted on 2003-02-24
Medium Priority
Last Modified: 2013-12-03
Here is the situation:

Have to update a software package minimum of twice a week on 125 machines via a website. The website will install/update the software fine if the user has Local Admin rights to their machine. This will not work if the user is set up as a power user. All 125 users MUST remain power users for internal purposes. The software company recommended task scheduler in their deployment doc, but that will only work if the user is a Local Admin, I tried to run this as another user (Local and Domain Admin) but it will not work and has been confirmed to fail by the software company.

I began to look into a service as the update device on the advice of a co-worker. I can get the service to run if I use FireDaemon Lite Service Manager 1.51A. Unfortunately my company doesn't find this as an acceptable solution. FireDaemon is set up this way.

Shortname: update
Displayname: update
Working Directory:C:\Program Files\Internet Explorer
Executable:C:\Program Files\Internet Explorer\IEXPLORE.EXE
Parameters: http://www-3.somecompany/unattended.pl
startup time (msec):30000 (added a zero because it would time-out at 3000)
General: Interact with desktop
Job Type: Global Job
Start Up mode: Automatic
No dependencies:
No environment variables:
Pre/service, Post/Service: No changes. Nothing else added in.

 FireDaemon succeeds on updating the service when they are logged on as a power user. and click stop service, start service. (I have a netsvc batch file ready for when it hits production)

I set up Service utilizing Windows 2000 resource kit tool-
Using SRVINSTW.exe
Install a service..
on remote machine: somepc
Service name: UPDATE
Full path of executable file: C:\Program Files\Internet Explorer\IEXPLORE.EXE
Service is it's own Process:
Credentials: System Account\ allow user to interact with desktop.( If not internet explorer will not launch)
Startup: Manual (also tried Automatic)

this creates the service, when the user goes to start the service 2 errors will occur. The startup times out, and no matter what I do I can not redirect internet explorer to the appropriate site by using start parameters. It will go to www.msn.com (I suspect this is a registry entry). I have tried to paste the website address into this window, but the service still fails due to the timeout.  
"Error: 1053 The service did not respond to the start or control request in a timely fashion."

The 2 errors that show up in the event log are event ID 7000: Service Control Manager
“The UPDATE service failed due to the following error” The service did not respond to the start or control request in a timely fashion.” Also Event ID 7009: Service Control Manager “Timeout (30000Milliseconds) waiting for the update service to connect.”

Does anyone know how to adjust the timeout? I have looked through all kinds of documentation on line and can’t find where to adjust the startup timeout parameter. (I have already found the regentry “waittokillservice…20000” looking for something similar for start up of service). Also does anyone know how to direct it to the site I want without having to paste the address in the address bar?

P.S. I am not a programmer so please be patient.
Question by:gruvendawg
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 8013445
Sorry...found the answer.

Used Microsoft Knowledge Base Article 137890. Needed to install the SRVANY.exe program with SRVINSTW.exe, not IEXPLORE.exe. Once SRVANY program was installed as a service edited the registry to add the parameters I needed. For anyone else having a problem resolving created services timeouts with error 1053 and event ID: 7000, and 7009 in the system log you must install SRVANY.exe instead of the executable you want to run, or it will not work.
LVL 49

Expert Comment

ID: 8014229
You should get a refund of your points.  Post a 0-pt question to Community Support.  

Request "Refund and PAQ" and provide the URLs for this and the similar question in the Win2000 TA.

Accepted Solution

Computer101 earned 0 total points
ID: 8045399
Points refunded and placed in PAQ

E-E Admin

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question