So, I am trying to make a startup batch script that runs as an administrator during windows startup.
I have my script here:
powershell -Command "Start-Process cmd -Verb RunAs -ArgumentList '/c fsutil behavior set disablelastaccess 3"
The only problem I am facing here is that every time the batch script gets executed, I always get a prompt to enter administrator password. Is there any additional way to remove this popup and directly run the command?