文章詳情頁
Win10右鍵怎么添加管理員取得所有權(quán)?管理員取得所有權(quán)reg制作
瀏覽:102日期:2022-10-18 10:53:59
Win10系統(tǒng)相比以往的Windows賬戶權(quán)限并不是很高,所以有用戶就會在右鍵菜單中添加“管理員取得所有權(quán)”以避免使用復(fù)雜的權(quán)限分配設(shè)置,本文以制作管理員取得所有權(quán)reg為例,為用戶講解Win10右鍵添加管理員取得所有權(quán)的方法。
Win10右鍵添加管理員取得所有權(quán)的reg制作方法:
1、打開記事本,或在桌面先新建一個文本文檔打開,然后復(fù)制以下注冊表代碼到記事本中;
Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT*shellrunas][HKEY_CLASSES_ROOT*shellrunas]@="獲取超級管理員權(quán)限""Icon"="C:WindowsSystem32imageres.dll,-78""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_ROOTDirectoryshellrunas]@="獲取超級管理員權(quán)限""Icon"="C:WindowsSystem32imageres.dll,-78""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"[-HKEY_CLASSES_ROOTdllfileshell][HKEY_CLASSES_ROOTdllfileshellrunas]@="獲取超級管理員權(quán)限""HasLUAShield"="""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTdllfileshellrunascommand]@="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_ROOTDriveshellrunas][HKEY_CLASSES_ROOTDriveshellrunas]@="獲取超級管理員權(quán)限""Icon"="C:WindowsSystem32imageres.dll,-78""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTDriveshellrunascommand]@="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、然后右鍵另存為“管理員取得所有權(quán).reg”,保存類型選擇“所有文件”;
3、雙擊創(chuàng)建好的reg文件,彈出提示信息選擇“是”,導(dǎo)入之后需要用戶重啟一下桌面,即可在右鍵中顯示管理員取得所有權(quán)。
4、要刪除該右鍵項,可以使用以下代碼重新制作一個注冊表文件:
Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT*shellrunas][-HKEY_CLASSES_ROOTDirectoryshellrunas][-HKEY_CLASSES_ROOTdllfileshell][-HKEY_CLASSES_ROOTDriveshellrunas][-HKEY_CLASSES_ROOTexefileshellrunas][HKEY_CLASSES_ROOTexefileshellrunas]"HasLUAShield"=""[HKEY_CLASSES_ROOTexefileshellrunascommand]@=""%1" %*""IsolatedCommand"=""%1" %*"以上便是關(guān)于Win10右鍵添加管理員取得所有權(quán)的reg制作方法,使用該方法之前,請確保該賬戶已經(jīng)開啟了Administrator權(quán)限,不然即便添加了右鍵管理員取得所有權(quán),也權(quán)限不高。
標簽:
Windows系統(tǒng)
win10
相關(guān)文章:
排行榜
