Uptime for Windows 2000, 2003, XP and NT
Almost every unix operating system comes with a utility called uptime that tells you how long your server has been running.
Unfortunitly no such tool comes with windows, but there is a pretty fool proof way to determine the date you computer was last started. Type the following in to the command prompt.
net statistics server
It will output something like:
Server Statistics for \\PETE Statistics since 6/9/2002 11:09 AMThe net command is very useful, it allows you to connect to shares, start services, send messages between computers and more. To learn more about it type:
net helpHere are some examples using the net command.
List all accounts in a domain:
net accounts /DOMAINSend a message to all users in the domain (a text box pops up). Replace /DOMAIN with a username to send to just one user.
net send /DOMAIN "The server is rebooting"Start a service
net start "Service Name"Stop a service
net stop "Service Name"
- xcopy - Handy tool on windows - December 9, 2003
- FTP Scripts on windows - January 31, 2003
- SSH for Windows - December 6, 2004
- Unix Utils for Windows - November 9, 2004
- Right Click to Open Command Prompt in Directory - July 22, 2004
- Finding uptime on Windows 2000 machines Blog of Leonid Mamchenkov
if yes then whats the approx.uptime of a wondows server 2003? And when should i restart it?
It will show the Logon Date.
winter almost gone!!
Just wanted to tell there is also the http://www.windowsuptimemonitor.com that allows to track uptime, user logins and program usage history. Reporting features are included.
- Upcoming CFML Conferences in April 2017
- CFSummit 2016 Slides
- Securing Legacy CFML - dev.Objective() 2016 Slides
- My CFSummit 2015 Slide Decks
- Adding Chrome Custom Search for CFDocs
- Disable Flash Remoting on ColdFusion Servers
- HackMyCF Adds SSL/TLS Scanner
- IncompatibleClassChangeError after ColdFusion 11 Update 5