win7系统右键怎么添加管理员权限?
时间:2023-06-27 22:08:25
win7系统右键怎么添加管理员权限?win7系统中默认右键是没有以管理员身份运行的功能的,但是经常需要使用这个项目,该怎么添加到右键方便使用呢?请看下文详细介绍,需要的朋友可以参考下
win 7 右键菜单里没有“以管理员身份运行”的选项怎么办?在注册表中新建项,自行添加以管理员身份运行的菜单即可。
1、右键点击任意一个文件,并不是每个菜单中都有以管理员身份运行的子项。
2、可以这样设置:使用鼠标右键点击桌面空白处,在弹出的菜单中点选新建→文本文档。
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"
[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"
4、然后在工具栏上点选文件→另存为。
5、在弹出的设置框中输入文件名(管理员)和扩展名(reg)→保存。
6、然后,双击新建的管理员.reg文件注册一下→是。
7、注册成功→确定。
8、再使用右键点击文件,就有以管理员身份运行的子项了,使用起来更方便。默认情况下,只有部分右键菜单有管理员权限的菜单,这样操作,所有的右键菜单中都会有有管理员的子菜单了。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
在Word2010中切换专业型和线性公式布局
![](https://img.aspxhome.com/file/2023/4/21634_0s.jpg)
win10更新失败_win10系统升级失败开不了机的解决办法
![](https://img.aspxhome.com/file/2023/3/a297383_0s.jpg)
WPS里怎么插入视频
![](https://img.aspxhome.com/file/2023/3/a184403_0s.jpg)
Win7系统如何设置电脑密码?
![](https://img.aspxhome.com/file/2023/5/a313751_0s.jpg)
WPS文档怎么添加页眉和页脚
![](https://img.aspxhome.com/file/2023/7/a185707_0s.jpg)
Windows记事本应用现在可以从Microsoft Store中获得
![](https://img.aspxhome.com/file/2023/2/a284414_0s.jpg)
在Word 2007设置分栏的方法
![](https://img.aspxhome.com/file/2023/3/30063_0s.jpg)
怎么在Excel中跳过空格粘贴?
![](https://img.aspxhome.com/file/2023/4/39914_0s.jpg)
windows资源管理器已停止工作
![](https://img.aspxhome.com/file/2023/2/a288688_0s.jpg)
Win7系统怎么跳过硬盘自检?Win7系统硬盘自检跳过方法分享
![](https://img.aspxhome.com/file/2023/27/a230053_0s.jpg)
Win10专业版如何安装应用商店?
![](https://img.aspxhome.com/file/2023/26/a223280_0s.png)
wps如何快速生成用户名和密码
Win10怎么设置中文语言?Win10设置语言为中文的方法图解
![](https://img.aspxhome.com/file/2023/28/a247235_0s.png)
微软打算为Win10 RS5慢速更新用户提供ISO镜像
![](https://img.aspxhome.com/file/2023/28/a241482_0s.jpg)
WPS如何用TIME函数表示时间
![](https://img.aspxhome.com/file/2023/5/a184875_0s.png)
word文本显示不全怎么办? word让文字全部显示的三种技巧
![](https://img.aspxhome.com/file/2023/7/25457_0s.jpg)
电脑版WPS演示文稿怎么删除流程图的背景
![](https://img.aspxhome.com/file/2023/3/a182873_0s.png)
苹果MAC系统中的AirDrop应用怎么用?
![](https://img.aspxhome.com/file/2023/7/a215967_0s.jpg)
WPS excel如何做饼图?
![](https://img.aspxhome.com/file/2023/5/a185275_0s.png)
电脑版WPS演示文稿怎么将繁体字转为简体字
![](https://img.aspxhome.com/file/2023/8/a183088_0s.png)