"Run as a different user" is a lesser-known option that allows you to run .bat, .cmd, .exe, .msc, and .msi with different permissions that the currently logged-in user. You can save yourself the trouble of login out and back in using this method.
The easiest way to do this is to press and hold the Shift key and right-click on any .bat, .cmd, .exe, .msc, or .msi file.
Click on Run as different user.
Enter the User name and password.
Optionally, you can sign in with a different account if you have the Microsoft login and password.
You can also use the Runas command in the Command Prompt, but it's a lot of work for nothing. You can look up the /runas user: commands here.