You might find Corion's DBD::WMI a suitable way of accessing the required information.
In reply to Re^3: My Program Stats by BrowserUk in thread My Program Stats by gulden