icacls is a command line utility tool that allows system admin to grant or deny access permissions to a folder or path.
Example below grants the user "TheAdminUser1" to the Desktop path specified below.
icacls C:\Users\admin\Desktop /grant TheAdminUser1:F
To check whether the permissions has been applied or not.
cd to the path, like C:\Users\admin\Desktop, then type: icacls .
. >> means the current path
Once everything is ok a similar output like the image below will be shown, and there should be an "F" access list which means Full Access Permissions.
If the output shows "successfully processed 1 files" and failed processes shows "0" files then permission has been applied without any issues.
For more complex scenarios, and if the system has PowerShell cmdlets installed like Get-Acl and Set-Acl might offer more flexibility.
Cast all your anxieties on him, for he cares about you. - 1 Peter 5:7
Don't let your heart be troubled, Jesus loves you. Be humble, be patient and Trust Jesus let Jesus lead the way.
Example below grants the user "TheAdminUser1" to the Desktop path specified below.
icacls C:\Users\admin\Desktop /grant TheAdminUser1:F
To check whether the permissions has been applied or not.
cd to the path, like C:\Users\admin\Desktop, then type: icacls .
. >> means the current path
Once everything is ok a similar output like the image below will be shown, and there should be an "F" access list which means Full Access Permissions.
If the output shows "successfully processed 1 files" and failed processes shows "0" files then permission has been applied without any issues.
For more complex scenarios, and if the system has PowerShell cmdlets installed like Get-Acl and Set-Acl might offer more flexibility.
Cast all your anxieties on him, for he cares about you. - 1 Peter 5:7
Don't let your heart be troubled, Jesus loves you. Be humble, be patient and Trust Jesus let Jesus lead the way.
Comments
Post a Comment