I believe WMIQuery() can also find that information for you. Try using it with an OS class. This link might prove to be useful for you; it has for me.

Microsoft - Operating System Classes
_________________________
Ganiman