Win10系統如何在右鍵選單新增 管理員取得所有權

2022-09-07 09:39:12 字數 2166 閱讀 4562

本部落格:

在win10正式版系統中,許可權的操作較之前的系統更加嚴格,不少使用者反映自己在操作一些檔案會遇到沒有許可權的情況。那麼,win10系統中我們該如何在右鍵選單新增"管理員取得所有權"呢?接下來,小編就向大家分享具體方法。

具體方法:

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]

[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檔案,匯入就可以了。

需要注意的是,使用該方法需要你已經開啟了administrator帳戶的提前下使用!

以上就是win10系統中在右鍵選單新增"管理員取得所有權"的具體方法了。有需要的使用者,不妨試著操作看看。

win10 右鍵選單新增Git Hash Here

1 通過在 執行 中輸入 regedit 開啟登錄檔。2 找到 hkey classes root directory background 3 在 background 下如果沒有 shell 則右鍵 新建項 shell 4 在 shell 下右鍵 新建項 open in git 其值為 git ...

win10下右鍵選單新增「開啟cmd」

早期版本的win10是可以在資料夾的左上角開啟cmd的,更新後發現現在只有powershell能用了。這不方便。通過修改登錄檔,可以實現這個功能。具體做法 新建乙個.reg檔案win10 add cmd mouse right click.reg,內容如下 windows registry edit...

win10下右鍵選單新增 「開啟cmd」

最近使用cmd比較多,就想在某個資料夾下右鍵開啟cmd,這樣不用每次都在預設情況下切換目錄。無奈win10 1703版本下shift 右鍵不能開啟cmd,只能開啟powershell。好,那就自己整乙個吧。首先,在桌面新建乙個文字文件。windows registry editor version ...