在Windows 7、8或10的运行框中以管理员身份运行命令

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.

运行框是运行程序,打开文件夹和文档,甚至发出某些命令提示符命令的便捷方法。 您甚至可以使用它来运行具有管理特权的程序和命令。

The Run box has been around since the early days of Windows. It’s become a less-used feature since Windows 7 enhanced the Start menu search to accommodate most of what you can do with the Run box, but the Run box can still be useful. It offers a super fast  way to launch things when you know their names. You can even use it to quickly open hidden system folders with the Shell command. Today, though, we’re going to look at how to run a program or command as an administrator. This technique is super easy and works in Windows 10, 8, and 7.

自Windows成立以来,“运行”框一直存在。 由于Windows 7增强了“开始”菜单搜索以适应您可以使用“运行”框执行的大部分操作,因此该功能已成为较少使用的功能,但“运行”框仍然有用。 当您知道事物的名称时,它提供了一种超快速的方式来启动事物。 您甚至可以使用它通过Shell命令快速打开隐藏的系统文件夹 。 不过,今天,我们将研究如何以管理员身份运行程序或命令。 此技术超级简单,可在Windows 10、8和7中使用。

Hit Windows+R to open the Run box.

按Windows + R打开“运行”框。

在Windows 7、8或10的运行框中以管理员身份运行命令

Type the name of whatever command—or program, folder, document, or website—you want to open. After typing your command, hit Ctrl+Shift+Enter to run it with admin privileges. Hitting Enter runs the command as a normal user.

键入要打开的任何命令的名称(或程序,文件夹,文档或网站)。 键入命令后,按Ctrl + Shift + Enter以管理员权限运行它。 点击Enter键以普通用户身份运行命令。

在Windows 7、8或10的运行框中以管理员身份运行命令

And by the way, if you favor using the Start menu search over the Run box, the Ctrl+Shift+Enter trick will work there, too. Just search for the app or command, highlight using your keyboard arrows, and hit Ctrl+Shift+Enter.

顺便说一句,如果您喜欢使用“开始”菜单搜索而不是“运行”框,则Ctrl + Shift + Enter技巧也可以在那里使用。 只需搜索应用程序或命令,使用键盘箭头突出显示,然后按Ctrl + Shift + Enter。

翻译自: https://www.howtogeek.com/howto/windows-vista/run-a-command-as-administrator-from-the-windows-vista-run-box/

相关文章:

  • 2022-01-22
  • 2021-08-24
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2021-09-14
  • 2021-11-19
  • 2021-11-23
猜你喜欢
  • 2021-10-04
  • 2022-12-23
  • 2021-07-18
  • 2021-11-11
  • 2021-08-06
  • 2021-12-23
  • 2021-05-23
相关资源
相似解决方案