Skip to content
On this page

Win10 设置右键以管理员方式打开 Cmd

  1. Win + R 输入 regedit 打开注册表

  2. 找到路径 HKEY_CLASSES_ROOT\Directory\Background\shell\

  3. 新建项:

  4. shell 目录右键新建一个叫runas的项

  5. runas 目录右键新建一个叫command的项

  6. 更改值:

  7. runas 上右键,新建一个 类型叫 的项目,填入值

  8. 点到 command 里面,右键那个默认,填入

Released under the MIT License.