Batch processing ERROR_NOT_AUTHENCATED

Get help for specific problems
Posts: 6
Joined: 24 Oct 2020

john78

Batch processing works correctly when started manually.
When the program is started by the task scheduler I get an error message.
ERROR_NOT_AUTHENTICATED [WNetAddConnection2]
My OS Windows 11 home - task scheduler “run with highest privileges” - connection via WebDav
How can I solve this?
Thanks for your help.
Yrs,
JC
Attachments
Error_batch_FFS.png
Error_batch_FFS.png (38.46 KiB) Viewed 930 times
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

Try disabling "run with highest privileges"
I know the instructions say to use that, but that is probably causing the issue. That setting makes the task use SYSTEM profile, which doesn't have access to the network location. Disabling that option will use your user account, which does have access. I don't recall specifically why Zenju says to use highest privileges. It does allow the best chances to run and have access to files