
Remote control and ehtray with 8.8.4 and 1909
-
- Posts: 6
- Joined: Thu Nov 08, 2018 4:01 pm
- Location:
-
HTPC Specs:
Remote control and ehtray with 8.8.4 and 1909
I just did a clean install of 8.8.4 on 1909 and it's working perfectly (so far
) except for one issue... I can't get the remote to work in Windows, it works fine in WMC. I noticed that ehtray.exe does not start by default - if I start it manually, the green button works to launch WMC but then if WMC is closed ehtray.exe is closed along with it... How can I get ehtray.exe to start and stay running?

-
- Posts: 6
- Joined: Thu Nov 08, 2018 4:01 pm
- Location:
-
HTPC Specs:
Ok, well nm... I did another install on the "official" WMC box and it's working fine... there's a little delay at startup but single GB click does indeed launch WMC now.
I'm impressed with how simple this was to get working (I'm using HDHR and EPG123) a lot of fine work by folks here for sure.
I'm impressed with how simple this was to get working (I'm using HDHR and EPG123) a lot of fine work by folks here for sure.
- aquadextrous
- Posts: 107
- Joined: Mon Jul 30, 2018 8:09 pm
- Location: Bristol, UK
-
HTPC Specs:
Glad you got it working, if you find that sometimes the remote stops working, someone came up with a way of keeping ehtray alive - which means the remote always works and things like the recording icon in the system tray also works on Windows 10.
Make a shortcut for ehtray.exe from your ehome folder
Place the shortcut in the start-up folder (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp)
Right click the shortcut and select properties
Add "/surviveehschedtermination" to the target so it looks something like C:\Windows\ehome\ehtray.exe /surviveehschedtermination
Done- this should keep it alive. Hope this helps you and thanks to whoever came up with the solution!
Make a shortcut for ehtray.exe from your ehome folder
Place the shortcut in the start-up folder (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp)
Right click the shortcut and select properties
Add "/surviveehschedtermination" to the target so it looks something like C:\Windows\ehome\ehtray.exe /surviveehschedtermination
Done- this should keep it alive. Hope this helps you and thanks to whoever came up with the solution!

-
- Posts: 16
- Joined: Wed Dec 14, 2022 3:58 am
- Location: Albuquerque, New Mexico, US
-
HTPC Specs:
I get this message:
The name 'C:\Program Files\Windows Media Center\ehome\etray.exe/surviveehschedtermination' specified in the Target box is not valid.
Make sure the path and file name are correct.
without the modifier it accepts it, but will not stay running.
Any tips?
The name 'C:\Program Files\Windows Media Center\ehome\etray.exe/surviveehschedtermination' specified in the Target box is not valid.
Make sure the path and file name are correct.
without the modifier it accepts it, but will not stay running.
Any tips?
- d00zah
- Posts: 218
- Joined: Fri Nov 07, 2014 7:20 pm
- Location:
-
HTPC Specs:
Try:DrBri99 wrote: ↑Tue Feb 07, 2023 8:09 pmI get this message:
The name 'C:\Program Files\Windows Media Center\ehome\etray.exe/surviveehschedtermination' specified in the Target box is not valid.
Make sure the path and file name are correct.
without the modifier it accepts it, but will not stay running.
Any tips?
"C:\Program Files\Windows Media Center\ehome\ehtray.exe" /surviveehschedtermination
Last edited by d00zah on Tue Feb 07, 2023 10:16 pm, edited 1 time in total.
- garyan2
- Posts: 6983
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
-
HTPC Specs:
Might be a typo here, but it is 'ehtray.exe', not 'etray.exe'.
But yes, entering manually you have to be careful on how windows parses and saves.
This shortcut is automatically created with 8.9.0 and 8.9.1. You shouldn't have to create another.
But yes, entering manually you have to be careful on how windows parses and saves.
This shortcut is automatically created with 8.9.0 and 8.9.1. You shouldn't have to create another.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 16
- Joined: Wed Dec 14, 2022 3:58 am
- Location: Albuquerque, New Mexico, US
-
HTPC Specs:
Thanks! Yes! Outside of the quote marks for the modifier works.d00zah wrote: ↑Tue Feb 07, 2023 9:14 pmTry:DrBri99 wrote: ↑Tue Feb 07, 2023 8:09 pmI get this message:
The name 'C:\Program Files\Windows Media Center\ehome\etray.exe/surviveehschedtermination' specified in the Target box is not valid.
Make sure the path and file name are correct.
without the modifier it accepts it, but will not stay running.
Any tips?
"C:\Program Files\Windows Media Center\ehome\ehtray.exe" /surviveehschedtermination
My typo was in the post, it was correct on my original shortcut.
-
- Posts: 16
- Joined: Wed Dec 14, 2022 3:58 am
- Location: Albuquerque, New Mexico, US
-
HTPC Specs:
I did install 8.9.1 over the weekend and I was still having to run ehtray.exe before I could use the remote.
- d00zah
- Posts: 218
- Joined: Fri Nov 07, 2014 7:20 pm
- Location:
-
HTPC Specs:
The quotes around the path\command is because of the spaces in the path.
Mostly, you needed a space between the command (\ehtray.exe) & the argument (/surviveehschedtermination)... which could also have been a typo?
Glad you got it working.
-
- Posts: 3
- Joined: Thu Jan 05, 2023 12:31 pm
- Location:
-
HTPC Specs:
I used the following within a VBS script
' sort out HIM starting up, call 0 no output
set WShell = createobject("wscript.shell")
WShell.Run "C:\Windows\ehome\ehtray.exe /surviveehshedtermination" , 0
set WShell = Nothing
It did nought
is the Run line in-correct ?
do I need special privaledges if so please advise
can I get feedback from the Run ?
' sort out HIM starting up, call 0 no output
set WShell = createobject("wscript.shell")
WShell.Run "C:\Windows\ehome\ehtray.exe /surviveehshedtermination" , 0
set WShell = Nothing
It did nought
is the Run line in-correct ?
do I need special privaledges if so please advise
can I get feedback from the Run ?
- garyan2
- Posts: 6983
- Joined: Fri Nov 27, 2015 7:23 pm
- Location:
-
HTPC Specs:
Missing a 'c'... /surviveehschedtermination.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io
Keeping WMC alive beyond January 2020. https://garyan2.github.io
-
- Posts: 3
- Joined: Thu Jan 05, 2023 12:31 pm
- Location:
-
HTPC Specs:
changed text to C:\Windows\ehome\ehtray.exe /surviveehschedtermination
did not apply .stop at end
run in both normal cmd and administrative mode cmd
used task manager - no media items
what I wish for is a start/powerup script that enables "Window Media Center Receiver Service" to come alive
using windows 1709
did not apply .stop at end
run in both normal cmd and administrative mode cmd
used task manager - no media items
what I wish for is a start/powerup script that enables "Window Media Center Receiver Service" to come alive
using windows 1709
-
- Posts: 3
- Joined: Thu Jan 05, 2023 12:31 pm
- Location:
-
HTPC Specs:
problem resolved -- although ehshell with remote worked perfectly, it appeared that ehshell.exe did not fire up if green button on the remote was used to acheive the fire up
this was because the driver for the IR receiver was not initiated.
To initialise the Human Interface Device {HIM} it is necessary to invoke the
“Windows Media Center Receiver” via command (see https://revertservice.com/10/usbcir/ )
via
sc config usbcir start= demand
Then for each windows boot/restart
“C:\Windows\ehome\ehtray.exe" /SurviveEhSchedTermination
resolve the problem (I thought that capitals made legible the parameter)
The following code was added to startup.vbs to
' sort out HIM starting up, call 0 no output
set WShell = createobject("wscript.shell")
WShell.Run "C:\Windows\ehome\ehtray.exe /SurviveEhSchedTermination" , 0
set WShell = Nothing
Many thanks
this was because the driver for the IR receiver was not initiated.
To initialise the Human Interface Device {HIM} it is necessary to invoke the
“Windows Media Center Receiver” via command (see https://revertservice.com/10/usbcir/ )
via
sc config usbcir start= demand
Then for each windows boot/restart
“C:\Windows\ehome\ehtray.exe" /SurviveEhSchedTermination
resolve the problem (I thought that capitals made legible the parameter)
The following code was added to startup.vbs to
' sort out HIM starting up, call 0 no output
set WShell = createobject("wscript.shell")
WShell.Run "C:\Windows\ehome\ehtray.exe /SurviveEhSchedTermination" , 0
set WShell = Nothing
Many thanks