Thanks for the help on both issues. It looks like everything is working now. The only problem I am having is with the rundll32 command that prompts for a reboot...I'm getting illegal operation errors sometimes, but it works others. I may just put in a pop up message box telling the user that they need to reboot if I can't get that part working.