From 388c63f8205c90262c14ef6af3f4f70bf61404e0 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 1 May 2023 01:35:21 +0200 Subject: [PATCH] Add disable services --- src/Configuration/custom.yml | 1 + src/Configuration/features/lite/services.yml | 48 ++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/Configuration/features/lite/services.yml diff --git a/src/Configuration/custom.yml b/src/Configuration/custom.yml index f13098e..6de11a7 100644 --- a/src/Configuration/custom.yml +++ b/src/Configuration/custom.yml @@ -10,6 +10,7 @@ features: - features\lite\search.yml - features\lite\scheduled-tasks.yml - features\lite\improvements.yml + - features\lite\services.yml - features\personalization\dark-mode.yml - features\personalization\explorer.yml - features\personalization\taskbar.yml diff --git a/src/Configuration/features/lite/services.yml b/src/Configuration/features/lite/services.yml new file mode 100644 index 0000000..a27e211 --- /dev/null +++ b/src/Configuration/features/lite/services.yml @@ -0,0 +1,48 @@ +--- +title: Services +description: Configures services +privilege: TrustedInstaller +actions: + - !writeStatus: {status: 'Configuring services'} + + # Stop and disable Diagnostics Tracking Service + - !service: {name: 'DiagTrack', operation: stop} + - !service: {name: 'DiagTrack', startup: 4} + # Microsoft (R) Diagnostics Hub Standard Collector Service + - !service: {name: 'diagnosticshub.standardcollector.service', operation: stop} + - !service: {name: 'diagnosticshub.standardcollector.service', startup: 4} + # WAP Push Message Routing Service + - !service: {name: 'dmwappushservice', operation: stop} + - !service: {name: 'dmwappushservice', startup: 4} + # Geolocation Service + - !service: {name: 'lfsvc', operation: stop} + - !service: {name: 'lfsvc', startup: 4} + # Downloaded Maps Manager + - !service: {name: 'MapsBroker', operation: stop} + - !service: {name: 'MapsBroker', startup: 4} + # Net.Tcp Port Sharing Service + - !service: {name: 'NetTcpPortSharing', operation: stop} + - !service: {name: 'NetTcpPortSharing', startup: 4} + # Routing and Remote Access + - !service: {name: 'RemoteAccess', operation: stop} + - !service: {name: 'RemoteAccess', startup: 4} + # Internet Connection Sharing (ICS) + - !service: {name: 'SharedAccess', operation: stop} + - !service: {name: 'SharedAccess', startup: 4} + # Distributed Link Tracking Client + - !service: {name: 'TrkWks', operation: stop} + - !service: {name: 'TrkWks', startup: 4} + # Windows Biometric Service (required for Fingerprint reader / facial detection) + - !service: {name: 'WbioSrvc', operation: stop} + - !service: {name: 'WbioSrvc', startup: 4} + # Windows Media Player Network Sharing Service + - !service: {name: 'WMPNetworkSvc', operation: stop} + - !service: {name: 'WMPNetworkSvc', startup: 4} + # Windows Network Data Usage Monitor + - !service: {name: 'ndu', operation: stop} + - !service: {name: 'ndu', startup: 4} + # Stop and disable Home Groups services + - !service: {name: 'HomeGroupListener', operation: stop} + - !service: {name: 'HomeGroupListener', startup: 4} + - !service: {name: 'HomeGroupProvider', operation: stop} + - !service: {name: 'HomeGroupProvider', startup: 4}