[gptalk] Re: change a service through group policy

  • From: "Nelson, Jamie" <Jamie.Nelson@xxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Fri, 27 Jun 2008 15:47:04 -0500

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: