添加“獲取trustedinstaller權(quán)限”選項(xiàng)到win7右鍵菜單的技巧

2015-08-14 00:00

    在win7系統(tǒng)中,大家可能會(huì)遇到這樣一個(gè)情況,就是當(dāng)我們要對(duì)一些系統(tǒng)文件夾進(jìn)行編輯或刪除的時(shí)候,有時(shí)候就會(huì)彈出需要“trustedinstaller的權(quán)限,導(dǎo)致無法進(jìn)行刪除更改等操作,這是因?yàn)橄到y(tǒng)默認(rèn)管理員是沒有權(quán)限操作的,最高管理員就是trustedinstaller,所以就要獲取trustedinstaller權(quán)限才可以對(duì)文件進(jìn)行操作,那么小編今天要給大家介紹的就是添加“獲取trustedinstaller權(quán)限”選項(xiàng)到win7右鍵菜單的技巧,可以方便快速獲取最高權(quán)限哦。

推薦:win7純凈版32位系統(tǒng)下載

添加“獲取trustedinstaller權(quán)限”選項(xiàng)到win7右鍵菜單的技巧
1、首先在win7系統(tǒng)下打開記事本或在桌面上新建一個(gè)文本文檔,將下面代碼粘貼到記事本中,另存位“獲取trustedinstaller權(quán)限.reg”;
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]

@="獲取TrustedInstaller權(quán)限"

[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]

@="獲取TrustedInstaller權(quán)限"

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

添加“獲取trustedinstaller權(quán)限”選項(xiàng)到win7右鍵菜單的技巧

2、雙擊創(chuàng)建好的注冊(cè)表文件導(dǎo)入,這時(shí)右鍵點(diǎn)擊文件夾就會(huì)出來獲取trustedinstaller權(quán)限選項(xiàng)了。

添加“獲取trustedinstaller權(quán)限”選項(xiàng)到win7右鍵菜單的技巧
    通過上面的方法操作之后,“獲取trustedinstaller權(quán)限”選項(xiàng)就會(huì)添加到win7右鍵菜單中了,很簡(jiǎn)單哦,這樣以后要獲取權(quán)限就方便多了。

相關(guān)推薦:Win7右鍵菜單中添加“注冊(cè)dll”和“反注冊(cè)”選項(xiàng)的方法

網(wǎng)友評(píng)論

相關(guān)閱讀