Win10右键怎么添加管理员取得所有权?Win10管理员取得所有权reg制作步骤
Win10系统相比以往的Windows账户权限并不是很高,所以有用户就会在右键菜单中添加“管理员取得所有权”以避免使用复杂的权限分配设置,本文以制作管理员取得所有权reg为例,为用户讲解Win10右键添加管理员取得所有权的方法。
Win10右键添加管理员取得所有权的reg制作方法:
1、打开记事本,或在桌面先新建一个文本文档打开,然后复制以下注册表代码到记事本中;
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[HKEY_CLASSES_ROOT\*\shell\runas]@="获取超级管理员权限""Icon"="C:\\Windows\\System32\\imageres.dll,-78""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\Directory\shell\runas]@="获取超级管理员权限""Icon"="C:\\Windows\\System32\\imageres.dll,-78""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"
[-HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\runas]@="获取超级管理员权限""HasLUAShield"="""NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\dllfile\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\Drive\shell\runas]
[HKEY_CLASSES_ROOT\Drive\shell\runas]@="获取超级管理员权限""Icon"="C:\\Windows\\System32\\imageres.dll,-78""NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Drive\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"
2、然后右键另存为“管理员取得所有权.reg”,保存类型选择“所有文件”;
3、双击创建好的reg文件,弹出提示信息选择“是”,导入之后需要用户重启一下桌面,即可在右键中显示管理员取得所有权。
猜你喜欢
更多-
win10系统本地组策略编辑器怎么打开?
win10 2016-07-24
-
win10无法开机提示"你的电脑未正确启动"怎么办?
win10 2016-08-19
-
Win10开机一直显示"正在准备自动修复"无法启动怎么办?
win10 2016-12-04
-
win10Microsoft Store下载的文件在哪里
win10 2020-06-18
-
Win10如何打开系统属性窗口有哪些方法
win10 2015-03-20