文章詳情頁
Win10復制文件夾提示“目標文件夾訪問被拒絕”怎么辦?
瀏覽:83日期:2022-10-13 18:42:26
Win10復制文件夾提示“目標文件夾訪問被拒絕”怎么辦?一位用戶在Win10系統下復制文件夾時,系統會提示“目標文件夾訪問被拒絕,你需要提供管理員權限才能復制到此文件夾”,這該怎么辦呢?解決辦法很簡單,我們只要根據提示添加管理員權限即可。下面給大家講解Win10添加管理員權限的操作方法。
Win10復制文件夾提示“目標文件夾訪問被拒絕”怎么辦?
1、打開記事本,或在桌面先新建一個文本文檔打開,然后復制以下注冊表代碼到記事本中;
01Windows Registry Editor Version 5.0002[-HKEY_CLASSES_ROOT*shellrunas]03[HKEY_CLASSES_ROOT*shellrunas]04@="獲取超級管理員權限"05"Icon"="C:WindowsSystem32imageres.dll,-78"06"NoWorkingDirectory"=""07[HKEY_CLASSES_ROOT*shellrunascommand]08@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"09"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"10[-HKEY_CLASSES_ROOTDirectoryshellrunas]11[HKEY_CLASSES_ROOTDirectoryshellrunas]12@="獲取超級管理員權限"13"Icon"="C:WindowsSystem32imageres.dll,-78"14"NoWorkingDirectory"=""15[HKEY_CLASSES_ROOTDirectoryshellrunascommand]16@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"17"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"18[-HKEY_CLASSES_ROOTdllfileshell]19[HKEY_CLASSES_ROOTdllfileshellrunas]20@="獲取超級管理員權限"21"HasLUAShield"=""22"NoWorkingDirectory"=""23[HKEY_CLASSES_ROOTdllfileshellrunascommand]24@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"25"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"26[-HKEY_CLASSES_ROOTDriveshellrunas]27[HKEY_CLASSES_ROOTDriveshellrunas]28@="獲取超級管理員權限"29"Icon"="C:WindowsSystem32imageres.dll,-78"30"NoWorkingDirectory"=""31[HKEY_CLASSES_ROOTDriveshellrunascommand]32@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"33"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"復制代碼Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT*shellrunas][HKEY_CLASSES_ROOT*shellrunas]@="獲取超級管理員權限""Icon"="C:WindowsSystem32imageres.dll,-78""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_ROOTDirectoryshellrunas][HKEY_CLASSES_ROOTDirectoryshellrunas]@="獲取超級管理員權限""Icon"="C:WindowsSystem32imageres.dll,-78""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"[-HKEY_CLASSES_ROOTdllfileshell][HKEY_CLASSES_ROOTdllfileshellrunas]@="獲取超級管理員權限""HasLUAShield"="""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTdllfileshellrunascommand]@="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_ROOTDriveshellrunas][HKEY_CLASSES_ROOTDriveshellrunas]@="獲取超級管理員權限""Icon"="C:WindowsSystem32imageres.dll,-78""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTDriveshellrunascommand]@="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"2、然后右鍵另存為“管理員取得所有權.reg”,保存類型選擇“所有文件”;
3、雙擊創建好的reg文件,導入就可以了。
PS:上面的注冊表代碼,需要你的帳戶是Administrator內置管理員帳戶才會有效哦。
大家如果在Win10系統復制文件夾時會提示“目標文件夾訪問被拒絕”,說明系統沒有管理員權限,大家只要按照上述步驟添加管理員權限即可。
相關文章:
排行榜
