Judical Posted November 12, 2014 Report post Posted November 12, 2014 Having some issues getting this to work so hopefully the community can help. This is what I have setup currently. I have a package created that is calling IE11.bat This package works fine when I test it on a running system but it fails during OSD. Any info is appreciated. -Judical P.S. this is for Windows 7x64 Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted November 12, 2014 Report post Posted November 12, 2014 What's the error that you get? If it;s about an issue with locating the files then you can try to use the %~dp0 variable. Quote Share this post Link to post Share on other sites More sharing options...
Judical Posted November 12, 2014 Report post Posted November 12, 2014 The only reference I found to it failing is in ExecMgr.log. All it says is "failed with exit code 11". So exit code 11 means; An attempt was made to load a program with an incorrect format. How is .bat and incorrect format? Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted November 13, 2014 Report post Posted November 13, 2014 It could be that it can't find the updates and that's why you could look at the variable I mentioned. Quote Share this post Link to post Share on other sites More sharing options...
Judical Posted November 13, 2014 Report post Posted November 13, 2014 Finally solved the issue. The reason is that it was using the 32bit version of DISM. To fix it I needed to call %windir%\sysnative\dism.exe So the incorrect format error was correct. Quote Share this post Link to post Share on other sites More sharing options...