Skip to content

Commit

Permalink
feat(tasks): disable A/B testing usage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jul 15, 2024
1 parent 121771c commit 5067b36
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
title: Disable Scheduled Tasks
description: Disables scheduled tasks to prevent automatic tasks from running at startup, consuming resources and collecting user data
actions:
# "The Windows Scheduled Maintenance Task performs periodic maintenance of the
# computer system by fixing problems automatically or reporting them through Security and Maintenance."
- !scheduledTask: {path: '\Microsoft\Windows\Diagnosis\Scheduled', operation: disable}

# Updates compatibility database
- !scheduledTask: {path: '\Microsoft\Windows\Application Experience\PcaPatchDbTask', operation: disable}

# UCPD - might not exist on all installs, so ignore errors
- !scheduledTask: {path: '\Microsoft\Windows\AppxDeploymentClient\UCPD velocity', operation: disable, ignoreErrors: true}

# A/B testing usage reports
- !scheduledTask: {path: '\Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting', operation: disable, ignoreErrors: true}
- !registryValue:
path: 'HKLM\System\CurrentControlSet\Control\Ubpm'
value: 'CriticalMaintenance_UsageDataReporting' # Remove from automatic maintenance
operation: delete

# -------------------------------------------------------------------------------------
# Here are the scheduled tasks that are currently commented as they're under review.
# This list should be somewhat minimal in the tasks it deletes, as a lot of the tasks
Expand All @@ -28,6 +31,10 @@ actions:
# - !scheduledTask: {path: '\Microsoft\Windows\InstallService\ScanForUpdatesAsUser'}
# - !scheduledTask: {path: '\Microsoft\Windows\WindowsUpdate\Scheduled Start'}

# "The Windows Scheduled Maintenance Task performs periodic maintenance of the
# computer system by fixing problems automatically or reporting them through Security and Maintenance."
# - !scheduledTask: {path: '\Microsoft\Windows\Diagnosis\Scheduled', operation: disable}

# Wouldn't be randomly executed
# - !scheduledTask: {path: '\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector'}
# - !scheduledTask: {path: '\Microsoft\Windows\DiskFootprint\Diagnostics'}
Expand Down

0 comments on commit 5067b36

Please sign in to comment.