To disable the windows key
Key: SystemCurrentControlSetControlKeyboard Layout
Name: Scancode Map
Data Type: REG_BINARY
You will probably need to create this value, as it is not present by default. You may wish to cut and paste the value from this page to guard against typos. A reboot may be necessary for it to take effect. Of course, use caution and frequent backups whenever you edit the Registry.