Running a program as administrator is a common task in Windows. You need to have administrator rights when installing programs, editing certain files, etc. You can easily do this with the "run as" function.
How do I always run a program in administrator mode in Windows 10?
Obviously, running a task as an administrator is only useful if you're not already an administrator. If you're logged into Windows as a regular, standard user, you can choose to open something as a different user who does have administrator privileges, saving you from having to log out and then log back in as an administrator to perform just one or two tasks.
The “Run as” option in Windows doesn’t work exactly the same way in every version of Windows. Newer versions of Windows—Windows 10, Windows 8, and Windows 7—require different steps than earlier versions.
If you are using Windows 10, 8, or 7, follow these steps: