You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change made in this commit break the service unless it is running under your actual user account. By default the service runs as LocalSystem so cannot find the teams log file.
Reverting this change fixed the service for me.
The text was updated successfully, but these errors were encountered:
I had the same problem after i changed the script with the commit. After i changed the service to log on as my own user instead of Local System it worked again. If the script is running under your own user it can read the $env:APPDATA variable.
This no longer works for me when running as a service, either under the system account, or my own account.
Instead, I have set to run as a schedule task:
and for those of you that leave your computer on 24/7, untick the "Stop task if it runs longer than"
The change made in this commit break the service unless it is running under your actual user account. By default the service runs as
LocalSystem
so cannot find the teams log file.Reverting this change fixed the service for me.
The text was updated successfully, but these errors were encountered: