here's what it looks like in XP
Start -> Run Secpol.msc
the policy is:
Interactive logon: Message text for users attempting to log on
from the Policy properties dialog;
"Explain this setting" tab
This security setting specifies a text message that is displayed to users when they log on.
This text is often used for legal reasons, for example, to warn users about the ramifications of misusing company information or to warn them that their actions may be audited.
Default: No message.
...
_
You can put any message you want in that setting
that should cover the log on part,
don't know about any settings to display a custom log off / shut down screen
but
I suppose that if they're shutting down the users don't need to see a reminder about shutting down to save power
-
this setting is also available in win vista / win7
_ _ _ _ _ _ _ _ _
this setting can be applied to single workstations or to an entire domain or OU
this MS page covers some basics
http://support.microsoft.com/kb/310430
edit: add / edit info & link