chmod 400 in powershell code example
Example: chmod 400 in powershell
icacls .\private.key /inheritance:r
icacls .\private.key /grant:r "%username%":"(R)"
icacls .\private.key /inheritance:r
icacls .\private.key /grant:r "%username%":"(R)"