Windows 7 系统使用批处理创建获取权限的菜单

Windows 7 操作系统利用批处置建立获取权限的菜单(不是以办理员身份运行菜单)

Windows 7 系统使用批处理创建获取权限的菜单


方式/
1右键点击桌面→新建 。

Windows 7 系统使用批处理创建获取权限的菜单



2新建→文本文档 。

Windows 7 系统使用批处理创建获取权限的菜单



3复制粘贴以下号令:
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"

Windows 7 系统使用批处理创建获取权限的菜单



4文件→另存为 。

Windows 7 系统使用批处理创建获取权限的菜单



5获取权限.bat →保留 。

Windows 7 系统使用批处理创建获取权限的菜单



6双击批处置注入注册表→是 。

Windows 7 系统使用批处理创建获取权限的菜单



7【Windows 7 系统使用批处理创建获取权限的菜单】确定 。

Windows 7 系统使用批处理创建获取权限的菜单



注重事项
以上内容就是Windows 7 系统使用批处理创建获取权限的菜单的内容啦,希望对你有所帮助哦!

    猜你喜欢