Hello,
Thanks for reaching out here in the Microsoft Answers Community.
Based on the screenshots, it seems that the tool you used has changed the layout of the drives that prevented Windows to boot.
Please note that you cannot change the starting position of a partition, so you cannot extend the C drive without deleting the D drive.
Based on the situation, please do not reset the computer. Instead, please select "Command prompt" from the menu, and run the following commands to let Windows boot.
mountvol A: /s
chkdsk A: /F /X
chkdsk C: /F /X
chkdsk D: /F /X
chkdsk E: /F /X
This mounts the EFI reserved partition to drive A, and checks and repairs the 4 partitions.
Disclaimer: Running "CHKDSK" can check the file system and file system metadata of a volume for logical and physical errors.
To avoid any trouble for you, do not cancel or interrupt CHKDSK, and back up important data.
dir C: /A
dir D: /A
dir E: /A
Check which drive is the WIndows system drive. You can deduct from the volume label, the size, and the files at the root of the drive.
bcdboot C:\Windows /s A: /f UEFI
Create a new UEFI boot entry. Change "C:\Windows" to "D:\Windows" if the system is in the D drive, or "E:\Windows" if it is in the E drive.
After that, close the terminal window and reboot the computer. See whether Windows can boot.
If you can boot Windows, to extend the system drive, you have to delete the D drive (and optionally, the E drive). Please copy all the files of the 2 drives to offline storage (like USB sticks, external hard drives, and memory sticks) beforehand to prevent data loss.
Feel free to post back if you need further assistance.
Best Regards,
Sheng G. - MSFT | Microsoft Community Support Specialist