Doesn't work on my Win 11
Applications update does not work on Win 11. Win 10 ok. If I change the user in the task from SYSTEM to my account, then it works well, but then I see a powershell window. When running task with SYSTEM, an empty version of winget is in the log file. SYSTEM doesn't have access to winget?
10:18:29 - Notification Level: Full. Notification Language: English 10:18:29 - Checking internet connection... 10:18:31 - Connected ! 10:18:31 - Winget Version: 10:18:31 - WAU current version: 1.11.5 10:18:31 - WAU AutoUpdate is Enabled. 10:18:32 - WAU is up to date. 10:18:32 - WAU uses Black List config 10:18:32 - Checking application updates on Winget Repository... 10:18:33 - No new update. 10:18:33 - End of process!
But there are some updates.
If I change the user in the task from SYSTEM to my account, then it works well, but then I see a powershell window.
Temporary solution - parameter "-windowStyle hidden" for powershell in the task.
Hi. probably linked issue: https://github.com/Romanitho/Winget-AutoUpdate/issues/113
Temporary solution - parameter "-windowStyle hidden" for powershell in the task.
This doesn't seem to have helped in my case.



Temporary solution - parameter "-windowStyle hidden" for powershell in the task.
This doesn't seem to have helped in my case.
This doesn't make winget work, it makes the script window invisible if the task is running with non-System privileges. I have it run with the my account, and so update works.
Temporary solution - parameter "-windowStyle hidden" for powershell in the task.
This doesn't seem to have helped in my case.
This doesn't make winget work, it makes the script window invisible if the task is running with non-System privileges. I have it run with the my account, and so update works.
That makes way more sense now :
Yeah so Windows 11 running as NT\system not working.
Hi. WindowStyle hidden make sense when it is run with an user account. For system, it is not necessary. On my several windows 11 it works great. You might have something wrong on your side. Have you had a look here https://github.com/Romanitho/Winget-AutoUpdate/issues/113 ?
On my several windows 11 it works great. You might have something wrong on your side. Have you had a look here #113 ?
Yes. But I've not installed powershell from msstore.
I'm fine with running the task as admin with "-windowStyle hidden" parameter. But then on WAU self-update I see the script window with "Running Post Update actions"
By the way, some installers show dialog boxes (e.g. CrystalDiskInfo, if the program is already running) . They will not be visible when the task is started as System, right?
If MsStore PS is not installed, it might be an interesting case 😅
If you run under system, you don't have any dialog box displayed, exactly.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.