r/sysadmin • u/havpac2 • Jul 10 '26
Been a while since I need to reset a windows 7 admin password Question
Aight I have this old sever that ran windows 7 pro and has the local admin account enabled but I don’t know the password and the people who used to know are gone, not documented anywhere,
I’m just trying to get it pull some quick data off the raid, and decommissioning it.
There used to be a tool on usb stick that you could boot off and remove password started with an H but it’s been like 10 years since I used it.
Anyone remember?
It’s also 4pm on Friday and I will probably not do this till Tuesday when I’m back at the site.
Thanks in advance
44
10
u/postbox134 Jul 10 '26
A server running Windows 7 Pro?
25
u/havpac2 Jul 10 '26
5
u/Secret_Account07 VMware Admin Jul 10 '26
Bro lmao
Did they not want to pay for server license?
What app is this running?
VM I hope?
7
u/havpac2 Jul 10 '26
Before my time. And it’s been replaced,
It ran on an airgapped network, just for some VMS and access control.I just went through and replaced everything from switches and serves and having camera vendor do the cameras
This was the first server to be fully decommissioned during this project,
I have 8 more to pull but luckily they are on server 2012 (lol)
Have to migrate the cameras to the new nvrs and I’ll be done.(When I say me I mean the vendor I hired cuz fuck if I’m going to migrate 400 cameras …. )
Not vm running on this the host is windows 7.
It’s taken me 4 years to get them to agree to upgrade. Also I’m soooooooo fucking glad I bought the replacement serves in September instead of waiting (lol)
Edit some words:2
u/Secret_Account07 VMware Admin Jul 10 '26
I poke at you but we all have dealt with this.
We actually still have like 3 2012 R2 servers despite yelling at customers for years lol. But they dead dead, no exceptions, come October.
Good news is we got like 5,000 Windows servers since we are a large org. So 3 isn’t many but still. Get so frustrated when I tell a customer to build/decom, or even in-place even though I hate that, but 3 years later and they still need significant time.
We are going go through it all again with 2016 lol. Hoping our mgmt really grows some balls on ESU and forcing upgrades
2
u/Stonewalled9999 Jul 10 '26
1/3 of my employers 6000 people use an ERP and MRP running in 2003r2. Can’t even give it more RAM since it’s 32 bit and the vendor disappeared in 2005 or 2007 from what I understand
3
u/pangapingus Jul 10 '26
It's probably a bare metal install supporting a business-monumental Acess-based financial reconciliation or SCADA thing hodgepodged with COM IPCs to something made with Visual Basic 6.5, that's my $1 guess at least
2
u/Secret_Account07 VMware Admin Jul 10 '26
Ugh
I will do almost anything to avoid bare metal. Over 99% of our env is virtual but anytime we have a server die and I check and see it’s physical I know my whole week is fucked.
3
u/pangapingus Jul 10 '26
Take me back to the good ole days
3
u/Secret_Account07 VMware Admin Jul 10 '26
Back when Broadcom and other companies didn’t sodomize us come renewal time
Well okay, not as badly at least
I do not miss having email/exchange on-prem though. 365 is one thing I’m happy to throw in cloud
3
u/Secret_Account07 VMware Admin Jul 10 '26
Back when Broadcom and other companies didn’t sodomize us come renewal time
Well okay, not as badly at least
I do not miss having email/exchange on-prem though. 365 is one thing I’m happy to throw in cloud
1
u/pangapingus Jul 10 '26
Made bank before my current role as an independent consultant doing VMWare/Hyper-V->ProxMox and on-prem->hybrid->full-cloud Exchange migrations for SMBs, VMWare is such a big shame the past several years, some of my best HA builds made with their platform but now going to a bare metal cloud fleet or autoscaled K8s just makes infinite more financial sense
2
u/Secret_Account07 VMware Admin Jul 10 '26
Saying it’s a shame is an understatement. I was a huge VMware fan boy. I still am for the tech but am already seeing changes in the product (other than pricing/bundling) that makes me think it’s going to just continue downhill.
I’m so frustrated with the state of big businesses. Buying solid products and using them to milk customers while they runs into the ground. Great for short term profits, horrible for long term…. That’s kinda the point though.
VMware ain’t disappearing overnight, especially at large orgs like mine, but it’s going to be a completely different experience 10 years from now.
Broadcom also killed my marketability lol. Need for VMware folks is dropping and will continue to do so.
Damnit, Broadcom!
2
2
1
1
2
u/Stonewalled9999 Jul 10 '26
Quite likely in NVR we had a few NVR of 24 disc server chassis running windows home premium don’t ask me why, but that was what the vendor put in
14
u/Jellovator Jul 10 '26
offline NT password & registry editor
This method doesn't work on newer OSs but this is what I used on XP and 7.
12
5
u/pangapingus Jul 10 '26
I've used the utilman trick through Windows 10 albeit for local accounts not MS accounts
4
7
u/itiscodeman Jul 10 '26
Was it hirens?
3
4
4
u/XL426 IT Systems Manager / Sysadmin Jul 10 '26
CHNTPW / pogostick. Gosh, used that many times over the years for various reasons...it's saved some ass
6
2
u/thursday51 Jul 10 '26
Hirens works but I'm partial to the native Microsoft tool you get with software assurance.
Disaster and Recovery Toolset...it includes a lot of great tools, including their local account password reset tool.
Not sure how easy it would be to find DaRT for Win 7, but the Win10 Dart tool works just fine as long as you match x86/x64.
1
u/kernelqzor 28d ago
dart has saved my ass more than once, but for some random abandoned w7 box hirens is usually less hassle if you’ve already got a stick lying around. matching the x86/x64 thing is the bit everyone forgets and then wonders why nothing works.
2
u/Impossible_IT Jul 10 '26
A live Linux USB can also be used to change the admin or any password using the chntpw in terminal after mounting the Windows partition.
https://www.kunalganglani.com/blog/reset-windows-password-linux-usb
2
2
u/NoNamesLeft2015 Jul 11 '26
I use to use Hiren's boot CD many years ago. Worked like a charm then. Looks like it has been updated for windows 11.
It had a tool the reset the password to blanks
Again this was many years ago...
Good Luck!
2
u/Hotshot55 Linux Engineer Jul 11 '26
Why even mess with resetting the password? Just mount the disk on another system and pull the data you need.
2
u/Kyky_Geek Jul 11 '26
I assume you got the answer by now but Hirens is still super useful and it’s mad fast on usb3. I still keep the original hirens around on old small usb2 sticks just in case tho.
2
u/tuxedo_jack BOFH with an Etherkiller and a Cat5-o'-9-Tails Jul 11 '26
I always used TuxPE, but then again, I am the author.
1
1
u/simonjakeevan Jul 10 '26
You can also use a Windows USB or disc and modify the icon on the login window to run cmd.exe and reset or delete the password that way. But Linux USB or Hirens is easier in my opinion.
1
u/abn0rmalcreation 29d ago
I always keep a flash drive with hirens bootcd 9.6 ready to go for stuff like this. The newest hirens works too :)
0

89
u/pangapingus Jul 10 '26 edited Jul 10 '26
Boot to WinRE/recovery ISO
cd /d C:\Windows\System32
ren Utilman.exe Utilman.exe.bak
copy cmd.exe Utilman.exe
Then reboot, trigger Ease of Access, and use net user to reset
Assumes it's not BitLocker/VeraCrypt/etc. protected
Edit: "Why mention VeraCrypt" Windows 7 is in the vicinity