Explorar o código

Fixed CheckInstallService Function

Richard Newton %!s(int64=6) %!d(string=hai) anos
pai
achega
0762b0a8d0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Windows10SysPrepDebloater.ps1

+ 2 - 0
Windows10SysPrepDebloater.ps1

@@ -216,6 +216,8 @@ Function CheckInstallService {
   If (Get-Service -Name InstallService | Where-Object ($_.Status -eq "Stopped"}) {
       Start-Service -Name InstallService
       Set-Service -Name InstallService -StartupType Automatic
+      }
+ }
 
 Write-Output "Initiating Sysprep"
 Begin-SysPrep