New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



User-defined GroupExpand / Collapse
Author
Message
Posted 7/9/2007 8:11:12 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/10/2007 7:26:09 AM
Posts: 2, Visits: 7
Hi

I want to set up a User-defined Group that organize computers that have a specific service stopped. Is it possible? I guess that I have to choose "custom" under Value Type?

Any idea?

/Stefan

Post #1533
Posted 7/9/2007 4:51:20 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2 days ago @ 2:43:01 PM
Posts: 657, Visits: 797

It is fairly easy to create a config group to detect the startup type of a service (manual, automatic, disabled). The config group would be based on a registry value. For example, if you wanted to know how Automatic Updates service was configured on your managed computers, you would copy the following into the drop-down box for a predefined group (instead of using one of the choices in the drop-down list):

 

<Registry Value> “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv\\Start”

 

As the computers poll, they will create and join groups numbered 2 (automatic), 3 (manual) or 4 (disabled).

 

The Prism Client doesn’t currently have a way to detect if a service is actually running or not. For example, a service can be set to start automatically (2), but an admin-level user may have stopped the service. Stopping a service doesn’t change the registry value. Hopefully being able to determine the startup type of a service will get you close to what you need.



New Boundary Technologies Support
support@newboundary.com

Post #1534
Posted 7/10/2007 3:26:38 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/10/2007 7:26:09 AM
Posts: 2, Visits: 7
Hi and thanks for your answer!

Actually, what I´m looking for is to find a specific service that has status automatic on every client BUT has stopped for any reason. Then I will start the service.

So I guess that Prism Deploy isn´t the right application for me!?

/Stefan

Post #1536
Posted 7/10/2007 5:49:21 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2 days ago @ 2:43:01 PM
Posts: 657, Visits: 797
The Prism Client isn't really designed to be a process watcher. However, you could use a 3rd party utility such as Sysinternals (now Microsoft) pslist in combination with Prism to tell you if a certain process was running at a point in time. For example, the following script checks to see if  SomeService is running. If not, pslist will return a non-zero error code, and then the script will use the net start command to start the service:

/run \\server\share\pstools\pslist SomeService
If "%runerror%" != "0"
 /Run net start SomeService
Endif


 

You would have assign this script as a recurring task. It's still not a perfect solution because it's possible that a service could be stopped between polling intervals, but perhaps it's a little closer to what you want.



New Boundary Technologies Support
support@newboundary.com

Post #1539
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 3:04am

Powered By InstantForum.NET v4.1.3 © 2008
Execution: 0.281. 12 queries. Compression Enabled.