網站首頁 學習教育 IT科技 金融知識 旅遊規劃 生活小知識 家鄉美食 養生小知識 健身運動 美容百科 遊戲知識 綜合知識
當前位置:趣知科普吧 > IT科技 > 

怎麼使右鍵選單顯示“管理員取得所有權”

欄目: IT科技 / 發佈於: / 人氣:5.33K
不少用戶反映在操作一些檔案會遇到沒有權限的情況,下面以win10系統爲例,示範怎麼使右鍵選單顯示“管理員取得所有權”

怎麼使右鍵選單顯示“管理員取得所有權”

材料/工具

win10系統

方法

1、開啟記事本,或在桌面先新建一個文字文檔開啟,然後複製以下注冊表代碼到記事本中;

 

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT*shellunas]

[HKEY_CLASSES_ROOT*shellunas]

@="獲取超級管理員權限"

"Icon"="C:WindowsSystem32imageres.dll,-78"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT*shellunascommand]

@="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_ROOTDirectoryshellunas]

[HKEY_CLASSES_ROOTDirectoryshellunas]

@="獲取超級管理員權限"

"Icon"="C:WindowsSystem32imageres.dll,-78"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTDirectoryshellunascommand]

@="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_ROOTdllfileshellunas]

@="獲取超級管理員權限"

"HasLUAShield"=""

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTdllfileshellunascommand]

@="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_ROOTDriveshellunas]

[HKEY_CLASSES_ROOTDriveshellunas]

@="獲取超級管理員權限"

"Icon"="C:WindowsSystem32imageres.dll,-78"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTDriveshellunascommand]

@="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張

2、然後右鍵另存爲“管理員取得所有權.reg”,儲存類型選擇“所有檔案”;

怎麼使右鍵選單顯示“管理員取得所有權” 第3張

雙擊創建好的reg檔案,大功告成。

怎麼使右鍵選單顯示“管理員取得所有權” 第4張