Quoting this, how do i go about this part?
2. Find index
Dism /Get-WimInfo /WimFile:G:\MISC\SETUPS\OS\Windows.10\install.esd
(replace to appropriate path to install.esd file)
3. Convert esd to wim format (this command is single line, not two lines)
Dism /Export-image...