-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: WAUv2 installer not creating scheduled tasks if installed under SYSTEM user #734
Comments
Strange. WAU self-update updates WAU under the system context. No issues so far. I also use SCCM and Intune to push the MSI version with system context. No issues either. |
The culprit here is Tested as SYSTEM, no problem here. EDIT: When testing your original single qoutes string as SYSTEM the tasks failed in creation it's a CMD thing |
Yes, you are right. Double quotes/removing parameters fixes installation. I tested without any parameters and with them, but it didn't work. And now it is working. It's really strange. Thank you for fast help! |
You can even remove it since "6am" is the default value. |
I used exactly setting of 06:00:00 instead of 6am, because of the bug with time format in version 1. It was ignored: #583 |
Oh I see. Still not fixed? I'll have to check that. |
Seem to be getting the same issue here, deployed via intune from a win32app with the following install command msiexec /i "WAU.msi" /qn RUN_WAU=NO DISABLEWAUAUTOUPDATE=0 USEWHITELIST=1 USERCONTEXT=1 BYPASSLISTFORUSERS=0 DESKTOPSHORTCUT=0 STARTMENUSHORTCUT=0 NOTIFICATIONLEVEL=Full UPDATESATLOGON=1 UPDATESINTERVAL=Never DONOTRUNONMETERED=0 No scheduled tasks seem to get configured on the deployed machines. |
Hi, In such condition, playing rounds with commandline (changing to double quotes etc) did not help at all. |
We wanted to migrate the settings how much as possible. Should be ok for next releases: #740 |
This issue is stale because it has been open for 30 days with no activity. |
The problem
Hi.
To mass deploy WAU on user's computer I use a remote management tool that executes cmd commands under NT Authority\SYSTEM account on remote computers (ESET Agent cmd command).
No issues with deploying WAUv1.
After changing the installer to MSI-based, I found an issue: the installer doesn't create Scheduled tasks (and without them, WAU don't start even with a manual start).
My simple script to install (and uninstall v1):
If command
msiexec /i WAU.msi /qn
started under regular users, scheduled tasks are created normally.
If started under SYSTEM account, installation finishing without creating of scheduled tasks.
What version of WAU has the issue?
WAU 2.0.0
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 24H2
What version of winget are you using?
1.8.1911
Log information
No response
Additional information
How to reproduce easily:
The text was updated successfully, but these errors were encountered: