欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Windows8系統(tǒng)取得超級(jí)管理員權(quán)限的方法

  發(fā)布時(shí)間:2014-12-28 15:19:05   作者:佚名   我要評(píng)論
這篇文章主要介紹了Windows8系統(tǒng)取得超級(jí)管理員權(quán)限的方法,本文使用BAT腳本實(shí)現(xiàn)獲取超級(jí)管理員和恢復(fù)原始權(quán)限,需要的朋友可以參考下

使用Win8在找開系統(tǒng)文件夾是經(jīng)常提示:無法訪問……,拒絕訪問。就是沒有超級(jí)管理員權(quán)限所致,取得Win8超級(jí)管理員權(quán)限很容易,導(dǎo)入一個(gè)注冊(cè)表文件就可以實(shí)現(xiàn),并且操作簡(jiǎ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)。

有些同學(xué)會(huì)問,我的賬戶已經(jīng)是管理員了,為什么還會(huì)權(quán)限不足呀。簡(jiǎn)單點(diǎn)說來,在Windows Administrators權(quán)限之上還有一項(xiàng)權(quán)限,具體叫啥我現(xiàn)在也記不清了,它才是最高管理員。

Win8取得超級(jí)管理員權(quán)限

方法很簡(jiǎn)單:

1.新建一個(gè)記事本將下面的代碼Copy進(jìn)去保存,記事本名字無所謂,記住將擴(kuò)展名改為.reg就行了。
2.建好之后,雙擊這個(gè)reg文件(注冊(cè)表文件)導(dǎo)入注冊(cè)表,導(dǎo)入前會(huì)有提示讓你選擇,點(diǎn)是就行了。
3.導(dǎo)入進(jìn)去之后,右擊你要取得權(quán)限的文件夾,鼠標(biāo)右鍵菜單中選擇選擇管理員權(quán)限就行了。
4.為了安全考慮,對(duì)一個(gè)文件操作完成之后,應(yīng)當(dāng)恢復(fù)成默認(rèn)權(quán)限,此時(shí)在右鍵菜單中選擇恢復(fù)原始權(quán)限就行了。

1、取得管理員權(quán)限


復(fù)制代碼
代碼如下:

Windows Registry Editor Version 5.00

;取得文件修改權(quán)限
[HKEY_CLASSES_ROOT\*\shell\runas]
@="管理員權(quán)限"
"Icon"="C:\\Windows\\System32\\imageres.dll,102"
"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]
@="管理員權(quán)限"
"Icon"="C:\\Windows\\System32\\imageres.dll,102"
"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]
@="管理員權(quán)限"
"Icon"="C:\\Windows\\System32\\imageres.dll,102"
"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"

2、恢復(fù)原始權(quán)限:


復(fù)制代碼
代碼如下:

Windows Registry Editor Version 5.00


;恢復(fù)原始權(quán)限
[HKEY_CLASSES_ROOT\*\shell\runas-]
@="恢復(fù)原始權(quán)限"
"Icon"="C:\\Windows\\System32\\imageres.dll,101"
"NoWorkingDirectory"=""
; && takeown /f \"%1\"
[HKEY_CLASSES_ROOT\*\shell\runas-\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_ROOT\exefile\shell\runas2-]
@="恢復(fù)原始權(quán)限"
"Icon"="C:\\Windows\\System32\\imageres.dll,101"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas2-\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_ROOT\Directory\shell\runas-]
@="恢復(fù)原始權(quán)限"
"Icon"="C:\\Windows\\System32\\imageres.dll,101"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas-\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%%\""

相關(guān)文章

最新評(píng)論