Skip to content

Commit

Permalink
feat: disabled more services & scheduled tasks and removed more appx,…
Browse files Browse the repository at this point in the history
… disabled suggestions in start
  • Loading branch information
respberryx committed Oct 17, 2024
1 parent a5e9bb3 commit db37064
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 12 deletions.
9 changes: 8 additions & 1 deletion src/playbook/Configuration/atlas/appx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ actions:
# Seems legacy - not in 23H2
- !taskKill: {name: 'msteams*', ignoreErrors: true}
- !appx: {name: 'MicrosoftTeams*', type: family}
- !registryValue: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications', value: 'ConfigureChatAutoInstall', data: '0', type: REG_DWORD}
- !registryValue: {
path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications',
value: 'ConfigureChatAutoInstall',
data: '0',
type: REG_DWORD,
}

# New AppX Teams in 24H2
- !taskKill: {name: 'ms-teams*', ignoreErrors: true}
Expand Down Expand Up @@ -66,6 +71,8 @@ actions:
- !appx: {name: 'Microsoft.WindowsFeedbackHub*', type: family}
- !appx: {name: 'Microsoft.WindowsMaps*', type: family}
- !appx: {name: 'Microsoft.WindowsSoundRecorder*', type: family}
- !appx: {name: 'Microsoft.XboxSpeechToTextOverlay*', type: family} # Xbox speech-to-text feature
- !appx: {name: 'Microsoft.ZuneMusic*', type: family} # Phone app
# Removing using AME Wizard causes issues with Cross Device Experience Host installing
# - !appx: {name: 'Microsoft.YourPhone*', type: family}
- !powerShell:
Expand Down
14 changes: 14 additions & 0 deletions src/playbook/Configuration/atlas/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ actions:
- !service: {name: 'TrkWks', operation: change, startup: 4}
- !service: {name: 'PcaSvc', operation: change, startup: 4}
- !service: {name: 'DiagTrack', operation: change, startup: 4}
- !service: {name: 'WbioSrvc', operation: change, startup: 4}
- !service: {name: 'SysMain', operation: change, startup: 4}
- !service: {name: 'RetailDemo', operation: change, startup: 4}
- !service: {name: 'DoSvc', operation: change, startup: 4} # Disables Delivery Optimization
- !service: {name: 'SensorDataService', operation: change, startup: 4}
- !service: {name: 'SensrSvc', operation: change, startup: 4}
- !service: {name: 'SensorService', operation: change, startup: 4}
- !service: {name: 'icssvc', operation: change, startup: 4} # Disables Windows Mobile Hotspot Service
- !service: {name: 'WalletService', operation: change, startup: 4}
- !service: {name: 'FontCache', operation: change, startup: 4} # Slows down font rendering
- !service: {name: 'DPS', operation: change, startup: 4} # Disables Diagnostic Policy Service; telemetry mostly.
- !service: {name: 'WdiServiceHost', operation: change, startup: 4} # Disables Diagnostic Service Host; telemetry mostly.
- !service: {name: 'WdiSystemHost', operation: change, startup: 4} # Disables Diagnostic System Host; telemetry mostly.


# ------ Microsoft recommendation - 'Do not disable' -----
- !service: {name: 'diagnosticshub.standardcollector.service', operation: change, startup: 4}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,10 @@ actions:
value: 'SoftLandingEnabled'
data: '0'
type: REG_DWORD

# Disable 'Occasionally show suggestions in Start'
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager'
value: 'SystemPaneSuggestionsEnabled'
data: '0'
type: REG_DWORD
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,16 @@ actions:
# - !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'}
# - !scheduledTask: {path: '\Microsoft\Windows\Maintenance\WinSAT'}
- !scheduledTask: {path: '\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector', operation: disable} # Disables disk diagnostic data collection (Telemetry)
- !scheduledTask: {path: '\Microsoft\Windows\DiskFootprint\Diagnostics', operation: disable} # Disables disk footprint diagnostics (Telemetry)
- !scheduledTask: {path: '\Microsoft\Windows\Maintenance\WinSAT', operation: disable} # Disables measuring system performance (Telemetry)
# - !scheduledTask: {path: '\Microsoft\Windows\MemoryDiagnostic\RunFullMemoryDiagnostic'}
# - !scheduledTask: {path: '\Microsoft\Windows\Shell\IndexerAutomaticMaintenance'} # Unless indexing is enabled
# - !scheduledTask: {path: '\Microsoft\Windows\Shell\FamilySafetyMonitor'}
# - !scheduledTask: {path: '\Microsoft\Windows\Shell\FamilySafetyRefresh'}
# - !scheduledTask: {path: '\Microsoft\Windows\Shell\FamilySafetyRefreshTask'}
# - !scheduledTask: {path: '\Microsoft\Windows\PI\Sqm-Tasks'}
# - !scheduledTask: {path: '\Microsoft\Windows\Registry\RegIdleBackup'} # Registry backups are disabled by default
# - !scheduledTask: {path: '\Microsoft\Windows\StateRepository\MaintenanceTasks'}
# - !scheduledTask: {path: '\Microsoft\Windows\ApplicationData\appuriverifierdaily'}
# - !scheduledTask:
# path: '\Microsoft\Windows\Location'
# operation: deleteFolder
- !scheduledTask: {path: '\Microsoft\Windows\StateRepository\MaintenanceTasks', operation: disable} # Disables State Repository maintenance tasks (Telemetry)
- !scheduledTask: {path: '\Microsoft\Windows\ApplicationData\appuriverifierdaily', operation: disable} # Disables daily app URI verifier (Telemetry)

# Needs research
# - !scheduledTask: {path: '\Microsoft\Windows\AppID\EDP Policy Manager'}
Expand All @@ -68,4 +64,4 @@ actions:
# - !scheduledTask: {path: '\Microsoft\Windows\Windows Media Sharing\UpdateLibrary'}
# - !scheduledTask: {path: '\Microsoft\Windows\CloudExperienceHost\CreateObjectTask'}
# - !scheduledTask: {path: '\Microsoft\Windows\ApplicationData\DsSvcCleanup'}
# - !scheduledTask: {path: '\Microsoft\Windows\Application Experience\StartupAppTask'} # notification to the user if there are too many startup entries
- !scheduledTask: {path: '\Microsoft\Windows\Application Experience\StartupAppTask', operation: disable} # Disables notification about too many startup entries (Telemetry)

0 comments on commit db37064

Please sign in to comment.