I had a situation where I had a non-booting Windows XP but did not know what service pack it was to know which CD to use to repair it.
Using MiniPE and a remote registry tool, navigate to this key:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion
The sub-keys and values under this location will help determine OS and Service Pack versions.