佳木斯湛栽影视文化发展公司

主頁 > 知識(shí)庫 > win8超級(jí)管理員權(quán)限獲取(通過注冊表文件實(shí)現(xiàn))

win8超級(jí)管理員權(quán)限獲取(通過注冊表文件實(shí)現(xiàn))

熱門標(biāo)簽:鐵路電話系統(tǒng) 硅谷的囚徒呼叫中心 萬科 呼叫中心案例 電話機(jī)器人搭建 科大訊飛語音識(shí)別系統(tǒng) 電銷機(jī)器人源碼 電銷機(jī)器人

使用Win8在找開系統(tǒng)文件夾是經(jīng)常提示:無法訪問……,拒絕訪問。就是沒有超級(jí)管理員權(quán)限所致,取得Win8超級(jí)管理員權(quán)限很容易,導(dǎo)入一個(gè)注冊表文件就可以實(shí)現(xiàn),并且操作簡單。
不管是使用Win8還是Win7,在打開C盤的一些文件夾時(shí),經(jīng)常會(huì)遇到無法訪問的情況,以致于想刪除已經(jīng)確認(rèn)沒有用的文件時(shí)刪除不了。Win7下很好辦,各種工具皆可實(shí)現(xiàn)在右鍵菜單添加取得管理員權(quán)限按鈕?,F(xiàn)在主要介紹Win8下如何為鼠標(biāo)右鍵菜單添加取得管理員權(quán)限選項(xiàng)。

新建一個(gè)記事本將下面的代碼Copy進(jìn)去保存,記事本名字無所謂,記住將擴(kuò)展名改為.reg就行了。
建好之后,雙擊這個(gè)reg文件(注冊表文件)導(dǎo)入注冊表,導(dǎo)入前會(huì)有提示讓你選擇,點(diǎn)是就行了。
導(dǎo)入進(jìn)去之后,右擊你要取得權(quán)限的文件夾,鼠標(biāo)右鍵菜單中選擇選擇管理員權(quán)限就行了。

為了安全考慮,對(duì)一個(gè)文件操作完成之后,應(yīng)當(dāng)恢復(fù)成默認(rèn)權(quán)限,此時(shí)在右鍵菜單中選擇恢復(fù)原始權(quán)限就行了。
取得管理員權(quán)限:
Windows Registry Editor Version 5.00
;取得文件修改權(quán)限
[HKEY_CLASSES_ROOT*shellrunas]
@="管理員權(quán)限"
"Icon"="C:WindowsSystem32imageres.dll,102"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*shellrunascommand]
@="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_ROOTexefileshellrunas2]
@="管理員權(quán)限"
"Icon"="C:WindowsSystem32imageres.dll,102"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellrunas2command]
@="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_ROOTDirectoryshellrunas]
@="管理員權(quán)限"
"Icon"="C:WindowsSystem32imageres.dll,102"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@="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"

恢復(fù)到原始權(quán)限:
Windows Registry Editor Version 5.00
;恢復(fù)原始權(quán)限
[HKEY_CLASSES_ROOT*shellrunas-]
@="恢復(fù)原始權(quán)限"
"Icon"="C:WindowsSystem32imageres.dll,101"
"NoWorkingDirectory"=""
; takeown /f "%1"
[HKEY_CLASSES_ROOT*shellrunas-command]
@="cmd.exe /c takeown /f "%1" icacls "%1" /reset cacls "%1" /e /r "%%USERNAME%%""
"IsolatedCommand"="cmd.exe /c takeown /f "%1" icacls "%1" /reset cacls "%1" /e /r "%%USERNAME%%""
[HKEY_CLASSES_ROOTexefileshellrunas2-]
@="恢復(fù)原始權(quán)限"
"Icon"="C:WindowsSystem32imageres.dll,101"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshellrunas2-command]
@="cmd.exe /c takeown /f "%1" icacls "%1" /reset cacls "%1" /e /r "%%USERNAME%%""
"IsolatedCommand"="cmd.exe /c takeown /f "%1" icacls "%1" /reset cacls "%1" /e /r "%%USERNAME%%""
[HKEY_CLASSES_ROOTDirectoryshellrunas-]
@="恢復(fù)原始權(quán)限"
"Icon"="C:WindowsSystem32imageres.dll,101"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshellrunas-command]
@="cmd.exe /c takeown /f "%1" /r /d y icacls "%1" /reset cacls "%1" /e /r "%%USERNAME%%""
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y icacls "%1" /reset cacls "%1" /e /r "%%USERNAME%%""
如何刪除增加的兩個(gè)右鍵菜單,還請(qǐng)大神做個(gè)小工具上傳,省得一個(gè)一個(gè)的去注冊表刪除。

標(biāo)簽:呼和浩特 六安 株洲 黃石 黔東 南通 新余 天門

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《win8超級(jí)管理員權(quán)限獲取(通過注冊表文件實(shí)現(xiàn))》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    涿州市| 留坝县| 秭归县| 桂林市| 大悟县| 拜泉县| 那曲县| 辰溪县| 达日县| 海晏县| 宁德市| 蓝田县| 宝坻区| 玉山县| 名山县| 杭锦旗| 阿拉善右旗| 日土县| 玉龙| 彰化市| 泽州县| 阿巴嘎旗| 大石桥市| 合肥市| 兴和县| 宜良县| 华亭县| 安宁市| 桐梓县| 濮阳市| 新巴尔虎右旗| 新巴尔虎左旗| 金湖县| 安龙县| 杭锦后旗| 新和县| 屏南县| 蒙山县| 澄迈县| 台中市| 三门县|