As I understand it, and I freely admit I can be wrong. The runonce registry key can not be repopulated from a function that is called from the runonce key. In the past I had tried to have some actions happen, import new settings into runonce key and reboot hoping those new settings would fire off on reboot. No joy. What I ended up doing was having the tasks I wanted to start on the second reboot initiate from the run key then have reg import to the runonce key that would clear the run key on next reboot. Hope that makes sense. Cheers