[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7865
  • Last Modified:

how to remove tasks using a GPO or kixscripts

I've done some searching for a way to remove scheduled tasks on my network. I want to remove some of the scheduled tasks such as Adobe and Java updates etc. from the task list and haven't found anything that I can see that would work.
Also, there are some services that I want disabled such as media sharing that I would like to set to disabled
Anyone know how to do this?
0
johnny181
Asked:
johnny181
  • 2
1 Solution
 
Joseph MoodyBlogger and wearer of all hats.Commented:
Most people use Group Policy Registry preferences or software installation to disable auto updates. For example, here is how I disable Java updates:

http://deployhappiness.com/deploy-java-runtime-environment-with-group-policy/
0
 
McKnifeCommented:
With group policy preferences, you have a simple way to modify/disable already existent tasks. Also, you could use startup scripts:
schtasks /delete /tn updatetaskname /f
0
 
johnny181Author Commented:
Ok, I was able to figure this out myself. With Windows 2008 GPO, it's easy and works great. Not sure why I couldn't find anything on this when I was searching


To remove tasks
User Config / Preferences / Control Panel / Scheduled Tasks
Action Delete

To remove services
Computer Config / Preferences/Control Panel Settings /Services
New service
Startup: Disabled
Service name: (look up from autoruns)
Service action: stop service
Log on as: No change

To remove startup items
Computer Config / Preferences / Windows Settings / Registry
Action: Delete
Hive: HKEY_LOCAL_MACHINE
Software\Microsoft\Windows\CurrentVersion\Run
0
 
johnny181Author Commented:
solved this myself
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now