小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

一鍵獲得TrustedInstaller權(quán)限,用以刪除沒有權(quán)限的文件(夾)|藍點網(wǎng)

 bubbi7 2019-05-13

首先在桌面上新建一個文本文檔,打開此文本文檔,復(fù)制以下代碼寫入文檔:

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"

然后保存,將文檔后綴.txt更改為注冊表格式.reg

保存,然后直接打開此文件,系統(tǒng)默認使用注冊表編輯器導(dǎo)入以上代碼,完成后你右鍵點擊任意文件,會發(fā)現(xiàn)多了一項獲取

TrustedInstaller權(quán)限的選項,普通文件選擇獲取權(quán)限是沒什么用的,TrustedInstaller權(quán)限只針對缺少權(quán)限無法刪除的文件。

對于缺少權(quán)限而無法刪除的文件獲取TrustedInstaller權(quán)限后你再嘗試刪除,就會發(fā)現(xiàn)可以直接刪除了請選中你要保存的內(nèi)容,粘貼到此文本框

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多