WinPeas
On Windows, one automated script is WinPeas
Windows-Privesc-Check
Another automated script is windows-privesc-check, which can be found in the windows-privesc-check
We’ll specify the self-explanatory –dump to view output, and -G to list groups.
1
windows-privesc-check2.exe --dump -G