Editing a .Wim file is very simple.
First create a folder that will be used as a mount point. I’m going to use c:mountwim
Download imagex and run this command imagex /mountrw c:wimImagesimage.wim 1 c:mountwim
When you are finished you must commit your changes or they will all be lost. That can be done by using this command.
imagex /unmount /commit c:mountwim