Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: logs are not in C:\ProgramData\Microsoft\IntuneManagementExtension\Logs

mtylich opened this issue · comments

The problem

Hi,

Please I found out that logs are not copied or linked to Intune logs folder.. C:\ProgramData\Microsoft\IntuneManagementExtension\Logs

logs are located in C:\ProgramData\Winget-AutoUpdate\Logs but not linked to intune logs
Screenshot 2024-05-16 140421
Screenshot 2024-05-16 140504

What version of WAU has the issue?

1.20.0

What version of Windows are you using (ex. Windows 11 22H2)?

Windows 11 23H2

What version of winget are you using?

1.7.11261

Log information

No response

Additional information

No response

Linked to: #556
This came after ServiceUI was introduced managing the execution under System context - Connected user.
The SymLink never gets created.
If Winget-Upgrade.ps1 runs before a user logon the SymLink is created.

I do not understand. we are using that in silent mode without any UI for periodic check of updates.

As long as an user is logged on it runs under system via ServiceUI.
It's a bug depending of ServiceUI - nothing I know how to handle.
Everyting except creating SymLinks functions under ServiceUI.

you are not able to implement it in Winget-AutoUpdate-Install.ps1 in install phase?

Yes, as pointed out in #556

ok, will it be fixed in new WAU version ?

No one have the time yet...

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.