wujiangling

直接代码,转过来的

20180316更新添加快捷键A,点右键按A即可;

Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command-window-here-administrator.html
;Update by: Wujiangling
; Shortcut key A : http://www.cnblogs.com/wujiangling/p/8578954.html [-HKEY_CLASSES_ROOT\Directory\shell\runas] [HKEY_CLASSES_ROOT\Directory\shell\runas] @="Open cmd here as
&Admin" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /s /k pushd \"%V\"" [-HKEY_CLASSES_ROOT\Directory\Background\shell\runas] [HKEY_CLASSES_ROOT\Directory\Background\shell\runas] @="Open cmd here as &Admin" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command] @="cmd.exe /s /k pushd \"%V\"" [-HKEY_CLASSES_ROOT\Drive\shell\runas] [HKEY_CLASSES_ROOT\Drive\shell\runas] @="Open cmd here as &Admin" "HasLUAShield"="" [HKEY_CLASSES_ROOT\Drive\shell\runas\command] @="cmd.exe /s /k pushd \"%V\""

 

卸载代码

Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command-window-here-administrator.html

[-HKEY_CLASSES_ROOT\Directory\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
[-HKEY_CLASSES_ROOT\Drive\shell\runas]

 

使用说明:

将以上代码复制后,新建文本文件,粘贴后保存为*.reg文件导入即可。

分类:

技术点:

相关文章:

  • 2021-11-27
  • 2021-05-14
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-10-28
  • 2022-01-22
  • 2021-12-23
猜你喜欢
  • 2022-02-28
  • 2021-05-18
  • 2021-09-28
  • 2021-12-29
  • 2021-12-12
  • 2021-07-30
相关资源
相似解决方案