win10系统右键添加管理员授权的操作方法
时间:2021-09-27 09:30:34 来源:www.cnomit.cn 作者:佚名 浏览次数:
大家对电脑都爱不释手,但偶尔会碰见对win10系统右键添加管理员授权进行设置的问题,相信大家都是第一次面对win10系统右键添加管理员授权的问题,那么怎样快速对win10系统右键添加管理员授权的问题进行设置呢?我们只需要按 1、在桌面新建"文本文档"打开 把下面代码复制到里面 复制内容到剪贴板 2、另存为“管理员授权.reg”。的顺序来就搞定了,现在我们就一同详细的学习一下win10系统右键添加管理员授权具体操作步骤:

1、在桌面新建"文本文档"打开
把下面代码复制到里面
复制内容到剪贴板
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="管理员授权"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*shellrunascommand]
@="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_ROOTexefileshellrunas2]
@="管理员授权"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellrunas2command]
@="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_ROOTDirectoryshellrunas]
@="管理员授权"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@="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、另存为“管理员授权.reg”。

3、双击它打开运行点击是就可以了。
