yes, you right. The messagebox() can only display the interactive box for the same logon user so I want to check if the logon user same as the user running the script. If yes, the script will continue to run the messagebox() for user interaction. Otherwise, the messagebox() will be ignored. I want to add some user friendly function and try to make it perfect. That is what I want to do. Now, I think I may not do it..... Anyway, thanks for all your help.