InterviewSolution
| 1. |
Solve : windows boot log? |
|
Answer» I need a windows boot log, so that everytime my system booting up, so when i open the Ntbtlog.txt under %SystemRoot% 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 |
|