+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
Windows Thread, Up time? in Technical; How do I find out how long a machine has been running for, please? I think there should be a ...
  1. #1
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    42

    Up time?

    How do I find out how long a machine has been running for, please? I think there should be a way/service/application to do this - any suggestions?

  2. #2
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    You could filter the system event log for 6013 which periodically reports the system uptime, or for an up to the minute reading, you could use: Uptime.exe Tool Allows You to Estimate Server Availability with Windows NT 4.0 SP4 or Higher

    and net stats srv will report the last reboot timestamp.

  3. Thanks to meastaugh1 from:

    leco (31st May 2009)

  4. #3

    Sylv3r's Avatar
    Join Date
    Jul 2005
    Location
    Co. Durham
    Posts
    3,242
    Thank Post
    376
    Thanked 381 Times in 339 Posts
    Rep Power
    148
    If its on the network - you could see what the uptime is by the time it has been connected. Via the status option on the network icon near the task bar or via Control Panel.

  5. Thanks to Sylv3r from:

    leco (31st May 2009)

  6. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,249
    Thank Post
    898
    Thanked 1,785 Times in 1,537 Posts
    Blog Entries
    12
    Rep Power
    463
    Quote Originally Posted by Sylv3r View Post
    If its on the network - you could see what the uptime is by the time it has been connected. Via the status option on the network icon near the task bar or via Control Panel.
    This is what i do...

  7. #5
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    42
    Thanks all, will investigate the .exe and srv options. I hadn't realised that the network icon had such information. That;s a quick and easy solution. Many thanks.

  8. #6

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,266
    Thank Post
    242
    Thanked 1,575 Times in 1,254 Posts
    Rep Power
    342
    I agree the network status window is usually pretty accurate, especially on servers.

  9. #7
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    42
    It is, as I suspected, a machine has been left running over the half term.

    So my next question is - how can I tell if anyone has logged in or accessed any files? This is not a server operating system but is running SIMS.
    Last edited by leco; 31st May 2009 at 03:12 PM.

  10. #8
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    on xp try having a look CMD > net statistics {workstation/server}

    uptime is displayed as "statistics since DD/MM/YYYY HH:MM AM/PM"

  11. #9

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,247
    Thank Post
    882
    Thanked 2,745 Times in 2,319 Posts
    Blog Entries
    11
    Rep Power
    785
    Umm there is an easier way that will give you a precise time with built in functions and it can even be run against a computer remotely:

    Hey, Scripting Guy! How Can I Determine the Uptime for a Server?

    strComputer = "."Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * From Win32_PerfFormattedData_PerfOS_System") For Each objOS in colOperatingSystems intSystemUptime = Int(objOS.SystemUpTime / 60) Wscript.Echo intSystemUptime & " minutes"Next
    WMI FTW!

  12. #10

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,247
    Thank Post
    882
    Thanked 2,745 Times in 2,319 Posts
    Blog Entries
    11
    Rep Power
    785
    Quote Originally Posted by leco View Post
    It is, as I suspected, a machine has been left running over the half term.

    So my next question is - how can I tell if anyone has logged in or accessed any files? This is not a server operating system but is running SIMS.
    Best bet would probably be the eventlog of the computer for this to look for profile load/unload events and other stuff that can signal actual use.

  13. #11
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    42
    Quote Originally Posted by SYNACK View Post
    Umm there is an easier way that will give you a precise time with built in functions and it can even be run against a computer remotely:

    Hey, Scripting Guy! How Can I Determine the Uptime for a Server?
    Yes I saw that however, it seemed like a chore as I only wanted to determine if this particular machine had been on since before the hols.

    WMI FTW!
    Sorry not very well up on letter speak - but I'm sure you will be right

  14. #12


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    On Windows CLI:

    Code:
    net statistics server
    or
    Code:
     net stats srv
    On *nix CLI

    Code:
    uptime

  15. #13
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    42
    Quote Originally Posted by CyberNerd View Post
    On Windows CLI:

    Code:
    net statistics server
    or
    Code:
     net stats srv
    Does that give stats for the specific computer? I'm guessing I have to be logged on at the computer.

  16. #14

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    edit: hmm... should read to the end of the post first...
    Last edited by RabbieBurns; 31st May 2009 at 04:09 PM.

  17. #15

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,266
    Thank Post
    242
    Thanked 1,575 Times in 1,254 Posts
    Rep Power
    342
    So my next question is - how can I tell if anyone has logged in or accessed any files? This is not a server operating system but is running SIMS.
    If the machine is still on, from the server navigate to Start > Run, type MMC and press enter. File > Add/Remove Snap-in > Add > Computer Management > Add > Finish > Close > OK.

    You can then look at the Event Viewer and Shared Folders. Shared Folders is what you're more after, as you can see who has any files open.



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Up Time
    By mattx in forum General Chat
    Replies: 7
    Last Post: 7th July 2008, 07:27 PM
  2. About time too!!
    By Scotmk in forum General Chat
    Replies: 5
    Last Post: 25th February 2008, 03:01 PM
  3. VBS File takes long time to load 1st time?
    By Samson in forum Scripts
    Replies: 3
    Last Post: 4th September 2007, 08:40 AM
  4. The time has come
    By bishopsgarthstockton in forum General Chat
    Replies: 30
    Last Post: 5th June 2007, 11:46 AM
  5. Who works term time only? How many full time?
    By gwendes in forum General Chat
    Replies: 45
    Last Post: 10th February 2007, 06:38 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •