Hi everyone, there is a simple way to autoupdate my server?

I'm using a dedicated server on windows server 2012.

I've used in the batch this "-autoupdate" but this only quit the server, without update.

Anyone have a solution?

Thanks.