If I needed something like that...
I'd get the hard drive serial number and store it in the window's registry