Hello,
try these steps on windows, as you need.
Download the rom you want to flash, e os rom s zip file.
Unzip it with winrar, 7zip, windows itself. You will get a new folder with payload.bin file inside.
Dowload now this tool, last release https://github.com/libxzr/FastbootEnhance/releases
Unzip it as before, and will get a new folder.
Inside this folder there is the application, FastbootEnhance.exe, open it as administrator.
Open Payload Dumper tab, click on browse and search the rom folder extracted at the beginning, double click on payload.bin file.
Open then partitions tab.
You will find all the partitions inside.
Highlight what you need and click on Extract Image.
You did the job !