How to enable/disable administrator in Windows 7/8/10 through cmd.

Enable
Open cmd with administrator and type:
C:\ net user administrator /active:yes

Disable
C:\ net user administrator /active:no