Przeglądaj źródła

Fixed CheckInstallService Function

Richard Newton 6 lat temu
rodzic
commit
0762b0a8d0
1 zmienionych plików z 2 dodań i 0 usunięć
  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