can i detect when windows starts up and shuts down???