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
Batch processing ERROR_NOT_AUTHENCATED
- Posts: 6
- Joined: 24 Oct 2020
- Attachments
-
- Error_batch_FFS.png (38.46 KiB) Viewed 930 times
- Posts: 4056
- Joined: 11 Jun 2019
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
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