Sfoglia il codice sorgente

Fixed CheckInstallService Function

Richard Newton 6 anni fa
parent
commit
0762b0a8d0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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