Or you could just do this:

Code:
 
? ReadValue("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows","Device")



Doh how stupid of me