How to rebuild a Windows Image (WIM) using ImageX tool?

Solution 1:

Correct, you need the /Export parameter:

Imagex /export C:\WinDVD\Sources\install.wim 1 C:\WinDVD\exported\install.wim /compress maximum

(1 is the Index inside the WIM)