在使用win10系统的过程中,我们经常需要在win10系统上单击鼠标右键以添加管理员以获得所有权设置方法. 我必须遇到需要在Win10系统中添加右键单击以添加管理员以获取所有权的设置,然后我应该如何将Win10系统设置为右键单击并添加管理员以获得所有权. 操作方法非常简单,只需1.打开记事本,或在桌面上创建一个新的文本文档以将其打开,然后将以册表代码复制到记事本中; 2.然后右键单击另存为“ Administrator Obtain Ownership.reg”,选择“所有文件”作为保存类型;这一步很好;下面的编辑器将带您了解如何通过右键单击win10系统来添加管理员以获取所有权:
Win10右键单击以添加注册表创建方法,以便管理员获得所有权:
1. 打开记事本,或在桌面上创建一个新的文本文档以将其打开,然后将以册表代码复制到记事本中;
Windows注册表编辑器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管理员: 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 / dy && icacls \”%1 \“ / grant管理员: F / t “” IsolatedCommand“ =” cmd.exe / c takeown / f \“%1 \” / r / dy && 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管理员: 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 / dy && icacls \”%1 \“ / grant管理员: F / t “” IsolatedCommand“ =” cmd.exe / c takeown / f \“%1 \” / r / dy && icacls \“%1 \” / grant administrators: F / t“
2,然后右键单击并另存为“ Administrator Obtain Ownership.reg”,选择“所有文件”作为保存类型;
3. 双击创建的reg文件,将弹出提示消息,然后选择“是”. 导入后,用户需要重新启动桌面以右键单击以显示管理员的所有权.
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-312956-1.html
他不是把军舰开去了吗