Monday, May 16, 2011

Exiting with code 0x80004005 Windows setup failed, code 31

I got this error during Windows 7 OSD, searching around the internet and finally found the solution. This error is due to the product key I entered in my task sequence doesn’t match with the OS version. After I removed the product key and let it blank, the OSD is running smoothly.

Lesson learned, make sure that the product key is match with the OS and also make sure that it can be activated before doing the OSD. =)


  1. would never believed that this would solve my problem,too.... thx

  2. Solved my problem too after removing Product key from the Task Sequence....great...thank you.