Link to home
Start Free TrialLog in
Avatar of gruvendawg
gruvendawg

asked on

Service timeout when service created using SRVINSTW.exe

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.

FireDaemon-
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?
Avatar of gruvendawg
gruvendawg

ASKER



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.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial