From 5fe54c6ad2cb323881cb59b774b2ed133b457c35 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Tue, 25 Oct 2022 01:51:03 +0200 Subject: [PATCH] added InstallUserContext argument --- install.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.bat b/install.bat index 1c0b08e..24a52b8 100644 --- a/install.bat +++ b/install.bat @@ -1,5 +1,5 @@ @echo off -SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -StartMenuShortcut +SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -StartMenuShortcut -InstallUserContext powershell -Command "Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; Start-Process powershell.exe -Argument '-noprofile -executionpolicy bypass -file """%~dp0Winget-AutoUpdate-Install.ps1"" %arguments%'" -Verb RunAs