Hi Naresh,
thanks for your response.
After a week of searching for the problem, it seems like that I need to ask people first before finding the problem myself.
OneDrive did not synchronize because of wrong storage space calculation.
I have 1TB storage space on my OneDrive account but when syncing. OneDrive said I was 500 MB short of storage space. While I was trying to sync 160 MB (see images).
Solved it by deinstalling OneDrive, killing all OneDrive processes and deleting all OneDrive folders (also hidden folders) before installing OneDrive again.


It seems like the title and tags of this question need to change to something like "OneDrive error".
But I hope I can help others with this post. Who are having trouble with Task Scheduler.
Thanks again for your response.
Guus