Skip to content

Commit

Permalink
fix(services): enable Server by default
Browse files Browse the repository at this point in the history
Having Server disabled causes periodic errors in Event Viewer, and also causes quite a few apps to break, potentially even including AME's software.

I don't see why it would use resources unless it needs to be used by something.
  • Loading branch information
he3als committed Aug 6, 2023
1 parent 989446e commit c1fc975
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
9 changes: 2 additions & 7 deletions src/playbook/Configuration/atlas/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ actions:
- !service: {name: 'IpxlatCfgSvc', operation: change, startup: 4}
# KeyIso 4 < causes issues with NVCleanstall's driver telemetry tweak
- !service: {name: 'KtmRm', operation: change, startup: 4}
- !service: {name: 'LanmanServer', operation: change, startup: 4}
- !service: {name: 'LanmanWorkstation', operation: change, startup: 4}
- !service: {name: 'lmhosts', operation: change, startup: 4}
- !service: {name: 'luafv', operation: change, startup: 4}
- !service: {name: 'MSDTC', operation: change, startup: 4}
Expand Down Expand Up @@ -136,18 +134,15 @@ actions:
# FileInfo 4 < breaks installing Microsoft Store applications to different disk (now disabled via store script)
# FileCrypt 4 < Breaks installing Microsoft Store applications to different disk (now disabled via store script)
- !service: {name: 'GpuEnergyDrv', operation: change, startup: 4}
- !service: {name: 'KSecPkg', operation: change, startup: 4}
- !service: {name: 'mrxsmb', operation: change, startup: 4}
- !service: {name: 'mrxsmb20', operation: change, startup: 4}
# NdisVirtualBus 4 < breaks network bridges
- !service: {name: 'nvraid', operation: change, startup: 4}
# PEAUTH 4 < breaks UWP streaming applications such as netflix, manual mode does not fix
# Set rdbss to manual instead of disabling (fixes WSL), thanks Phlegm
- !service: {name: 'rdbss', operation: change, startup: 3}
# Commented as we're not sure if it functions normally set to manual
# - !service: {name: 'rdbss', operation: change, startup: 3}
- !service: {name: 'sfloppy', operation: change, startup: 4}
- !service: {name: 'SiSRaid2', operation: change, startup: 4}
- !service: {name: 'SiSRaid4', operation: change, startup: 4}
- !service: {name: 'srv2', operation: change, startup: 4}
- !service: {name: 'tcpipreg', operation: change, startup: 4}
- !service: {name: 'Telemetry', operation: change, startup: 4}
- !service: {name: 'udfs', operation: change, startup: 4}
Expand Down
3 changes: 1 addition & 2 deletions src/playbook/Configuration/atlas/start.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
title: Copy
description: Copies Atlas folders/files and performs the preliminary configuration
privilege: TrustedInstaller
Expand Down Expand Up @@ -71,7 +71,6 @@ actions:
- !cmd: {command: 'DISM /Online /Disable-Feature /FeatureName:"Printing-Foundation-InternetPrinting-Client" /NoRestart', weight: 30}
- !cmd: {command: 'DISM /Online /Disable-Feature /FeatureName:"Printing-XPSServices-Features" /NoRestart', weight: 30}
- !cmd: {command: 'DISM /Online /Disable-Feature /FeatureName:"MSRDC-Infrastructure" /NoRestart', weight: 30}
- !cmd: {command: 'DISM /Online /Disable-Feature /FeatureName:"SmbDirect" /NoRestart', weight: 30}
- !cmd: {command: 'DISM /Online /Disable-Feature /FeatureName:"Windows-Defender-Default-Definitions" /NoRestart', weight: 30}
- !cmd: {command: 'DISM /Online /Disable-Feature /FeatureName:"WorkFolders-Client" /NoRestart', weight: 30}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
)

call setSvc.cmd KSecPkg 4
call setSvc.cmd LanmanServer 4
call setSvc.cmd LanmanWorkstation 4
call setSvc.cmd mrxsmb 4
call setSvc.cmd mrxsmb20 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
)

call setSvc.cmd KSecPkg 0
call setSvc.cmd LanmanServer 2
call setSvc.cmd LanmanWorkstation 2
call setSvc.cmd mrxsmb 3
call setSvc.cmd mrxsmb20 3
Expand Down

0 comments on commit c1fc975

Please sign in to comment.