Search

Language:  
Search for:

Available article translations:

NumLock is sent in the virtual machine every time when switching focus to the virtual machine window

APPLIES TO:
  • Parallels Desktop 10 for Mac
  • Parallels Desktop 9 for Mac

Symptoms

  • Num Lock is sent in the virtual machine every time when switching focus to the virtual machine window

  • Whenever I press Cmd-Tab to switch back and forth between OS X and the Windows VM, two NumLock keys are sent to the Windows VM

Cause

This is a by-design behavior used for synchronization of numeric pad state between Mac and VM.

Resolution

You can change the key used for the synchronization or disable this feature executing the following commands in Terminal ( Finder > /Applications/Utilities/Terminal):

Quit Parallels Desktop before executing commands. Otherwise changes will not take affect.

  • to disable the synchronization of numeric pad state:

    defaults write 'com.parallels.Parallels Desktop' 'HID Host Hook.LED Sync' -int 0
    
  • to make Parallels Desktop use and send NumLock button for the synchronization:

    defaults write 'com.parallels.Parallels Desktop' 'HID Host Hook.LED Sync' -int 1
    

    Please note that Numlock is used by default.

  • to make Parallels Desktop use and send ScrollLock button for the synchronization:

    defaults write 'com.parallels.Parallels Desktop' 'HID Host Hook.LED Sync' -int 2
    
  • to make Parallels Desktop use and send CapsLock button for the synchronization:

    defaults write 'com.parallels.Parallels Desktop' 'HID Host Hook.LED Sync' -int 3
    
  • to discard all changes, please use the following command:

    defaults delete 'com.parallels.Parallels Desktop' 'HID Host Hook.LED Sync'
    

Note the changes will be applied to all virtual machines running on the Mac.

Search words:

pad

numlock

num

lock

numeric

PD




1e5db16426987d561060acdf56d947b4 fb0e3c3e2247964007f03acae43ffd0d 33c4522b6fa9ca8e050f19b889fb58f1 48e7cf384e3b46432e32e6040476f122

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No