I appreciate the quick response but I'd really like to be able to have a vbscript run in the foreground (net send is very limited)
Main Topics
Browse All TopicsNeed to do it regardless of who is logged on to the system - the scheduled task consist of nothing more than a 1line vbscript to pop a message box stating that the library will be closing in 10 minutes - an administrative login will be used to create the task but it needs to pop the message interactively.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The problem is when another user is logged in (other than the administrator who created the task) the vbscript runs in the background and suppresses console out put - if the same user is logged in as created the script, the vbscript runs normally and a msgbox appears but otherwise nothing happens (although if I check taskman I can see the wscript process running because the user is unable to see the msgbox and therefore click OK)
Still haven't managed to get this to work - I think the scheduled task service runs the task in the background if the current user != creating user. This is probably by design but I'm trying to circumvent it. I coudl perform various unattractive workarounds like having the system remotely message itself but...
Business Accounts
Answer for Membership
by: sirbountyPosted on 2004-04-26 at 13:41:47ID: 10922367
Log in as the admin
Click Start->Run->CMD
AT 16:50 /every:m,t,w,th,f net send %computername% "The library will be closing in 10 minutes." <enter>
You can adjust the time and day(s) if needed - this is just for each weekday at 4:50pm