Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)
MIT License
1.08k stars 133 forks source link

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

Closed mtylich closed 2 months ago

mtylich commented 4 months ago

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

KnifMelti commented 4 months ago

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.

mtylich commented 4 months ago

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

KnifMelti commented 4 months ago

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.

mtylich commented 4 months ago

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

KnifMelti commented 4 months ago

Yes, as pointed out in #556

mtylich commented 4 months ago

ok, will it be fixed in new WAU version ?

KnifMelti commented 4 months ago

No one have the time yet...

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.