Win7快速获取超级管理员权限的操作方法
时间:2022-09-21 04:05:11
在我们平常电脑的使用中,有时候会遇到需要有超级管理员权限才能执行部分操作,那么我们应该如何获取超级管理员权限呢?相信还有部分用户们不太清楚具体的操作方法,所以今天小编就为大家带来Win7快速获取超级管理员权限的操作方法,我们一起来看看吧。
操作步骤:
1、新建一个.txt文本,将下面的代码复制粘贴到文件中,另存为或重命名为.reg文件,双击此文件或右键点合并此文件;
代码如下:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shell unas]
@=“一键取得超级管理员权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT*shell unascommand]
@=“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_ROOTexefileshell unas2]
@=“一键取得超级管理员权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOTexefileshell unas2command]
@=“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_ROOTDirectoryshell unas]
@=“一键取得超级管理员权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOTDirectoryshell unascommand]
@=“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 unas]
@=“一键取得超级管理员权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT*shell unascommand]
@=“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_ROOTexefileshell unas2]
@=“管理员取得所有权”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOTexefileshell unas2command]
@=“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_ROOTDirectoryshell unas]
@=“一键取得超级管理员权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOTDirectoryshell unascommand]
@=“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”
2、在要获得所有权限的文件或者文件夹上,右键,一键取得超级管理员权限,就可以在普通管理员帐户中,快速取得最高权限;
3、取得权限后,再运行程序,就与在超级管理员帐户中运行中是一样的;
4、还有一种情况是由于有程序正在操作这个文件导致删除不了的情况,启用任务管理器结束该程序所有进程后再次尝试删除即可;
5、启用管理员账户:运行gpedit.msc -- 计算机配置 -- Windows设置 -- 安全设置 -- 本地策略 -- 安全选项 -- 帐户: 管理员帐户状态 -- 双击打开属性 -- 启用 -- 确定。
Win7快速获取超级管理员权限的技巧分享到这里了,获取超级管理权限步骤简单,希望此教程内容能够帮助到大家!
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
不想使用苹果iCloud“云上贵州”?Apple ID转区指南
电脑停电没保存?开启这个设置,再也不怕Excel文档丢失了
![](https://img.aspxhome.com/file/2023/1/a140571_0s.jpg)
让XP系统远离内存读写错误的方法
![](https://img.aspxhome.com/file/2023/29/a260058_0s.jpg)
Win10 20H2怎么还原之前TAB+ALT功能?
![](https://img.aspxhome.com/file/2023/26/a223178_0s.png)
在Word文档中怎么设置文字下标?
![](https://img.aspxhome.com/file/2023/3/18263_0s.png)
excel 数据有效性做下拉菜单,应用数据做序列,要引用三行或者三列数据,怎么办?
![](https://img.aspxhome.com/file/2023/5/a162155_0s.jpg)
Windows10系统各版本的功能有什么不同?
![](https://img.aspxhome.com/file/2023/26/a226443_0s.jpg)
Excel2003如何实现字符替换
0x80004005删除不了文件怎么解决?
![](https://img.aspxhome.com/file/2023/26/a219301_0s.png)
微软最新Win10 19044.2075(KB5017380)正式版发布!
![](https://img.aspxhome.com/file/2023/30/a269472_0s.jpg)
mac中finder侧边栏个人收藏中目录英文改中文的方法
![](https://img.aspxhome.com/file/2023/2/a211352_0s.png)
WPS和Word表格行列的增删
![](https://img.aspxhome.com/file/2023/3/a186723_0s.jpg)
vmware虚拟机怎么安装最新的Win11系统教程?
![](https://img.aspxhome.com/file/2023/1/a276407_0s.png)
Win10 Defender任务栏图标怎么隐藏 Win10 Defender任务栏图标隐藏的方法
![](https://img.aspxhome.com/file/2023/28/a243879_0s.jpg)
MAC下如何使用双指手势缩放桌面壁纸缩略图
![](https://img.aspxhome.com/file/2023/3/a216153_0s.jpg)
怎样使用wps文字转换网页内容
w10无法打开共享电脑的文件夹怎么办?
![](https://img.aspxhome.com/file/2023/1/a279098_0s.png)
苹果发布 macOS Big Sur 11.2.2,防止MacBook被第三方不兼容底座损坏
![](https://img.aspxhome.com/file/2023/3/a208213_0s.jpeg)
word如何对表格进行编辑?
![](https://img.aspxhome.com/file/2023/5/24635_0s.jpg)