First, open an elevated command prompt by typing cmd into the Search box on the Start menu, right-clicking the command prompt icon that appears at the top of the Start menu, then selecting Run as administrator.
Then enter this command and press Enter:
Net user administrator /active:yes
From now on, the Administrator account is enabed login to it and write at C:.