首頁 > 軟體

Win10複製資料夾提示「目標資料夾存取被拒絕」怎麼辦?

2020-07-23 10:28:35

  Win10複製資料夾提示“目標資料夾存取被拒絕”怎麼辦?一位用戶在Win10系統下複製資料夾時,系統會提示“目標資料夾存取被拒絕,你需要提供管理員許可權才能複製到此資料夾”,這該怎麼辦呢?解決辦法很簡單,我們只要根據提示新增管理員許可權即可。下面給大家講解Win10新增管理員許可權的操作方法。

  Win10複製資料夾提示“目標資料夾存取被拒絕”怎麼辦?

  1、開啟記事本,或在桌面先新建一個文字文件開啟,然後複製以下登錄檔程式碼到記事本中;

  1. 01Windows Registry Editor Version 5.00
  2. 02[-HKEY_CLASSES_ROOT*shellrunas]
  3. 03[HKEY_CLASSES_ROOT*shellrunas]
  4. 04@="獲取超級管理員許可權"
  5. 05"Icon"="C:WindowsSystem32imageres.dll,-78"
  6. 06"NoWorkingDirectory"=""
  7. 07[HKEY_CLASSES_ROOT*shellrunascommand]
  8. 08@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
  9. 09"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
  10. 10[-HKEY_CLASSES_ROOTDirectoryshellrunas]
  11. 11[HKEY_CLASSES_ROOTDirectoryshellrunas]
  12. 12@="獲取超級管理員許可權"
  13. 13"Icon"="C:WindowsSystem32imageres.dll,-78"
  14. 14"NoWorkingDirectory"=""
  15. 15[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
  16. 16@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
  17. 17"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
  18. 18[-HKEY_CLASSES_ROOTdllfileshell]
  19. 19[HKEY_CLASSES_ROOTdllfileshellrunas]
  20. 20@="獲取超級管理員許可權"
  21. 21"HasLUAShield"=""
  22. 22"NoWorkingDirectory"=""
  23. 23[HKEY_CLASSES_ROOTdllfileshellrunascommand]
  24. 24@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
  25. 25"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
  26. 26[-HKEY_CLASSES_ROOTDriveshellrunas]
  27. 27[HKEY_CLASSES_ROOTDriveshellrunas]
  28. 28@="獲取超級管理員許可權"
  29. 29"Icon"="C:WindowsSystem32imageres.dll,-78"
  30. 30"NoWorkingDirectory"=""
  31. 31[HKEY_CLASSES_ROOTDriveshellrunascommand]
  32. 32@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
  33. 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"

IT145.com E-mail:sddin#qq.com