To disable the Windows key, follow these steps:
Click Start, click Run, type regedt32, and then click OK.
On the Windows menu, click HKEY_LOCAL_ MACHINE on Local Machine.
Double-click the System\CurrentControlSet\Control folder, and then click the Keyboard Layout folder.
On the Edit menu, click Add Value, type in Scancode Map, click REG_BINARY as the Data Type, and then click OK.
Type 00000000000000000300000000005BE000005CE000000000 in the Data field, and then click OK.
Close Registry Editor and restart the computer.
To enable the Windows key, follow these steps:
Click Start, click Run, type regedt32, and then click OK.
On the Windows menu, click HKEY_LOCAL_ MACHINE on Local Machine.
Double-click the System\CurrentControlSet\Control folder, and then click the Keyboard Layout folder.
Right-click the Scancode Map registry entry, and then click Delete. Click Yes.
Close Registry Editor and restart the computer.