What is a command you can run from CMD.exe that requires UAC elevation? [closed]

I googled this, and I couldn't find an answer. What's a command that you have to UAC elevation in cmd.exe to run?


There are several commands that can't be performed unless you're running in an elevated command prompt. For example, setting a network adapter to DHCP:

netsh interface ipv4 set address "Local Area Connection" dhcp

However, this will never invoke the UAC elevation dialog. You'll simply be notified that the command requires elevation:

C:\Users\Oliver>netsh interface ipv4 set address "Local Area Connection" dhcp
The requested operation requires elevation (Run as administrator).