1

There's some equivalent in Windows to sudo -l. I know that the equivalent is runas but I need to see all the things that can be done as admin. Thank you

PD: I have to run it from the CMD.

elvaqueroloconivel1
  • 889
  • 2
  • 8
  • 11

2 Answers2

1

From the command line, you can use the following option:

runas /showtrustlevels

I think this could be somehow comparable to sudo -l on Linux.

This runas command reference page contains some more details.

Axel83
  • 197
  • 2
  • 13
0

Locate the CMD.exe and right click it, then click "Run as Administrator". There is a example for Windows 10:

here ,

and a example for Windows 7:

here.

TheCrafters001
  • 327
  • 2
  • 15