電腦中如何將trustedinstaller權(quán)限選項添加到右鍵菜單中
更新日期:2024-03-23 09:46:19
來源:網(wǎng)友投稿
一些用戶可能會在電腦中刪除文件時出現(xiàn)需要trustedinstaller權(quán)限的提示,導(dǎo)致訪問被拒絕,無法直接刪除或者重命名文件。對于這樣的情況,其實我們可以在右鍵菜單中添加獲取trustedinstaller權(quán)限的選項,這樣可以更便于對文件進行管理。
推薦:win7系統(tǒng)下載64位旗艦版
1、首先打開記事本或在桌面上新建一個文本文檔,并粘貼以下內(nèi)容,將文件另存為“獲取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"
2、保存好后,雙擊運行該reg文件,將其添加到注冊表;
3、完成以上設(shè)置后,當右擊文件或文件夾時,可以在菜單中看到“獲取trustedinstaller權(quán)限”選項,獲取權(quán)限后就可以管理或刪除該文件。
按照以上介紹的方法進行設(shè)置后,就可以在電腦中將trustedinstaller權(quán)限選項添加到右鍵菜單中,這樣可以便于管理電腦中的文件。
- monterey12.1正式版無法檢測更新詳情0次
- zui13更新計劃詳細介紹0次
- 優(yōu)麒麟u盤安裝詳細教程0次
- 優(yōu)麒麟和銀河麒麟?yún)^(qū)別詳細介紹0次
- monterey屏幕鏡像使用教程0次
- monterey關(guān)閉sip教程0次
- 優(yōu)麒麟操作系統(tǒng)詳細評測0次
- monterey支持多設(shè)備互動嗎詳情0次
- 優(yōu)麒麟中文設(shè)置教程0次
- monterey和bigsur區(qū)別詳細介紹0次
周
月