1. Create a Ubuntu Instance and Connect via SSH
2. For the Windows Instance
Detach the Boot Volume.
Run the command in the Linux:
c. Create a Directory to Mount the Partition:
$sudo mkdir -p /media/windows
d. Mount the Partition:
$sudo mount /dev/sdb4 /media/windows
e. Update Your System:
$sudo apt update
f. Install chntpw:
$sudo apt install chntpw
Allow black passwords
chntpw -e /media/windows/Windows/System32/config/SYSTEM
>cd ControlSet001\Control\Lsa\
>ed LimitBlankPasswordUse
>0x0
6. Unmount the Volume
$sudo umount /media/windows
7. Disconnect the iSCSI Connection
Run the commands you copied earlier when attaching the iSCSI volume (for diconnect).
8. Reattach the Boot Volume to the Windows Instance
Detach the volume from the Ubuntu instance.
Reattach it to the original Windows instance.
9. Access the Windows Instance
You should now be able to connect to the Windows instance using RDP without a password.
If the Administrator account is disabled, enable it during the process (use chntpw).
Better safe than sorry!