Code
Microsoft – Windows OS – Security Policies – Querying
WHOAMI
Syntax:
whoami /PRIV
Sample:
whoami /PRIV
SECEDIT
Syntax:
secedit /export /areas USER_RIGHTS /cfg
Sample
secedit /export /areas USER_RIGHTS /cfg d:\policies.txt
References
- Is there a way to list local group policy settings
Link