Sorry, but this don't work. The user on the console or inside a remote desktop session don't see this message box because the script run in the SYSTEM context not in the user context.