Run a Command as Administrator from the Run Box in Windows 10 or Windows 11
The Run box is a convenient way to run programs, open folders and documents, and even issue some Command Prompt commands. You can even use it to run programs and commands with administrative privileges.