The following batch file will popup a UAC Prompt allowing you to accept elevated Administrator privileges for the batch session. Add your tasks code to :usercode section of the batch, so they run with elevated privileges.
@echo off
setlocal EnableDelayedExpansion
:: test and acquire admin rights
...