Accesschk.exe
Access Control and Privilege Escalation: Understanding Accesschk.exe
Accesschk.exe, part of the Sysinternals Suite, is a command-line utility that checks the access rights of files, registry keys, and other resources in Windows.
Here are some examples of commands to check access rights:
Report effective permissions on a file: accesschk.exe -e c:\example.txt Check explicit permissions on a registry key: accesschk.exe -k HKEY_LOCAL_MACHINE\SOFTWARE\example Check inherited permissions on a service: accesschk.exe -i -s example Check effective permissions on a file for a specific user: accesschk.