1.

Solve : windows boot log?

Answer»

I need a windows boot log, so that everytime my system booting up,
there is a boot log file stored in C drive for every clycle.
example:
29/08/07 12.00a.m
29/08/07 12.30a.m

But i really don't know where to start,i'm not familiar in windows environment.
Needs your help.
thanks.You didn't mention your OS.

Start==>Run==>MSCONFIG

Click the boot.ini tab then click the /bootlog checkbox under Boot Options. This will create a bootlog.txt in the root directory of the boot drive.

You could use any spreadsheet or DATABASE program to analyze the log.

Good luck. so when i open the bootlog.ini under C:,
i can see the date and time when the system booting up?

i hope win2K and VISTA have the same options too.does them?Here is the definition of the Win.XP Boot.ini /bootlog option:

Causes Windows to write a log of the boot to the file %SystemRoot%\Ntbtlog.txt.

-----------------------------------------------------------------------------------------

Quote from: only_lonely on August 31, 2007, 01:19:05 AM

so when i open the Ntbtlog.txt under %SystemRoot%
i can see the date and time when the system booting up?


Yes - and a whole lot more.

Note that the bootlog Ntbtlog.txt is created in %SystemRoot% not C:

It's the same in Win.2k.

Boot.ini does not exist in Vista, here's a bit of info on its replacement:

"Boot.ini: Ever since NT 3.1, it's been an ASCII TEXT file on the hard disk. With Vista, that's all changed; it maintains a boot file called the Boot Configuration Data or BCD, located on the boot volume (that is, the volume that the operating system (OS) boots from, no matter what Microsoft calls it) in a folder named BOOT. @34447I It's one of those files locked open by the operating system (like the *.EVT event log files), so you can't edit it in the normal manner, and because that means that it'll be tougher for the odd bit of malware to modify it. Don't go looking to edit it from the Control Panel, either; the STARTUP and Recovery dialog box is still in Control Panel hidden a few layers down, but where the XP version of that dialog had a button labeled "To edit the startup options manually, press Edit," that doesn't exist in Vista anymore. Instead, there's bcdedit.exe, a command-line tool for messing with Vista boot options"

Good hunting.oh..no this is not what i wanted.the ntbtlog.txt contains too many text
Service Pack 2 9 3 2007 08:29:03.500
Loaded driver \WINDOWS\system32\ntoskrnl.exe
Loaded driver \WINDOWS\system32\hal.dll
Loaded driver \WINDOWS\system32\KDCOM.DLL
Loaded driver \WINDOWS\system32\BOOTVID.dll
Loaded driver ACPI.sys
Loaded driver \WINDOWS\System32\DRIVERS\WMILIB.SYS
Loaded driver pci.sys
..........
i just want date and time
imagine that if i reboot my unit every 4mins,wow...too many unwanted text in the ntbtlog file...
anybody could help me to create a simple time log?
Put the following into your Startup folder as a .bat file (or create a shortcut to it in your Startup folder):
------------------------------------------------------------------------------------------------
@echo off
cls
echo Windows Started %date% %time% >> c:\startup.txt
------------------------------------------------------------------------------------------------

It will write an entry to C:\Startup.txt on every boot. Change the text string and path\filename to suit your requirements.

Good luck
Oh.thanks ,works for me.

Windows Started 05-Sep-07 8:28:59.26


Discussion

No Comment Found