set key="E:\tmp\yourkey.pem" cmd /c icacls %key% /c /t /inheritance:d cmd /c icacls %key% /c /t /grant %username%:F cmd /c icacls %key% /c /t /remove Administrator "Authenticated Users" BUILTINAdministrators BUILTIN Everyone System Users cmd /c icacls %key%
|