×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

how do I display a messagebox at startup up?

how do I display a messagebox at startup up?

how do I display a messagebox at startup up?

(OP)
this should be generally simple to do. I would like to display a messagebox to the user just befor the desktop loads during windows start up. I imagine it would be best to just make a simple vbs script with one line of code such as:

msgbox("enter whatever here")

does anyone out there have any advice as to what would be the best way to do this? What file do I have to save the script in to get it to at startup? If I drop it in the startup folder will it run? Just wanna see what you guys would do befor I get to work on it.

Thanks

RE: how do I display a messagebox at startup up?

You mentioned you want it to run before the desktop loads.  The only way to do that is to use a group policy login event.  If you put it in the startup folder it won't run until after desktop loads.

Is this a Use Warning?  Something that the user has to agree to before logging on and using the compter?

RE: how do I display a messagebox at startup up?

(OP)
yes it is a use warning. so you would suggest group policy login event in that case correct?

RE: how do I display a messagebox at startup up?

Yeah.  Theres a policy that forces the user to accept the box before it will continue login.  The best part is that it's stored on the domain controller so a user can't "accidentally" delete the app.

RE: how do I display a messagebox at startup up?

Try this...

CODE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"legalnoticecaption"="Your Company Here"
"legalnoticetext"="No Hacking-We're watching you"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close