searching the web for answers I found:
Run gpedit.msc.
2. Expand Computer Configuration\Windows Settings\Security Settings\Local Policies
3. Click on User Rights Assignment
4. Ensure that "Allow log on locally" includes Administrators, Backup
Operators, Domain Users or Users.
however I need to know how to do this through the command prompt since I cannot log in
any help would me highly appreciated.