Update, 18.06.2018, by Microsoft:
We are aware of an issue affecting the recent media on VLSC. The ISO has been replaced on VLSC. If you have encountered issues installing with this media, we recommend you download and install the refreshed ISO now available on VLSC or wait until we release a new version later in June.
This blog post will be a short one. I just would like to publish my workaround regarding Windows 10 1803 upgrade issue.
Issue: after the upgrade, I’ve received this prompt message “A winpeshl.ini file is present, but no commands were successfully launched. This could be caused by incorrect formatting or an invalid executable name.” It may result from a corrupted installation file, which lead to failure during setup.
This seems to be a problem with the current install media from VLSC (filename SW_DVD9_Win_Pro_Ent_Edu_N_10_1803_64BIT_English_-3_MLF_X21-82160.iso). It doesn’t matter if you run the upgrade through SCCM or just mount the ISO and run it through the GUI, it fails just like this. If you have a previous ISO version SW_DVD9_Win_Pro_Ent_Edu_N_10_1803_64BIT_English_-3_MLF_X21-79647.iso it will work.
Microsoft says: We are aware of the issue and are investigating solutions. Will update when we know more. (Wednesday, June 13, 2018 12:15 AM)
Solution 1: when it gets hung at the command prompt after the first reboot.
- Just search for RecEnv.exe
dir RecEnv.exe /s
- Jump to that directory
- Run this file
- Setup will now continue!
Solution 2: modify install.wim file.
- Mount boot.wim from the ISO
dism /mount-image /imagefile:"C:\W10_1803\sources\boot.wim" /mountdir:"C:\W10_1803\MountBOOT" /index:1
- Check install.wim for indexes
dism /get-wiminfo /wimfile:"C:\W10_1803\sources\install.wim"
- Choose and mount your correct index
dism /mount-image /imagefile:"C:\W10_1803\sources\install.wim" /mountdir:"C:\W10_1803\Mount" /index:3
- Mount winre.wim from mount directory
dism /mount-image /imagefile:"C:\W10_1803\Mount\Windows\System32\Recovery\Winre.wim" /mountdir:"C:\W10_1803\MountWINRE" /index:1
- Copy sources folder
cpi -Path C:\W10_1803\MountBOOT\Sources -Destination C:\W10_1803\MountWINRE -Recurse
- Unmount winre.wim file with commit command
dism /unmount-image /mountdir:"C:\W10_1803\MountWINRE" /commit
- Unmount install.wim file with commit command
dism /unmount-image /mountdir:"C:\W10_1803\Mount" /commit
- Unmount boot.wim file
dism /unmount-image /mountdir:"C:\W10_1803\MountBOOT" /discard
For sure, I prefer the solution 2. Because now you are able to update your deployment with this new modified install.wim media and automatize your upgrade process.
Until Microsoft is not updating this ISO file on the VLSC paltform, we have to work with this workaround. I hope this helps you!