We have the same problem at one of our customers.
The checknet2sp2 script gets the System Setting Windows Vista ... I assume, that it is false on Win2008 R2.
(I've checked the file version of $NET2SP2_WINDIR$\\Microsoft.NET\\Framework\\v2.0.50727\\mscorwks.dll, and it is 2.0.50727.4200 ... required is newer than 2.0.50727.3052)
Then it reads a registry value
HKLM\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v2.0.50727\\Version
The value at our customer is 2.0.50727.4016, but the script requires the version to be greater than 2.2.30728!!! I've checked this registry key on Windows 7 (2.0.50727.4927) and XP (2.2.30729).
Get System Setting Windows Vista into NET2SP2_ISVISTA
should return True on Win2008 R2, but doesn't.
How can we fix or work around this problem? A quick answer would be nice ...