Update 05-08-2015
Unfortunately Cumulative Update 1 still have this problem:
Original Post
I have written before about the problem with software updates that require multiple restarts:
Microsoft support article about the issue:
Task sequence fails in Configuration Manager if software updates require multiple restarts
Everybody was of course very happy about the new feature in System Center Configuration Manager 2012 SP2 and R2 SP1:
Beginning with System Center 2012 Configuration Manager SP2, on the options tab, you can configure this task sequence to retry if the computer unexpectedly restarts. For example, a software update installation that requires a restart
But wait there are more trouble ahead, apparently this feature only works for Windows 8 and 8.1.
Some of my customers had told me that it was not working and today I had the time to test it in my lab.
The result is that I can confirm that it is not working with Windows 7, what a shame.
Even with the option selected you will get the error Task Sequence environment not found when a software update requires multiple restart.