The account has admin privileges, and the batch file is run with highest privileges in task scheduler.
I have problems deleting the files.
Local security policy, log on as batch job , has administrators in the group
Why is it happening?
I do not want to disable UAC, yet I guess I will have to disable it, as it interferes with the script.