Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows NT/2000/2003 Server/2008 Server
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Windows NT/2000/2003 Server/2008 Server Find support for Windows NT/2000/2003 Server/2008 Server editions.

Reply
 
LinkBack Thread Tools
Old 10-19-2006, 04:27 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 203
OS: Win XP


Can Windows Server email me when it restarts

I am running Windows Server 2003, whenever it goes down because of power failure or a needed update it automatically restarts itself. I like this very much but I was wandering if there is a place where I can set it up to email me once it has restarted? Anybody know?
lindseyschlabac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-19-2006, 07:37 AM   #2 (permalink)
Registered User
 
Join Date: Jun 2006
Location: Cincinnati, Ohio
Posts: 617
OS: Windows XP

My System

Send a message via AIM to whardman Send a message via MSN to whardman
Run Group policy editor (gpedit.msc) then go to Computer Configuration > Windows Settings and you can add a script to email you when it starts up.
whardman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-19-2006, 07:46 AM   #3 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 203
OS: Win XP


Ok I found where to do it but I don't know how to do scripting is there any documentation that could help me write the script?
lindseyschlabac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-19-2006, 08:11 AM   #4 (permalink)
Registered User
 
Join Date: Jun 2006
Location: Cincinnati, Ohio
Posts: 617
OS: Windows XP

My System

Send a message via AIM to whardman Send a message via MSN to whardman
Here are a few options depending on your setup ... http://www.motobit.com/tips/detpg_send-email-from-asp/
whardman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-19-2006, 06:45 PM   #5 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


just use blat, set the server to execute the batch file during boot.

Batch file
blat -install email.server.com blat@yourdomain.com
blat -to yourname@domain.com -subject "server x rebooted"
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-22-2006, 04:53 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 203
OS: Win XP


I downloaded blat. I am trying to understand how it works. I unzipped the file under C:\ I double clicked on the blat.exe a command prompt window pops up for under a second. I am not sure if that is what I was supposed to do?

I then went to the command prompt and tried typing in blat. I read in the FAQ section that if you want to see the different syntax to type in blat. Anyways it says it is not a recongized command. I don't know if I am doing this totally wrong
lindseyschlabac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-22-2006, 10:35 PM   #7 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


make a batch file, edit the information to your needs
you dont run this from the command prompt, its a script

The bold information is things you need to change

Batch file
blat -install email.server.com blat@yourdomain.com
blat -to yourname@domain.com -subject "server x rebooted"

After this is done goto run,"gpedit.msc"

local computer policy, computer config, windows settings, scripts, startup, add, add your blat script
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-23-2006, 05:51 AM   #8 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 203
OS: Win XP


Ok I get it a batch is a .txt file. Ok, I created the file and went to gpedit.msc and was able to add my batch file.

What does the script parameter part mean? Is that just a name for the script or does it do something else?



Also is there anyway I can test this script. I guess I could restart it


Here is what I put.

Batch file
blat -install smtp.hughes.net blat@schlabachwooddesign.com
blat -to info@schlabachwooddesign.com -subject "server SWD01 rebooted"

Hughes is our ISP. schlabachwooddesign.com is our web site and email address's.

How can I test this without restarting my server?

Also where does blat come in?
lindseyschlabac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-23-2006, 06:09 PM   #9 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


first the file should be a .bat file

run the xxxx.bat file by double clicking it. But the only real way to know every part of the setup works is to reboot the pc

you dont need parameters
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-23-2006, 06:16 PM   #10 (permalink)
TSF Enthusiast
 
Join Date: Aug 2006
Posts: 949
OS: OS2 Warp


you may need to include the path to blat program in the script.

Script
cd \
cd program files\blat

blat -install smtp.hughes.net blat@schlabachwooddesign.com
blat -to info@schlabachwooddesign.com -subject "server SWD01 rebooted"

Blat is a smtp email client, its a program that sends outglong mail using a external smtp server.
bilbus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-30-2006, 04:17 PM   #11 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 203
OS: Win XP


Sorry when I said .txt I meant to say notepad. I will give this a test.
lindseyschlabac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:22 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85