Opening Dos in Safe Mode

Hello there,

My friend recently forgot his password and asked me a way to recover this.
I thought about logging in with the administrator in safe mode, but I discovered that administrator is hidden.

In order to activate it I should open DOS, but I can't open it in safe mode.
Whenever I select "Safe mode with command prompt", I only get the login screen.

He is currently working with windows 7 Home Premium.

I hope someone can help me.

Thanks in advance.

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.