win7win8一键获取管理员权限(超级管理员权限)
时间:2023-11-11 01:27:59
这篇文章主要介绍了win7win8一键获取管理员权限(超级管理员权限),需要的朋友可以参考下
win7win8有时会出现删除不了文件的情况,弹窗提示需要某某权限,下面为解决办法:
在普通帐户中快速获得最高的权限:
新建一个.txt文本,将下面的代码复制粘贴到文件中,另存为或重命名为.reg文件,双击此文件或右键点合并此文件。
复制代码代码如下:
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]
@="一键取得超级管理员权限"
"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"
在要获得所有权限的文件或者文件夹上,右键,一键取得超级管理员权限,就可以在普通管理员帐户中,快速取得最高权限。
取得权限后,再运行程序,就与在超级管理员帐户中运行中是一样的。
还有一种情况是由于有程序正在操作这个文件导致删除不了的情况,启用任务管理器结束该程序所有进程后再次尝试删除即可。
启用管理员账户:运行gpedit.msc -- 计算机配置 -- Windows设置 -- 安全设置 -- 本地策略 -- 安全选项 -- 帐户: 管理员帐户状态 -- 双击打开属性 -- 启用 -- 确定.
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
excel2003表单控件的插入方法
考研帮怎么添加院校?考研帮添加院校的方法
![](https://img.aspxhome.com/file/2023/8/a333086_0s.jpg)
Win7系统每次开机用命令ctfmon才出现输入法图标怎么办
![](https://img.aspxhome.com/file/2023/27/a230343_0s.jpg)
QQ五笔输入法如何设置提示功能
![](https://img.aspxhome.com/file/2023/5/a318246_0s.jpg)
斗鱼直播伴侣怎么设置0延迟?斗鱼直播伴侣最佳设置
![](https://img.aspxhome.com/file/2023/7/a327869_0s.jpg)
利用 excel 删除重复项和Vlookup函数组合 给不连续的产品进行批量编号
![](https://img.aspxhome.com/file/2023/6/a155516_0s.jpg)
WPS化学助手插件输入化学公式易如反掌
![](https://img.aspxhome.com/file/2023/5/a165105_0s.jpg)
excel中去掉空白格教程
YouTube视频下载器——Ummy Video Downloader for Mac常见问题合集
![](https://img.aspxhome.com/file/2023/1/a213441_0s.jpeg)
Win10怎么安装回原来的IE浏览器?
![](https://img.aspxhome.com/file/2023/26/a222220_0s.png)
UI设计教程-使用PS/Sketch设计背景模糊效果
![](https://img.aspxhome.com/file/2023/0/a211830_0s.jpeg)
Win10系统 9926预览版运行Steam崩溃的处理方法
Win7旗舰版怎么设置个性化鼠标指针
![](https://img.aspxhome.com/file/2023/1/a279618_0s.jpg)
技巧|在苹果Mac电脑中如何将键盘当作鼠标使用?
![](https://img.aspxhome.com/file/2023/7/a208927_0s.jpeg)
word 通配符高级用法 word快速为所有数字添加下划线
win101903无法连接wifi怎么解决
![](https://img.aspxhome.com/file/2023/9/48279_0s.jpg)
如何下载Win10正式版操作系统?
![](https://img.aspxhome.com/file/2023/26/a226155_0s.jpg)
Win10云剪贴板怎么同步到手机?Win10云剪贴板同步到手机教学
![](https://img.aspxhome.com/file/2023/25/a216989_0s.png)
Excel忘记保存能找回吗?Excel忘记保存找回数据教程
![](https://img.aspxhome.com/file/2023/6/a143676_0s.jpg)
如何设置Macbook触控板轻按操作?
![](https://img.aspxhome.com/file/2023/9/a202749_0s.jpeg)