We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75110ef commit d2d08f1Copy full SHA for d2d08f1
Sources/Winget-AutoUpdate/Winget-Upgrade.ps1
@@ -47,7 +47,7 @@ if ($true -eq $IsSystem) {
47
if ($explorerprocesses.Count -gt 0) {
48
Write-ToLog "Rerun WAU in system context with ServiceUI"
49
Start-Process `
50
- -FilePath $fp3 `
+ -FilePath $ServiceUIexe `
51
-ArgumentList "-process:explorer.exe $env:windir\System32\conhost.exe --headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File winget-upgrade.ps1" `
52
-WorkingDirectory $WorkingDir `
53
-Wait
0 commit comments