From 4001abbc2e446cf68e5e9fc7273b4640256a7959 Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Sat, 23 Feb 2019 14:28:44 -0800 Subject: [PATCH] Update Windows10SysPrepDebloater.ps1 --- Windows10SysPrepDebloater.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Windows10SysPrepDebloater.ps1 b/Windows10SysPrepDebloater.ps1 index b54bb5a..0ac946f 100644 --- a/Windows10SysPrepDebloater.ps1 +++ b/Windows10SysPrepDebloater.ps1 @@ -13,7 +13,7 @@ Function Begin-SysPrep { Write-Verbose -Message ('Starting Sysprep Fixes') # Disable Windows Store Automatic Updates - Write-Verbose -Message "Adding Registry key to Disable Windows Store Automatic Updates" + <# Write-Verbose -Message "Adding Registry key to Disable Windows Store Automatic Updates" $registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore" If (!(Test-Path $registryPath)) { Mkdir $registryPath -ErrorAction SilentlyContinue @@ -24,8 +24,8 @@ Function Begin-SysPrep { } #Stop WindowsStore Installer Service and set to Disabled Write-Verbose -Message ('Stopping InstallService') - Stop-Service InstallService - } + Stop-Service InstallService + } #> #Creates a PSDrive to be able to access the 'HKCR' tree New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT