How to change the user to admin through command prompt ?
net localgroup Administrators "ACCOUNT-NAME" /add
If suppose your user name is ngdeveloper then the actual command would be,
net localgroup Administrators "ngdeveloper" /add
How to remove the user from adminstrator access in windows 10?
net localgroup Administrators "ngdeveloper" /delete
How to test whether you are admin or not ?
Windows -> Run -> netplwiz
will show you the users with their user type/access.