From eadf4136edad89bfee279a5be9ec054562f6c01f Mon Sep 17 00:00:00 2001 From: romanitho <96626929+Romanitho@users.noreply.github.com> Date: Mon, 9 Oct 2023 14:59:11 +0200 Subject: [PATCH] Clean --- Winget-AutoUpdate-Install.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/Winget-AutoUpdate-Install.ps1 b/Winget-AutoUpdate-Install.ps1 index 302c8de..32a6c6b 100644 --- a/Winget-AutoUpdate-Install.ps1 +++ b/Winget-AutoUpdate-Install.ps1 @@ -427,9 +427,6 @@ function Install-WingetAutoUpdate { if ($InstallUserContext) { New-ItemProperty $regPath -Name WAU_UserContext -Value 1 -PropertyType DWord -Force | Out-Null } - else { - New-ItemProperty $regPath -Name WAU_UserContext -Value 0 -PropertyType DWord -Force | Out-Null - } if ($DesktopShortcut) { New-ItemProperty $regPath -Name WAU_DesktopShortcut -Value 1 -PropertyType DWord -Force | Out-Null }