The following page probably contains more information about the Microsoft MCE Remote Control than you ever wanted to know:It would be nice if there was a list of mappings of what each MCE-remote button is *supposed* to do, so I can check. (for instance, the "power" button doesn't bring up the schutdown menu of MP2.)
Using a Microsoft remote control in Windows - Official Kodi Wiki
As regards the remote control's POWER button, my understanding is that this button is treated by Windows as the SLEEP button, and as such cannot be remapped by applications. I have not used EventGhost, but AutoHotKey never sees this button being pressed. I think that the only place to define the action of the remote control's POWER button is in the power plan, under "Advanced Settings/Action of SLEEP Button", and the only choices are "Sleep/Hibernate/No-action".
-- from CyberSimian in the UK