Your post is a little unclear. In the Subject line
you write "logging on and off" but later on you
write "when it is started and closed down". That's
note quite the same!
Under WinXP Professional you can do this to log
startup/shutdown events:
- Click Start / Run / GPEDIT.MSC {Enter}
- Local Computer Policy
- Computer Configuration
- Windows Settings
- Scripts (Startup / Shutdown)
- Specify the name of a batch file that you create
with these lines inside:
Startup batch file:
@echo off
echo %date% %time:~0,5% PC starting up >> c:\Shutdown.log
Shut down batch file:
@echo off
echo %date% %time:~0,5% PC shutting down >> c:\Shutdown.log