取得超級管理員許可權

2022-06-23 18:21:16 字數 2541 閱讀 3369

win7win8有時會出現刪除不了檔案的情況,彈窗提示需要某某許可權,下面為解決辦法:

在普通帳戶中快速獲得最高的許可權:

新建乙個.txt文字,將下面的**複製貼上到檔案中,另存為或重新命名為.reg檔案,雙擊此檔案或右鍵點合併此檔案。

**如下:

windows registry editor version 5.00

[hkey_classes_root\*\shell\runas]

@="一鍵取得超級管理員許可權"

"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\exefile\shell\runas2]

@="一鍵取得超級管理員許可權"

"noworkingdirectory"=""

[hkey_classes_root\exefile\shell\runas2\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]

@="一鍵取得超級管理員許可權"

"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"windows registry editor version 5.00

[hkey_classes_root\*\shell\runas]

@="一鍵取得超級管理員許可權"

"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\exefile\shell\runas2]

@="管理員取得所有權"

"noworkingdirectory"=""

[hkey_classes_root\exefile\shell\runas2\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]

@="一鍵取得超級管理員許可權"

"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"

在要獲得所有許可權的檔案或者資料夾上,右鍵,一鍵取得超級管理員許可權,就可以在普通管理員帳戶中,快速取得最高許可權。

取得許可權後,再執行程式,就與在超級管理員帳戶中執行中是一樣的。

還有一種情況是由於有程式正在操作這個檔案導致刪除不了的情況,啟用任務管理器結束該程式所有程序後再次嘗試刪除即可。

啟用管理員賬戶:執行gpedit.msc -- 計算機配置 -- windows設定 -- 安全設定 -- 本地策略 -- 安全選項 -- 帳戶: 管理員帳戶狀態 -- 雙擊開啟屬性 -- 啟用 -- 確定.

Linux使用者獲得超級管理員許可權

在建立了新的虛擬機器和使用者後,使用者可能還沒有超級管理員的操作許可權 sudo password for peng peng is notin the sudoers file.this incident will be reported.使用su切換到root使用者,會需要root的密碼 pen...

linux使用者獲得超級管理員許可權

在linux新建了乙個普通使用者xhj,為了方便獲得臨時超級使用者許可權,需要修改 etc sudoers檔案,新增以下兩行內容 all xhj run commands without password xhj all all nopasswd all sudo parse error in et...

取得WINDOWS的管理員許可權的秘訣

秘訣1 大家知道,windowsxp的密碼存放在系統所在的winnt system32 config下sam檔案中,sam檔案即賬號密碼資料庫檔案。當我們登入系統的時 候,系統會自動地和config中的sam自動校對,如發現此次密碼和使用者名稱全與sam檔案中的加密資料符合時,你就會順利登入 如果錯...