取得:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@=”管理员取得所有权”
“NoWorkingDirectory”=””
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F”
“IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F”
[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@=”管理员取得所有权”
“NoWorkingDirectory”=””
[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F”
“IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F”

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=”管理员取得所有权”
“NoWorkingDirectory”=””
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t”
“IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t”

取消:

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
[-HKEY_CLASSES_ROOT\dllfile\shell]
[-HKEY_CLASSES_ROOT\Drive\shell\runas]
[-HKEY_CLASSES_ROOT\exefile\shell\runas]
[HKEY_CLASSES_ROOT\exefile\shell\runas]
“HasLUAShield”=””
[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@=”\”%1\” %*”
“IsolatedCommand”=”\”%1\” %*”

最新文章

  1. 执行ssh-add时出现Could not open a connection to your authentication agent
  2. hibernate映射文件
  3. ClearContainer 网络部分源码分析
  4. ubuntu:activate root
  5. android中include 的使用讲解
  6. ajax讲解:“创建用户”和“用户登录”练习
  7. vim的编码设置
  8. pig命令行快捷键
  9. javaSE27天学习目录
  10. for xml path以及sql合并查询
  11. poj3067
  12. At-rule | CSS @ 规则
  13. 数据库的发展现状与前景——NewSQL界的佼佼者,如Couchbase、Aerospike、Marklogic和 SequoiaDB,NewSQL的许多厂商,如:MemSQL、VoltDB、ScaleDB和CitusDB
  14. (function(){})(jQuery)的功能和用途?
  15. codecomb 2085【肥得更高】
  16. SSD常见问题的技术分析
  17. 宽客的人&&事件映射
  18. Docker学习总结(一)
  19. phython廖雪峰
  20. React不同版本之间需要注意的地方

热门文章

  1. Accessing an element's parent with ElementTree(转)
  2. Namespace declaration statement has to be the very first statement in the script
  3. Maven系列--setting.xml 配置详解
  4. js 日期相差的天数
  5. Ganglia开源集群监视项目
  6. 抽象工厂(Abstract Factory),工厂方法(Factory Method),单例模式(Singleton Pattern)
  7. asm rebalance 原理
  8. TabLayout ViewPager Fragment 简介 案例 MD
  9. AngularJs 阻止事件运行,防止冒泡穿透事件
  10. python3 把excel文件合并并保存到csv文件