Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Boot Log

Where do I find a log that shows the last boot?
0
chaffee007
Asked:
chaffee007
  • 3
  • 2
  • 2
  • +2
1 Solution
 
LazarusCommented:
Administraton Tools
      Event Viewer
           System
0
 
sirbountyCommented:
Additionally, you can view that with
Start->Run->cmd /k net stats server | find /i "since" <Enter>

The result indicates the last time the system was started.
0
 
Steve KnightIT ConsultancyCommented:
or use uptime.exe locally or to a remote server with uptime \\server

http://www.microsoft.com/technet/archive/winntas/downloads/uptime.mspx

Steve
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
redseatechnologiesCommented:
Or are you talking about boot logging?

"systemroot"\Ntbtlog.txt
0
 
LazarusCommented:
It's pretty funny that as normal with Windows OS's htere 3 or 4 ways to do almost anything. ;)
0
 
redseatechnologiesCommented:
Funny or useful?

If one way doesn't work, it is always nice to know it is rarely the ONLY way.

Besides, my suggestion was only when boot logging is enabled - checking uptime was already covered :)

-red
0
 
chaffee007Author Commented:
Kind of a rookie.  
Can you help me out on the net stats command "since" what is the format?  And why the /k switch before
0
 
sirbountyCommented:
Optionally, you can run it from a command line, this is a one-and-done solution...
cmd /k states to 'shell' to a command line and run the program, leaving the shell open after it's complete (/c closes the shell after completion).

net stats server basically lists 'server' stats.  The last bit of that performs a search of all the returned text, searching only for (a) /i (any case), (b) any instance of "since"

The very first line returns what you're after...
Statistics since....date..time (of last bootup).

Thus, that's the only line displayed.
0
 
chaffee007Author Commented:
sirbounty how is the "since" formatted? obviously I leave out the qoutes.  
0
 
Steve KnightIT ConsultancyCommented:
Just type it like he wrote it I.e.

cmd /k net stats server | find /i "since"

or start a command prompt ( start button, run, cmd.exe) then type

NET STATS SERVER

the first line shows the time the machine booted.

Likewise you can use the other suggestions too - the uptime program or cjeck the event log (eventvwr.exe) and look for the regular entries called eventlog under the system log.

0
 
sirbountyCommented:
"sirbounty how is the "since" formatted? obviously I leave out the qoutes. "

Do you mean 'what's it look like'?

Statistics since 11/26/2006 8:42 PM

Not sure if that answers your question?
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now