Hi,
Please create a new scheduled task under User Configuration > Preferences > Control Panel Settings > Scheduled Tasks and select New > Scheduled task (At least Windows 7) to run your script. In the General tab, choose the user account to use and check "Run with highest privileges".
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.