開啟許可權檔案的方法 Win7獲得管理員許可權
- IT科技
- 關注:6.81K次
方法
administrator賬戶是電腦最高許可權,但是一般問件是不需要開啟這個賬戶的。對於無法操作的檔案,點選右鍵選擇管理員取得所有權。
然後會有程式彈出執行,等待程式執行完就可以了。
要獲得獲得管理員所有權,你需要在桌面新創文字文件,然後將這些程式碼貼上在文件中
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellunas]
@="管理員取得所有權"
"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_ROOTexefileshellunas2]
@="管理員取得所有權"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellunas2command]
@="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]
@="管理員取得所有權"
"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"
將文字儲存,並將字尾改成reg。
然後雙擊該檔案點選是。
成功新增,然後點選確定。
之後在那些不能操作的檔案點選右鍵,就會出現管理員取得所有權了。
還有些檔案你點選右鍵以管理員身份執行也是可以的。
接下來說說開啟Administrator賬戶的方法 。首先右擊計算機,選擇管理。
開啟後選擇本地使用者和組,單擊使用者,選擇administrator賬戶。
在Administrator屬性中,將賬戶已禁用的勾去除,然後點選確定。接下來在登入賬戶的頁面就會出現Administrator賬戶,選擇此賬戶即可獲得管理員最高許可權。但是一般不推薦開啟此賬戶。
- 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/60p61.html