Add a shutdown message

  • Thread starter Thread starter Kolin Tregaskes
  • Start date Start date
K

Kolin Tregaskes

Hello,

Is it possible to add a shutdown message besides changing the shutdown
screen to display a picture of a message? I'm forgetful and keep forgetting
to turn off the router when I close down the computer so just want a message
to pop up somehow somewhere when I close down Windows.

Any thoughts? :-)

Kol
 
Well, you could assign a logoff script in GPEDIT.MSC (Pro edition only)

--logoff_message.VBS--
MsgBox "Turn off the router", vbOK, "Reminder"
--cut here--

Home edition would be a little more complex.
 
Hi Bert,

Thanks for the link, but like I said I don't want to change the shutdown
screen. ;-)

Kol


Bert Kinney said:
Take a look here Kol.
TweakXP.com - Change XP Boot Screen
http://www.tweakxp.com/display.aspx?id=753

--
Regards,
Bert Kinney [MS-MVP DTS]
http://dts-l.org/


Kolin said:
Hello,

Is it possible to add a shutdown message besides changing
the shutdown screen to display a picture of a message? I'm forgetful and
keep forgetting to turn off the router
when I close down the computer so just want a message to
pop up somehow somewhere when I close down Windows.
Any thoughts? :-)

Kol
 
Hi Mark,

Thanks for the reply. That sounds like the type of thing I'm after, I've
run GPEDIT.MSC, but what do I do next?

Kol
 
Assuming you have created the file I suggested, (in notepad, and saved as,
say,

'C:\WINDOWS\System32\GroupPolicy\User\Scripts\Logoff\logoff_message.vbs')

you would open gpedit.msc, and go to :
Local Computer Policy/User Configuration/Windows Settings/Scripts
and doubleclick the Logoff item, to add the file.

This would make it run at every user logoff. There are functions in the WMI
to test for which user is doing the logoff, and run it only for your user,
and a 'host' :) of other things that might be added to the script. VBscript,
and the wscript host with the wmi interface are the new 'batch file' for
windows, and can do almost anything you want.

Just for fun, I was thinking of a logoff sound that you created in sndREC32,
of yourself saying "Turn off the router, Bozo!". (This would require using
sndVOL32 to SELECT your Mic in Options/properties/Recording settings, to
record the logoff.wav.)

You could use the Sounds app in control panel to assign a logoff sound, but
my way would be a logoff script that did it.
--sound.vbs--
set shell=createobject("wscript.shell")
shell.run "sndrec32 /play /close logoff.wav"
shell.popup "Turn off the router, Bozo!", 3
--cut here-- :)
(place logoff.wav in the same folder)
 
Back
Top