You don't need WMI, RegRead (Search the board for it if you don't have one) can grab the OS Serial number.
The key to read is
9x: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ProductID
NT: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductID