how to make a user an administrator windows 10 cmd code example Example: how to activate administrator account in windows 10 command prompt net user administrator /active:yes