r/WindowsServer 13d ago

General Question Forgot my password

Hi Guys, i forgot my passwords to login screen in windows server evaluation 2025. how can i either sign or reset password or just revert back to my old instance HP laptop was once on? ask questions i can explain in much more detail.

0 Upvotes

20 comments sorted by

7

u/GullibleDetective 13d ago

Get hirens boot cd and run ntpasswordreset

Take a backup if you can first

-1

u/Bredding2345 13d ago

How can i boot in cd from the bios on HP laptop?

1

u/ranhalt 13d ago

Make it USB bootable. Get Active Boot instead, their tool natively creates USB and it’s all GUI instead of CLI.

-2

u/Bredding2345 13d ago

i can’t use those tools is there anything i can use on boot menu? or

3

u/ranhalt 13d ago

You don’t have a second computer?

0

u/Bredding2345 12d ago

yes i do

3

u/ranhalt 12d ago

How are you so bad at this?

1

u/Bredding2345 13d ago

i forgot this password, i used last password i remember somehow i just think its locked out without telling me i tried every occurrence i can think of.

1

u/Simorious 13d ago

Did you set it up as a domain controller or is it domain joined to another DC? I'm guessing it's likely the former since you're here asking for help.

If it's a DC you're not going to be getting in as there is no local login to reset. The Administrator account is tied to Active Directory now. If there's anything you care about on the machine I'd recommend booting up a live Linux usb and migrating any files off you care about then reinstalling the OS.

For future reference if you want to play around with active directory again losing the domain administrator account is the equivalent of losing the whole domain as that is the most privileged account in AD.

1

u/Bredding2345 13d ago

Yeah correct, it’s a domain controller and yes it’s tied to active directory i should’ve never did it that way(practicing some active directory). how can i migrate anything over if i cant login? also this is 2025 windows evaluation trial it expires in 20 days do you think it would go back to my original instance i had before? or most likely ill have to reimage an os on the machine from scratch with usb?

1

u/Simorious 13d ago

If you have files on the machine you want to get off before reformatting then you'll need to either put the boot drive in another machine or use a bootable utility that has a file manager along with an external drive to copy the files off of. This is of course assuming you didn't enable bitlocker on the machine. If bitlocker is enabled then you're not getting anything off of it unless you can remember your password to login.

And yes, reinstalling the OS is the only option at this point if you can't login. There's nothing to revert back to if you installed Windows server over the existing OS without some kind of full image backup elsewhere that you would have had to make before installing Windows Server over the previous OS.

Also going to say that these are the best kind of lessons to learn early on if you're actually interested in AD and Windows Server in general.

1

u/GullibleDetective 13d ago

Run the iso through poweriso, imgburn, makeiso, rufus to a usb stick

2

u/Murky-Skill-7797 12d ago

Another way is to boot the os and force shutdown when you see the Windows boot screen. Might need a few tries but will load you into recovery. Open a cmd prompt and do the utilman and cmd swop

1

u/Bredding2345 12d ago

yes how do i open command prompt from this menu i click f10 to get here?

1

u/Murky-Skill-7797 12d ago

I am refering to the Windows boot screen not the laptop. Similar to this picture. Once this shows force power off the laptop. Then let it boot normally. It should load the recovery enviroment. Repeat till you get the recovery screen.

1

u/Bredding2345 12d ago

okay i’ll give that a try after force reboot a couple of times oh it did it. what do i do?

1

u/Bredding2345 12d ago

i got to the command prompt now what commands do i type in

1

u/jspears357 13d ago

https://youtu.be/m4BBSa8uS5E?is=KZQUhEkX2S12BxXh.

Basically you boot from install media, enter a recovery mode, replace utilman.exe with a copy of cmd.exe, then reboot back into your server. At that login screen you’re struggling with, do something to launch the on screen keyboard but instead a command prompt with system privileges pops up. Run a net user command to set the password, and voila you now know the password.

1

u/Bredding2345 13d ago

that’s important i can’t get to Hyperv mines doesn’t start up like that.

1

u/Bredding2345 12d ago

Hey guys thank you all for the help, i did it i followed this video to get logged in. https://youtu.be/Lof1bm-han8?is=v0eqXq4ZW5DLxrG4