Remove the start /wait as it is not required. You may need to increase the timeout to 60+ , so you will login for theme setup. An alternative, is to put a self-detruct cmdfile in the startup folder. I use this method for removing shortcuts, run an autoit file to close some windows that open, then deletes that file. Then it executes shutdown.exe, anytime suits. The cmdfile then deletes itself. Works well.