New
#11
No problem. I have redone it with AutoHotKey scripting language. Now it is a windowless exe program.
If your media center XBMC.exe was started as non-administrator, this script will close it without a problem.
If XBMC.exe was started as administrator, you have to activate start as administrator option for this exe.
Right click Custom_Sleep.exe and Properties - Compatibility - Run as Administrator.