當前位置:生活全書館 >

IT科技

> 【高手就這樣簡簡單單】配置TrustedInstaller許可權

【高手就這樣簡簡單單】配置TrustedInstaller許可權

有時候我們刪除檔案出現如圖所示情況,我們該怎麼解決呢,下面和360高手聯盟一起來看下

【高手就這樣簡簡單單】配置TrustedInstaller許可權

材料/工具

電腦

方法

首先在桌面上新建一個文字文件,開啟此文字文件,複製以下程式碼寫入文件:


Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellunas]
@=”獲取TrustedInstaller許可權”
[HKEY_CLASSES_ROOT*shellunascommand]
@=”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_ROOTDirectoryshellunas]
@=”獲取TrustedInstaller許可權”
“NoWorkingDirectory”=””
[HKEY_CLASSES_ROOTDirectoryshellunascommand]
@=”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”


然後儲存,將文件字尾.txt更改為登錄檔格式.reg

【高手就這樣簡簡單單】配置TrustedInstaller許可權 第2張

最後桌面會生成如圖
然後雙擊就可以匯入

【高手就這樣簡簡單單】配置TrustedInstaller許可權 第3張

再遇到那種情況時可以滑鼠右鍵單鍵 選擇取得許可權即可,完成之後,進行刪除等操作即可成功完成

  • 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/29ox5.html