If XP Pro, use Group Policy.
Local Computer Policy\Computer Configuration\Windows Settings\Scripts
(Startup/Shutdown)
Local Computer Policy\User Configuration\Windows Settings\Scripts
(Logon/Logoff)
%windir%\system32\GroupPolicy\Machine\Scripts\Shutdown
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Shutdown
%windir%\system32\GroupPolicy\Machine\Scripts\Startup
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Startup
How to assign scripts in Windows 2000
http://support.microsoft.com/kb/322241
Scripts (Logon/Logoff)
http://msdn.microsoft.com/library/en-us/gp/312.asp?frame=true
Scripts (Startup/Shutdown)
http://msdn.microsoft.com/library/en-us/gp/313.asp?frame=true
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:50E745BD-A0C5-4DA2-8AA8-53D5B7EDF09D@microsoft.com,
Phil <Phil RemoveThis @discussions.microsoft.com> hunted and pecked:
> Hello,
>
> I have a folder on my C: drive that I must manually copy from C: to a
> network folder at the end of every day, so that it can be backup up along
> with the server's files. Until today, when I installed this App (it's
> called Karen's Replicator - very cool) that will automatically do a back
> up for me. The catch is that I'm supposed to log-off when I walk out of
> my office, but can that can vary from 5 pm to as late as 7pm (or
> whatever). Therefore, what I need to ask you all is this:
>
> Isn't some script that I can modify that will execute the App as soon as
> instruct Windows to log off? Then, hopefully what would happen next is
> that as soon as the App exits, the log-off will complete.
>
> Thanks in advance for your replies.