Service timeout when service created using SRVINSTW.exe

Posted on 2003-02-24
Medium Priority
Last Modified: 2011-10-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. 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. I set FireDaemon 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: Automatic(also tried manual)

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 for service). Also does anyone know how to direct it to the site I want without having to paste the address in the address bar?
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: 8013438

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.

Accepted Solution

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

E-E Admin

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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