Try deleting it completely in both Mac OS X and Vista. Restart, and then boot into Windows. In there, re-pair your keyboard, and once it's working, go into OS X and re-pair the keyboard. This is usually the process for Bluetooth keyboards on Macs not being remembered in Windows. Good luck!