I never could get code to make this happen. I ended up writing a very small exe that sits in memory and waits for a hotkey, then runs the larger program. I just put the smaller exe in the startup folder. It doesn't kick in until the user has rebooted the device.