win10系统右键没有管理员运行的图文方法
时间:2021-09-22 13:51:31 来源:www.cnomit.cn 作者:佚名 浏览次数:
大家对电脑都爱不释手,但偶尔会碰见win10系统右键没有管理员运行的问题,相信大家都是第一次面对win10系统右键没有管理员运行的问题,那么怎样快速解决win10系统右键没有管理员运行的问题呢?我们只需要按 1、按下Win+R组合键,在运行命令中输入“regedit”后回车,打开注册表编辑器; 2、在左侧展开:HKEY_CLASSES_ROOT\Directory\shell;的顺序来就可以了,现在我们就一同详细的学习一下win10系统右键没有管理员运行的解决方法:
步骤:
1、按下Win+R组合键,在运行命令中输入“regedit”后回车,打开注册表编辑器;

2、在左侧展开:HKEY_CLASSES_ROOT\Directory\shell;

3、在shell项上单击右键,选择新建“项”,将其命令为:runas ;

4、点击“runas”,在右侧双击打开“默认”值,将其数值数据修改为:管理员取得所有权 点击确定即可。

5、修改完成后,在空白处单击右键,选择“新建”—“字符串值”,将该值命名为:NoWorkingDirectoryl ;

6、在右侧“ runas”上单击右键,选择“新建”—“项”,将其命名为“command ”;

7、点击“Command”,在右侧双击“默认”字符,将其数值数据修改为:cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t 点击确定即可。

完成操作关闭注册表,右键菜单的【以管理员身份运行】的选项就回来了。
步骤:
1、按下Win+R组合键,在运行命令中输入“regedit”后回车,打开注册表编辑器;

2、在左侧展开:HKEY_CLASSES_ROOT\Directory\shell;

3、在shell项上单击右键,选择新建“项”,将其命令为:runas ;

4、点击“runas”,在右侧双击打开“默认”值,将其数值数据修改为:管理员取得所有权 点击确定即可。

5、修改完成后,在空白处单击右键,选择“新建”—“字符串值”,将该值命名为:NoWorkingDirectoryl ;

6、在右侧“ runas”上单击右键,选择“新建”—“项”,将其命名为“command ”;

7、点击“Command”,在右侧双击“默认”字符,将其数值数据修改为:cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t 点击确定即可。

完成操作关闭注册表,右键菜单的【以管理员身份运行】的选项就回来了。
以上就是解决win10系统右键没有管理员运行的解决方法方法还是很简单的,如果还有不清楚的可以参考以上的教程,更多精彩内容欢迎继续关注!