Reset Windows 2022 Server Password

This guide will also work for other versions of Windows servers, Windows 2022 May require small changes depending upon the version installed.

Assuming that you have access to VNC and the CrownPanel, Instructions are simplified with each steps.

Step 1: Getting to Command Prompt

  1. Mount the Windows server 2022 ISO to CD-ROM from the CrownPanel.

  2. Reboot the VPS and boot from the CD ROM.

  3. Select the preferred language and click on Repair your Computer.

    Select repair your computer

  4. Click on Troubleshoot option and then click on Command Prompt.

    This will load the Windows command prompt.

    Select Advance options

    Select Command Prompt

Step 2: Load the VirtIO Drivers

VirtIO drivers are needed for the Windows to detect the disk present on the server.

  1. Unmount the Windows 2022 ISO and mount the VirtIO Driver in CD-ROM from the Panel.

  2. To confirm Drivers are mounted and ready, run the dir cmd to list the contents of D drive.

  3. Loading the required drivers,

    drvload D:\viostor\2k19\amd64\viostor.inf
    

    Loading Drivers

  4. Once loaded, unmount the VirtIO Driver from the Panel.

  5. Then mount back the Windows server 2022 ISO from the Panel to continue with the remaining steps.

Step 3: Resetting Password

  1. To find out the drivers were installed and the Windows system disk is available, run DISKPART command,

  2. Then list all the Drives/Partitions available using the LIST VOLUME

    List Volumes

    With the above image, we can confirm that the Windows partition is on Drive E

  3. Run the following cmds, in this case windows is installed in E drive

    E:
    bcdedit / set {bootmgr} displaybootmenu yes 
    bcdedit / set {bootmgr} timeout 15 
    cd Windows\System32
    ren utilman.exe utilman.bak
    copy cmd.exe utilman.exe

  4. Close the Command Prompt and then click Continue.

  5. The Server will boot and displays Login Screen, Click on the below "Ease of access" button to open the Command Prompt.

  6. Run the following cmd to reset pass for administrator.

    net user administrator / active: yes 
    
    net user administrator "password" 

    Reset Pass

You should now be able to login to your Windows as Administrator with new Password.

Step 4: Cleaning up

  1. Follow the instructions from Step 1 and Step 2.

  2. Run the following cmds,

    E:
    cd Windows\System32
    copy utilman.bak utilman.exe

    Cleanup

  3. Close the Command Prompt and then click Continue.

This step will remove the option to open command prompt in login screen.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS