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

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"

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

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