another trial to get windows reboot handler to work