How to create a portable Windows from an ISO file?

If you have a Windows 10/8.x/7 installation ISO/WIM/ESD/SWM or a VHD/VHDX file which have Windows 10/8.x/7 installed, you can use WinToUSB to install it onto an external hard drive or...