open command prompt as administrator windows 10 code example
Example 1: how to activate administrator account in windows 10 command prompt
net user administrator /active:yes
Example 2: run command for admin cmd
win + x + a
net user administrator /active:yes
win + x + a