Advanced Setup Guides

How to Reset Administrator Password on Windows Server

7min



If you’ve forgotten the Administrator password for your Windows Server or need to reset it, this guide provides a step-by-step process to regain access through the VPS management portal. By mounting an ISO and using the command prompt, you can securely reset the password without reinstalling the operating system, ensuring that all server data remains intact. Follow these instructions carefully to successfully reset your password while preserving all data on your server.

Access the VPS Management Portal

  1. Open launch noVNC or VNC client
  2. Mount ISO in the Server management section.
  3. In the drop-down list choose for example: Windows Server 2019
  4. Check the box force reset & boot from the selected ISO then click on the Mount ISO button

    Document image
    
  5. Open the noVNC tap in your browser or VNC client.
  6. Press 2 to boot from mounted .iso (DVD/CD), For example:

    Document image
    

Windows Installation Setup

  1. Wait until the Windows installation is loaded and on the Windows Setup window click to Next button.

    Document image
    
  2. Press Install now button on the center of the new window.

    Document image
    
  3. Choose Windows Server 2019 Standard Evaluation (Desktop Experience) and click Next:

    Document image
    
  4. Check the box to accept the license terms, then click the Next button.

    Document image
    
  5. Choose Custom: Install Windows only(advanced) option:

    Document image
    
  6. On the new window click on the Load Driver:

    Document image
    

Load the Virtio Driver

  1. On the Load driver window, click to Browse button

    Document image
    
  2. Select the drive labeled "virtio-win-0.1.215" to load the necessary Virtio drivers for the installation.

    Document image
    
  3. Choose viostor directory -> 2k19 -> amd64, and click to OK:

    Document image
    
  4. When the driver is loaded, click on the Next button:

    Document image
    

Open Command Prompt via Windows Setup

  1. When drives are displayed, do not click on the next button! Otherwise, you will start the reinstall process of the system and all the data will be wiped! Enter the combination SHIFT+F10 using a keyboard to open the command terminal, after that, you will see the console window:

    Document image
    
  2. Enter diskpart command to console:

    Document image
    
  3. Enter the list volume command. The Windows operating system is located on the F drive, identified by its large allocated space—in this example, 44 GB. Now that we know the Windows drive name, type exit to close diskpart.

    Document image
    
  4. Enter the command F: to follow on disk F (where located Windows OS)

    Document image
    
  5. Navigate to the directory by typing cd Windows/System32, then make a backup of Utilman.exe by entering move Utilman.exe Utilman.exe.bak and press Enter.

    Document image
    
  6. Run the command - copy cmd.exe Utilman.exe

    Document image
    

Reset the Administrator Password

  1. Come back to KVM Manager panel and Umount Windows Server drive. Make sure the disk is unmounted and return to VNC. Run the command wpeutil reboot to restart VPS.

    Document image
    
  2. Once Windows loads, press CTRL+ALT+DELETE to access the login screen. Click the Ease of Access icon at the bottom right, which should open a new terminal window.

    Document image
    
  3. In the terminal window that opens, run the command net user Administrator newstrongpassword Where: - Administrator is the Administrator account in Windows that has full system control -newstrongpassword is a new password.

    Document image
    

Revert the changes to Ease of Access

  1. Close the console window and connect to the server using the new password. Once connected, reopen Command Prompt and follow the steps below to revert your changes, restoring the original functionality of the Ease of Access utility.
  • Click the Start button or press the Windows key on your keyboard.
  • Type cmd or Command Prompt in the search bar.
  • Right-click Command Prompt from the search results and select Run as administrator.
  • Run as administrator
  • Run command copy c:\windows\system32\utilman.exe.bak c:\windows\system32\utilman.exe /y

    Document image
    
    

Congratulations, you have successfully changed the administrator password for Windows Server.