Skip to content

Commit 620e2c2

Browse files
[windows] disable StorSvc for runners (#8388)
1 parent 74242a4 commit 620e2c2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

images/win/scripts/Installers/Finalize-VM.ps1

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,14 @@ $regUserServicesToDisables | ForEach-Object {
9191

9292
# Disabled services
9393
$servicesToDisable = @(
94-
"wuauserv"
95-
"DiagTrack"
96-
"dmwappushservice"
97-
"PcaSvc"
98-
"SysMain"
99-
"gupdate"
100-
"gupdatem"
94+
'wuauserv'
95+
'DiagTrack'
96+
'dmwappushservice'
97+
'PcaSvc'
98+
'SysMain'
99+
'gupdate'
100+
'gupdatem'
101+
'StorSvc'
101102
)
102103

103104
$servicesToDisable | ForEach-Object {

0 commit comments

Comments
 (0)