Previous Posts


Reset your Microsoft Office 2003 Serial Number

Get your hotfixes - via the web

Vista - What happened to the Net Send Command

Receive Hotmail/Live mail in Outlook 2003 and 2007...

Write programs with notepad

Remote Desktop 2 for OSX Released (BETA)

Enable Ctrl-Alt-Delete in Vista

Compress files automatically

Set default printer from a script

Windows XP SP3 (Beta) Released to testers



Archives

May 2005

January 2006

April 2006

May 2006

June 2006

July 2006

September 2006

October 2006

November 2006

December 2006

January 2007

February 2007

March 2007

April 2007

May 2007

June 2007

July 2007

August 2007

September 2007

October 2007

November 2007

December 2007

January 2008

February 2008

March 2008

April 2008

May 2008



Subscribe to our Feed:






Find failed services

One of the things I hate to see when booting up a system is that a service failed to start.

Service Failed To Start


This usually means combing through the event viewer to identify the service that failed. It can be annoying because of the time you need to spend looking through unrelated events.

I wanted a way to speed up this process since I see this problem frequently in the field.

Too Many Events


One of the tricks I use is to open service manager and sort by start type. Then I look through all of the services that are set to automatic...and make sure they are started.

I wanted to get this same information as fast as possible, so I created a script that will go through all services on a system and spit out the ones that are set to automatic and have not started.

You need to run it from the command line, and use the cscript.exe engine to execute it...like this:

cscript.exe ListFailedServices.vbs
(Download the script here)

Lets look at the output from one of my problem systems:

Failed Service List


Notice that there are a few services here. Sometimes it is normal...yes normal that a service will start automatically and then stop. After you use this script for a while you will instinctively know what Microsoft (And others) services do this.

In this case I know right away that McAfee is having trouble. It should not stop...so now I can start getting to business and figure out why it didn't start.

The script is not perfect. Sometimes manual services are started by other services at startup, and those will not show up with the script. Still - it is another tool that will help you save time when diagnosing a problem.


Posted By: Steve Wiseman on Tuesday, August 21, 2007

Check out our utilities for windows

 



Copyright © IntelliAdmin, LLC, 2008. All Rights Reserved