Z:\>dism /export-image /sourceimagefile:install.wim /sourceindex:1 /destinationimagefile:install.esd /checkintegrity /compress:recovery /ScratchDir:z:\temp Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Error: 13 The data is invalid. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log any directory i set its gives this error
Probably doesn't expect that argument. Scratchdir is only used for packages to be extracted and only necessary in winpe or if your windows drive has 0 room.