材料/工具
win10系統(tǒng)
方法
1、打開記事本,或在桌面先新建一個文本文檔打開,然后復(fù)制以下注冊表代碼到記事本中;
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT*shell unas]
[HKEY_CLASSES_ROOT*shell unas]
@="獲取超級管理員權(quán)限"
"Icon"="C:\Windows\System32\imageres.dll,-78"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*shell unascommand]
@="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_ROOTDirectoryshell unas]
[HKEY_CLASSES_ROOTDirectoryshell unas]
@="獲取超級管理員權(quán)限"
"Icon"="C:\Windows\System32\imageres.dll,-78"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshell unascommand]
@="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_ROOTdllfileshell unas]
@="獲取超級管理員權(quán)限"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTdllfileshell unascommand]
@="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_ROOTDriveshell unas]
[HKEY_CLASSES_ROOTDriveshell unas]
@="獲取超級管理員權(quán)限"
"Icon"="C:\Windows\System32\imageres.dll,-78"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDriveshell unascommand]
@="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”,保存類型選擇“所有文件”;
雙擊創(chuàng)建好的reg文件,大功告成。
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:0731-84117792 E-MAIL:11247931@qq.com