鼠标右键该文件,在安全选项下面选中everyone,然后点“编辑”进行权限更改,在完美控制下面打勾,应用确定就ok了。win10复制代码到记事本保存成reg格式就可以获取权限;Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT*shell unas]@="获取权限""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT*shell unascommand]@="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_ROOTDirectoryshell unas]@="获取权限""NoWorkingDirectory"=""[HKEY_CLASSES_ROOTDirectoryshell unascommand]@="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"