How to disable a local task in group policy?

January 28, 2011 at 13:38:50
Specs: Windows 7
How do I disable a task on a local PC using group policy? Theres already a task on all local PCs and I need to disable it using group policy instead of touching all PC's.....Any ideas?

See More: How to disable a local task in group policy?

Report •

#1
January 28, 2011 at 14:57:40
Is the task a service or an application?

If it is a service then you could change its status through the GPO, if it is an application, you could either do a registry edit through the GPO to have a preset list of programs for the RUN key or you could run the taskkill command in your logon scripts. Lets say the task you wanted to kill was outlook then the command would look like...

taskkill /im outlook.exe

Hope that helps. Let us know which way you would like to go. There are many ways to skin this cat.


Report •

#2
January 31, 2011 at 05:29:12
Its the Windows Scheduled Maintenance Task. And when I created the image for all PC's, I left this task on which deletes some of my users icons after it runs. I need to disable that. I can go into the scheduled tasks on the local PC and change it, but i want to be able to do it on all. Thanks for your help!

Will


Report •

#3
January 31, 2011 at 09:24:08
"scheduled tasks"

Just delete the *.job file on there login script. I think they are stored in the...

c:\windows\tasks

folder. So your command would be...

del c:\windows\tasks\mytask.job

Either way I am not sure you can do this with normal user rights. You need to run the commands as administrator. This is one of the many shortfalls of GPO is that you can not manage scheduled tasks through it.


Report •

Related Solutions

#4
January 31, 2011 at 09:50:27
Thank you so much for your help....

Report •

Ask Question