Adprep was unable to check the version of the operating system on this computer. Status/Consequence Adprep has stopped without ...

Adprep was unable to check the version of the operating system on this computer.
[Status/Consequence]
Adprep has stopped without making changes. The version check is critical when the domain and forest is prepared.
[User Action]
Active Directory Domain Services preparation can only occur on a Active Directory Domain Controller running Windows Server 2003, Windows Server 2008 or Windows Server 2008 R2.