win10软件拒绝访问删不掉_Win10右键菜单添加“获取文件管理员权限”选项
生活随笔
收集整理的這篇文章主要介紹了
win10软件拒绝访问删不掉_Win10右键菜单添加“获取文件管理员权限”选项
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文件訪問被拒絕,你需要TrustedInstaller提供的權限才能對此文件進行更改/文件訪問被拒絕,你需要權限才能執行此操作/你需要提供管理員權限才能移動此文件”
兩種方案
一長期
為Win10右鍵菜單添加“獲取文件管理員權限”選項 - Windows10.Pro?www.windows10.pro一、獲取Win10超級管理員權限
新建一個文本文件,然后把以下命令復制到文本中:
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT*shellrunas]@="管理員取得所有權""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT*shellrunascommand]@="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_ROOTexefileshellrunas2]@="管理員取得所有權""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTexefileshellrunas2command]@="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_ROOTDirectoryshellrunas]@="管理員取得所有權""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTDirectoryshellrunascommand]@="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"然后把該文本文檔命名為“Win10管理員取得所有權.reg” ,然后雙擊導入注冊表即可,這樣就獲得了Win10超級管理員權限。在任意文件或文件夾上點擊右鍵即可看到“管理員取得所有權”選項。
二、取消已獲取的Win10超級管理員權限
這里指的是取消右鍵菜單中的“管理員取得所有權”選項。方法是新建一個文本文檔,把以下命令復制到文本中:
Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT*shellrunas][-HKEY_CLASSES_ROOTDirectoryshellrunas][-HKEY_CLASSES_ROOTdllfileshell][-HKEY_CLASSES_ROOTDriveshellrunas][-HKEY_CLASSES_ROOTexefileshellrunas][HKEY_CLASSES_ROOTexefileshellrunas]"HasLUAShield"=""[HKEY_CLASSES_ROOTexefileshellrunascommand]@=""%1" %*""IsolatedCommand"=""%1" %*"-----------------------------------------------三、恢復原始的Win10超級管理員權限Windows Registry Editor Version 5.00;恢復原始權限 [HKEY_CLASSES_ROOT*shellrunas-] @="恢復原始權限""Icon"="C:WindowsSystem32imageres.dll,101""NoWorkingDirectory"=""; && takeown /f "%1"[HKEY_CLASSES_ROOT*shellrunas-command] @="cmd.exe /c takeown /f "%1" && icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%"""IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%""[HKEY_CLASSES_ROOTexefileshellrunas2-] @="恢復原始權限""Icon"="C:WindowsSystem32imageres.dll,101""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTexefileshellrunas2-command] @="cmd.exe /c takeown /f "%1" && icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%"""IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%""[HKEY_CLASSES_ROOTDirectoryshellrunas-] @="恢復原始權限""Icon"="C:WindowsSystem32imageres.dll,101""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTDirectoryshellrunas-command] @="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%"""IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%""
然后把該文本文檔命名為“Win10取消管理員取得所有權.reg” ,雙擊導入注冊表即可,這樣就取消了超級管理員權限。
如果你嫌自己動手太麻煩的話,可以下載Microsoft酋長制作好的兩個reg文件,解壓后,直接雙擊導入注冊表即可。
二 exe程序
巧用WinOwnership一鍵臨時獲取文件管理員權限 - Windows10.Pro?www.windows10.pro來源
為Win10右鍵菜單添加“獲取文件管理員權限”選項 - Windows10.Pro?www.windows10.pro巧用WinOwnership一鍵臨時獲取文件管理員權限 - Windows10.Pro?www.windows10.pro在Win10右鍵菜單添加“獲取管理員權限/恢復原始權限”選項 - Windows10.Pro?www.windows10.pro總結
以上是生活随笔為你收集整理的win10软件拒绝访问删不掉_Win10右键菜单添加“获取文件管理员权限”选项的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 三星s4 android 6.0吗,快了
- 下一篇: memcached的java客户端_Me