Server uptime measure

When I go to NIC card status it shows 60days, on the desktopinfo.exe shows only 7 days.   Why is that different and which one is more accurate?
LVL 17
Who is Participating?
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
Last System Boot Time powershell

([wmi]"").ConvertToDateTime((Get-WmiObject -Class Win32_OperatingSystem).LastBootuptime)

Open in new window

Adam BrownConnect With a Mentor Sr Solutions ArchitectCommented:
The NIC shows uptime for the network connection, so it will only show how long it's been since the network has shown connectivity. I don't know what desktopinfo.exe monitors, since it's a third party utility, but you can get the most accurate info from a WMI query in Powershell. has info on doing that.
Tiras25Author Commented:
OKay the powershell shows exactly the same as NICs.  I guess I should trust NICs.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Adam BrownConnect With a Mentor Sr Solutions ArchitectCommented:
Desktopinfo might be reporting the uptime of the program itself, so yeah, I'd trust the NIC's first.
quizwedgeConnect With a Mentor Commented:
Looks like acbrown2010 got it, but for confirmation, check out for lots of ways to see what the server uptime is.
AirShieldConnect With a Mentor Commented:
Personally, i like the cmd command: net statistics server
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.