windows up time

http://www.petefreitag.com/item/86.cfm

Uptime for Windows 2000, 2003, XP and NT

misc

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 AM

The 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 help

Here are some examples using the net command.

List all accounts in a domain:

net accounts /DOMAIN

Send 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"

Tags:

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: