U大俠Win10系統(tǒng)如何修改Trustedinstaller權(quán)限文件?
發(fā)布時(shí)間:2017-03-20 作者: Win10鏡像官網(wǎng) 來(lái)源:http://inrian.com
我們?cè)谑褂?345Win10系統(tǒng)的時(shí)候,需要對(duì)一些系統(tǒng)文件文件夾進(jìn)行修改,或刪除。在修改,或刪除時(shí)會(huì)彈出“你需要TrustedInstaller提供的權(quán)限才能修改此文件”。這又要如何去解決呢?現(xiàn)在小編就和大家說(shuō)一下修改Trustedinstaller權(quán)限文件的方法。
具體方法:
方法一:
1、簡(jiǎn)單快速,記住了步驟在任何電腦上都一樣操作。
2、右擊需要修改的文件-屬性。
3、切換到“安全”選項(xiàng)卡,點(diǎn)擊“高級(jí)”按鈕。
4、切換到“所有者”選項(xiàng)卡。
一般情況下默認(rèn)所有者為TrustedInstaller(沒(méi)有影響),單擊“編輯”按鈕。
5、彈出的窗口中選擇當(dāng)前計(jì)算機(jī)的登陸用戶名,點(diǎn)擊確定。
6、如果彈出如圖提示窗口,直接點(diǎn)確定。
7、后面的窗口都點(diǎn)擊確定。
8、再次右擊該文件,屬性,安全,編輯。
9、選擇當(dāng)前用戶名,勾選“允許”下的完全控制,然后點(diǎn)擊確定。
10、如果出現(xiàn)此窗口,點(diǎn)擊確定。
11、點(diǎn)擊確定關(guān)閉前面打開(kāi)的幾個(gè)窗口,這時(shí)就可以自由修改或刪除此文件文件夾了。
方法二:
1、一勞永逸,快速解決問(wèn)題。
2、打開(kāi)記事本,復(fù)制粘貼以下代碼:
========================分割線========================
Windows Registry Editor Version 5.00
。跦KEY_CLASSES_ROOT\*\shell\runas]
@=“獲取TrustedInstaller權(quán)限”
。跦KEY_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”=“”
。跦KEY_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”
========================分割線========================
3、將文件保存為擴(kuò)展名為reg的文件(注意保存類型中選擇所有文件(*.*),否則會(huì)保存成TXT文件)。
4、雙擊保存的文件。
5、如果出現(xiàn)用戶賬戶控制窗口點(diǎn)擊是。
6、此窗口點(diǎn)擊是。
7、大功告成。右擊任意文件或文件夾,菜單中會(huì)有“獲取TrustedInstaller權(quán)限”項(xiàng),點(diǎn)擊此項(xiàng),如果出現(xiàn)用戶賬戶控制窗口點(diǎn)擊是,然后出現(xiàn)一個(gè)黑色窗口(如果要處理的文件少,黑框會(huì)一閃而過(guò),甚至看不見(jiàn)),黑窗口自動(dòng)關(guān)閉后就可以自由刪除和修改文件文件夾了。