ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How-to Reset Windows Domain Administrator Password

By Vladan SEGET | Last Updated: July 23, 2014

Shares

What to do when you inherit an environment after previous admin left the company without leaving the domain admin password? How-to Reset the Windows Domain Administrator Password? Is there a easy way to do it? That was questions which I tried to quickly resolve and I thought that most of you might get interested as well. All depends of the environment you're working with and also the BIOS or EFI configuration of the domain controler.

If your DC is a virtual machine or physical server, you'll need to have physical access to the server or access to the underlying virtualization management platform (ESXi, Hyper-V, Xen…) via some management console. In VMware you'll use vSphere client. You'll need a 2012R2 ISO which will get attached to the VM during the boot or DVD if you're running on physical system.

Reset Windows Domain Administrator Password – The steps

The target is the Windows/system32 folder, so depending how the boot disk is organized with partitions, the drive letter might differ. Let's assume that the drive letter is D:

01. Attach a W2012R2 ISO to the VM > Boot on the ISO > Click Next when Windows Setup loads and hit Shift + F10. 

This opens a command prompt. Change directory and place yourself in windows/system32. There we'll need to do some “hacking”….

How to resed domaini admin password

move utilman.exe utilman.exe.old

(makes copy of utilman.exe called utilman.exe.old and place it in the same directory)

Move cmd.exe utilman.exe

(overwrite utilman.exe with cmd.exe)

02. Now reboot the VM and hit the icon as on this screenshot… This bring up a command prompt!

How to reset domain administrator password

03. Change the domain administrator's password with this command

net user administrator password1234

How to reset Domain admin password

04. Clean-up > Reboot the host with an ISO attached once more > Shift +F10 > command prompt…

With a reverse steps now:

move /y utilman.exe.old utilman.exe

How to reset domain administrator password

the /Y is to overwrite the file without prompt…

All done. Disconnect the ISO and reboot the VM. You can now log in with the new password.

Note: I had a trouble showing the local disk with the partitions. In fact the virtual machine DC was configure to use EFI (not BIOS) firmware. To test this how-to I created a secondary DC with BIOS as boot firmware. The test worked, but how to find out about the partitioning of EFI firmware which causes problem?

I took a screenshot showing the difference between VMs configured with BIOS or EFI firmware boot options. The option can be found in VM > properties > Options > Boot Options.

Well obviously when you want to change from EFI to BIOS firmware just like that the VM won't boot…  It's certainly the boot sector pointing to the wrong partition, but why in the WinPE environment there are no local disks showing?

How to change domain administrator password

So I'd have to look for a solution on that as I'm really curious on how to solve it. This scenario can happen, you can encounter a VM or physical system configured to booting of with EFI and then the solution described here just don't work. If you have a solution, leave comment so I can update the post. Share with others… -:)

Shares
Vote !

| Filed Under: Free Stuff Tagged With: How-to Reset Windows Domain Administrator Password

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. tWiZzLeR says

    July 23, 2014 at 7:08 pm

    Vlad – You discussed this process on a domain controller to reset the Domain\Administrator password but I’m assuming that it would also work on non-DC’s as well? Also, does this trick work with any version of Windows so long as you boot from the Win2012R2 ISO?

    • Vladan SEGET says

      July 23, 2014 at 7:43 pm

      Yes it works for standalone servers as well. Haven’t tested with W8.x or W7.x but I’d expect this pretty much the same. Plus, the endpoints can be reset with a bootable Linux CD’s freely available too. The problem with domain controllers is that DC does not have a local SAM database, only the Domain database. Only few tools available, and often paid only.

  2. Peter says

    November 22, 2014 at 2:46 pm

    Hi Vladan! Give a try with the commercial software – PCUnlocker Enterprise. It’s a Windows password removal bootdisk based on WinPE5.0 which supports UEFI booting. It can recognize my virtual hard drive correctly. I hope it will also work for you.

    • Vladan SEGET says

      November 23, 2014 at 4:33 am

      Thanks for the info, but my intention was NOT to spend money on such a tool and perhaps my readers too… -:). I know that there is paid software which can do that.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in