how do i run cmd as administrator on windows 10 code example
Example 1: run cmd as administrator command line
powershell -command "start-process cmd -verb runas"
Example 2: how to activate administrator account in windows 10 command prompt
net user administrator /active:yes
Example 3: run command for admin cmd
win + x + a