Client update folders when user not logged in

What is the recommended way to get the client to update its folders when its user isn’t logged in.

My usage is on Windows 10 Pro boxes that are used as servers for security video, access control and alarm. I have a script to backup the configurations daily, and copy these to my cloud folder. The problem is that in normal use, no one is logged in. But I need the folders to be updated normally daily.

Since I have 100 machines, I’d really not like to have to write 100 scripts, each with it’s username and password in plain text. It would be great if there was an option for the client to run as a service and do it’s thing regardless if anyone is logged in.

But what is the recommended way of achieving this functionality?