首頁  >  文章  >  電腦教學  >  Win10怎麼取得trustedinstaller權限

Win10怎麼取得trustedinstaller權限

PHPz
PHPz轉載
2024-01-11 20:39:281780瀏覽

有小夥伴在Win10電腦中清理檔案的時候,發現有一些檔案無法刪除,提示需要trustedinstaller提供的權限才能對此檔案進行更改,那麼Win10怎麼取得trustedinstaller權限呢?為此小編就給大家詳細介紹一下Win10取得trustedinstaller權限操作教學課程,有興趣的朋友快來看看吧。

Win10怎麼取得trustedinstaller權限

Win10取得trustedinstaller權限的方法:

1、右鍵點選桌面空白處,選擇"新建"一個"文字文件",將其命名為"trustedinstaller.txt"。

Win10怎麼取得trustedinstaller權限

Win10怎麼取得trustedinstaller權限

2、雙擊開啟後,將下列程式碼複製並貼上進記事本中。

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellrunas]

@=取得TrustedInstaller權限

[HKEY_CLASSES_ROOT*shellrun#.command]

##4]

#4]

## @=cmd.exe /c takeown /f %1 icacls %1 /grant administrators:F

IsolatedCommand=cmd.exe /c takeown /f %1 icacls %1 /grant administrators:FWin10怎麼取得trustedinstaller權限## [HKEY_CLASSES_ROOTDirectoryshellrunas]

#@=取得TrustedInstaller權限

NoWorkingDirectory=Win10怎麼取得trustedinstaller權限

[HKEY_CLASSES_ROOTDirectoryshellrunascommand]

##@=cmd.exe / akep. r /d y icacls %1 /grant administrators:F /t

IsolatedCommand=cmd.exe /c takeown /f %1 /r /d y icacls %1 /grant administrators:F /tWin10怎麼取得trustedinstaller權限

##3、"Ctrl S"儲存後,將其後綴副檔名改為"reg"。

Win10怎麼取得trustedinstaller權限

######4、在彈出的提示視窗中點擊"是"。 ######### ######5、最後雙擊"trustedinstaller.reg",會跳出成功新增都登錄中的提示視窗。 ######### ###

以上是Win10怎麼取得trustedinstaller權限的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:dafanshu.com。如有侵權,請聯絡admin@php.cn刪除