[gptalk] Re: change a service through group policy

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Fri, 27 Jun 2008 13:50:44 -0700

Doh. Sometimes I can't keep up with all the things it does. You're right
Jamie-it does do that under the Services section. And with a filter in
place, you could set the timeframe under which it will occur as well!

 

Darren

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Nelson, Jamie
Sent: Friday, June 27, 2008 1:47 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: change a service through group policy

 

I thought GPP could actually restart a service or am I mistaken?

 

Jamie Nelson | Infrastructure Consultant | BI&T Operations | Devon Energy |
Work: 405.552.8054 | http://www.dvn.com <http://www.dvn.com/> 

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Darren Mar-Elia
Sent: Friday, June 27, 2008 3:34 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: change a service through group policy

 

Create a scheduled task that runs a simple batch file:

 

Net stop "service"

Net start "service"

 

The batch file could be in central location or you could use the GP
Preferences file copy feature to get it to every machine ahead of time.

 

You could also just use two sc.exe commands in two scheduled tasks to do the
same thing without having to deal with a batch file.

 

Darren

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Palombi
Sent: Friday, June 27, 2008 1:29 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: change a service through group policy

 

How would I be able to do that?

On Fri, Jun 27, 2008 at 4:28 PM, Darren Mar-Elia <darren@xxxxxxxxxx> wrote:

Dave-

It will be tough to do this using "normal" policy without a reboot or some
kind of triggering action. However, if you are in a position to deploy the
Group Policy Preferences product, then you could use that product's ability
to create Scheduled Tasks via GP to push a scheduled task to machines that
does the restart for you.

 

Darren

 

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Palombi
Sent: Friday, June 27, 2008 1:25 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] change a service through group policy

 

Hello,

I would like to know if you can restart a service using group policy.  Now
the computer never gets rebooted and I have no access to the local drive as
well.  How would I be able to accomplish this?  If there is a better way,
please let me know.

Thanks,

Dave

 

  _____  

Confidentiality Warning: This message and any attachments are intended only
for the use of the intended recipient(s), are confidential, and may be
privileged. If you are not the intended recipient, you are hereby notified
that any review, retransmission, conversion to hard copy, copying,
circulation or other use of all or any portion of this message and any
attachments is strictly prohibited. If you are not the intended recipient,
please notify the sender immediately by return e-mail, and delete this
message and any attachments from your system. 

Other related posts: