how can I create a popup that appears when someone logs onto a pc? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 03-25-2004, 01:02 PM   #1 (permalink)
Newb Techie
 
Join Date: Mar 2004
Posts: 15
Question how can I create a popup that appears when someone logs onto a pc?

Kind of a weird question, but I want to create a popup instead of get rid of one. I need a the computer to show a popup window with a message of my choice whenever any user logs on. Nothing fancy, simple text would be fine.
Thanks in advance!
Scott
__________________

Shrike is offline  
Old 03-25-2004, 03:03 PM   #2 (permalink)
HONK if you route packets
 
mikesgroovin's Avatar
 
Join Date: Sep 2003
Location: MD
Posts: 4,715
Default

What operating system are you using?

If you are using NT, 2000, XP or 2003 you can do the following:
Goto the Control panel > Admin Tools > Local Security Policy > Expand Local Policy > Security Options > Goto the policy named "Message title for users attempting to logon". Double click this and enter your title. This will be the header of the pop-up. Then the policy "Message text for users attempting to logon" is the text. Save and reboot.

-Mike
__________________

mikesgroovin is offline  
Old 03-25-2004, 03:33 PM   #3 (permalink)
True Techie
 
Join Date: Mar 2004
Posts: 130
Default

Ok Shrike,

Since you didn't specify what Operating System you are using this
will vary if your not using Windows2000.

1st you need to make a simple html file using notepad. (You can cut and paste the text below)

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
<!--
var newPopup=window.open("","PopupWindow","height=300, width=300,toolbar=0,status=0,menubar=0,scrollbars= 0,resizable=0");
var popContent='<HTML><HEAD><TITLE>Advertisement</TITLE></HEAD><BODY MARGINWIDTH=0 MARGINHEIGHT=0 LEFTMARGIN=0 TOPMARGIN=0 BOTTOMMARGIN=0>';
popContent+= 'This is My Computer bug off!!';
popContent+='</BODY></HTML>';
newPopup.document.write(popContent);
newPopup.document.close();
newPopup.focus();
//-->
</script>

</head>


This is my computer bugger off!</p>
</body>
</html>

The text above This is my computer bugger off! is were you can customize it to your own message.

When you save this in Notepad make sure that you select the Save as Type drop down as All Files.

Next you need to make a simple .bat file in Notepad.

cd \Program Files\Internet Explorer
test.htm

Now you need to Schedule a task to run at logon.
Go to Control Panel, Scheduled Tasks, Add New Task,
Browse to the location you saved the .bat file above
Next, Select When I logon, type the username and password
for the account you want the popup to open on. Finish and your done

Link for free popup script
http://www.banmanpro.com/support/popupgenerator.asp
Worked4me is offline  
Old 03-25-2004, 04:24 PM   #4 (permalink)
Newb Techie
 
Join Date: Mar 2004
Posts: 15
Default

Sorry about that! Using XP pro.

Mike- thanks, worked like a charm!

Worked4me- I'd like to be able to incorporate some of the flexibility of html into the popup, but I need one that will work for every user who logs on. It looked like your setup would only work for the username listed on the task scheduler...or am I wrong?
thanks for the suggestion!
Shrike is offline  
Old 03-25-2004, 07:41 PM   #5 (permalink)
HONK if you route packets
 
mikesgroovin's Avatar
 
Join Date: Sep 2003
Location: MD
Posts: 4,715
Default

Use can put messages almost anywhere. The one I like is placing a message at the Ctrl-Alt-Del prompt.
I like implementing a message like "The Hard Disk Drive will auto-disable for 24 hours if a correct username and password hasn't been entered within 30 seconds."
I'll reboot the machine for a user and walk away and watch them scurry to log in correctly....LOL

-Mike
mikesgroovin is offline  
Old 03-25-2004, 08:24 PM   #6 (permalink)
Wizard Techie
 
Join Date: Jul 2003
Posts: 3,937
Default

man that is pure evil.....but hilarious mike
ekÆsine is offline  
Old 03-26-2004, 06:13 AM   #7 (permalink)
Super Techie
 
Join Date: Nov 2003
Posts: 415
Default

is this only in xp prof., im not seeing it in xp home?
__________________

__________________
Fear is nothing but the anticipation of pain, be it physical, mental, spiritual or emotional.
specs.
Athlon XP 2200+ oc\'ed @ 1.93ghz
MSI ms-6738
768mb ddr2100
Nvidia mx420 :(
60gig maxtor 7200rpm
Dual boot with Mandrake 10.0 and Win XP Pro sp2
neversleeps is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 09:30 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.