很多时候,我们在使用Win10系统的时候,经常会遇到一些奇怪的问题,前段时间有用户咨询过边肖。据我们了解,该用户使用Win10系统复制文件夹时,出现系统错误消息弹出窗口,内容为“对目标文件夹的访问被拒绝,需要提供管理员权限才能复制到该文件夹”。发生了什么事?遇到这样的问题应该怎么办?其实处理这个问题很简单,只需根据弹出的提示添加管理员即可。下面小编将告诉大家如何在Win10系统中添加管理员权限,希望对大家有所帮助。
方法/步骤
1.在电脑桌面新建一个文本文档,打开新建的文本文档,将以下注册表代码复制粘贴到记事本中;
01Windows注册表编辑器5.00版
02[-HKEY _ CLASES _ ROOT * shellrunas]
03[HKEY _ CLASES _ ROOT * shellrunas]
04@='获得超级管理员权限'
05 ' Icon '=' c : windowssystem 32 imageres . dll,-78 '
06“非工作目录”=“”
07[HKEY _ class _ ROOT * shellrunascommand]
08 @=' cmd . exe/c takeown/f ' % 1 ' icacls ' % 1 '/grant administrator s : f '
09 ' isolated command '=' cmd . exe/c takeown/f ' % 1 ' icacls ' % 1 '/授予管理员:F权限'
10[-HKEY _ CLASES _ root directoryshellrunas]
11[HKEY _ CLASES _ root directoryshellrunas]
12@='获得超级管理员权限'
13 ' Icon '=' c : windowssystem 32 imageres . dll,-78 '
14 '非工作目录'=' '
15[HKEY _ CLASES _ root directoryshellrunascommand]
16 @=' cmd . exe/c takeown/f ' % 1 '/r/d y icacls ' % 1 '/授予管理员:F /t '
17 ' isolated command '=' cmd . exe/c takeown/f ' % 1 '/r/d y icacls ' % 1 '/授予管理员:F /t '
18[-HKEY _ CLASES _ rootdlfileshell]
19[HKEY _ CLASES _ root dllfileshellRunas]
20@='获得超级管理员权限'
21'HasLUAShield'=' '
22 '非工作目录'=' '
23[HKEY _ CLASES _ root dllfileshellrunascommand]
24 @=' cmd . exe/c takeown/f ' % 1 ' icacls ' % 1 '/grant administrator s : f '
25 ' isolated command '=' cmd . exe/c takeown/f ' % 1 ' icacls ' % 1 '/授予管理员:F权限'
26[-HKEY _ class _ ROOTDriveshellrunas]
27[HKEY _ class _ ROOTDriveshellrunas]
28@='获得超级管理员权限'
29 ' Icon '=' c : windowssystem 32 imageres . dll,-78 '
30 '非工作目录'=' '
31[HKEY _ class _ ROOTDriveshellrunascommand]
32 @=' cmd . exe/c takeown/f ' % 1 '/r/d y icacls ' % 1 '/授予管理员:F /t '
33 ' isolated command '=' cmd . exe/c takeown/f ' % 1 '/r/d y icacls ' % 1 '/授予管理员:F /t '
2.然后点击记事本右上角的“文件”,在打开的选项栏中选择“另存为”;
3.然后,将文件名更改为“管理员获得所有权。reg”,选择“所有文件”作为“保存类型”,然后单击“确定”。
4.返回计算机桌面,双击新创建的reg文件;
5.此时,新创建的文件将被导入注册表编辑器。在注册表编辑器的弹出窗口中点击“是”和“确定”完成操作。
以上就是Win10系统中如何提高管理员权限,简单按照以上步骤就可以解决“目标文件夹访问被拒绝”的问题。如果您想获得更多关于如何操作电脑和如何使用软件的信息,请关注,我们将尽最大努力回答您的问题。