For this, you will have to first create bootable USB media from ISO for Windows 11/10. You will also have to create a separate partition with at least 16 GB space, using the built-in Disk ...
To fix it, close any apps that you’ve used to access content from the USB flash ... If you can’t eject the USB drive from Windows Explorer or from the taskbar icon, you can try using the Safely Remove ...
Reducing the disk size and reformatting ... try deselecting the ‘Recommended Windows settings’ during the setup. Memory issues can disrupt data transfer during installation, causing read/write errors.