elvaqueroloconivel1
elvaqueroloconivel1

Reputation: 919

Sudo -l Windows equivalent

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.

Upvotes: 1

Views: 8956

Answers (2)

Axel83
Axel83

Reputation: 307

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.

Upvotes: 1

TheCrafters001
TheCrafters001

Reputation: 327

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.

Upvotes: 0

Related Questions