By default, the messagebox will pause the script until the user responds. To delay the desktop build - google on the RunLogonScriptSync registry/GPO setting.