diff --git a/install.bat b/install.bat index 3fd1e86..1c0b08e 100644 --- a/install.bat +++ b/install.bat @@ -2,4 +2,4 @@ SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -StartMenuShortcut -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 \ No newline at end of file +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