OK, I’m probably not the best person to blog about this. But anyway I will write this short note, so that it may safe someone else time I had wasted on trying to figure this out. Here is the story.
Machine is a member of Active Directory. So far – so good. Pretty common scenario these days. You work on it offline. Also – not so uncommon if you are lucky owner of a laptop. You plan to implement some persistent WMI event handling. So you use the best tool possible to get there (PowerEvents) that you’ve already tested in the office. It went smooth there. And that’s when ‘fun’ starts: