If you wish to elevate and always run a Batch file as an administrator in Windows 11/10, follow the procedure laid down in this post. You can run a Batch file as Administrator without a prompt. You ...
Even if you've set up your user account to be an Administrator (the default setting if yours is the only account on the PC), Windows insists on running most programs using a standard user token.