Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Kill a service on domain computers using group policy

Posted on 2009-05-13
3
Medium Priority
?
439 Views
Last Modified: 2013-11-15
OK, the environ is a Windows Server 2003 domain.  All PCs are on the domain.  We use GP to control several things and push out our AV from a central server.

I need to kill a service on all of the PCs so I can update the AV program to a new service.  

Is there a way to kill a service running on everyone's PC using GP?

Thanks

Cliff
0
Comment
Question by:crp0499
3 Comments
 
LVL 15

Expert Comment

by:zelron22
ID: 24379134
You can disable a service using GP, but then the workstation would need to reboot.

You could use netsvc which will remotely start and stop services, run it in a for-in-do command against a file of your workstation names to stop the service.

http://support.microsoft.com/kb/166819
http://www.palmtoppaper.com/ptphtml/3/ptp3006b.htm
0
 
LVL 3

Expert Comment

by:a_ro_no
ID: 24379163
you can use Software restriction policies.
http://support.microsoft.com/kb/324036
0
 
LVL 6

Accepted Solution

by:
JapyDooge earned 2000 total points
ID: 24380296
You can put a 'net stop <servicename>' in a batchfile and run it as logonscript using the GP.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question