Check Server 2008 operating time

Knowing how much time the system has operated is a very useful information for system administrators.
Network Administration - Knowing how much time the system has been operating is a very useful information for system administrators. Sometimes we may need this information to choose the right time to restore the system when something happens.

Although there are many third-party tools that allow us to accurately check the operating time of Windows Server 2008 servers, however, we can use the built-in utilities built into this OS.

Here are six simple methods that we can use to check the uptime of a Windows Server 2008 server.

1. Use Task Manager

In Windows Vista and Windows Server 2008, Task Manager has been improved to display additional information about the system. One of these information is server uptime.

1. Right-click the Taskbar , and then click Task Manager . In addition, we can press Ctrl + Shift + Esc to open Task Manager .

2. In Task Manager , select the Performance tab.

3. The current operating time of the system is shown in System .

Check Server 2008 operating time Picture 1

2. Use System Information Utility

This may be one of the simplest measures to perform this task. The Systeminfo command-line utility will check and display many different system metrics such as installation date, installed patches, .

Open Command Prompt and enter the following command:
Systeminfo
In addition, we can only get information about system operating time with the following command:
systeminfo | find "System Boot Time:"
Check Server 2008 operating time Picture 2

3. Use Uptime utility

Microsoft has released a tool called Uptime.exe. This is a simple command-line tool that helps analyze reliable and reliable information of a computer. It can work locally or remotely. In simple form, this tool displays the operating time of the system. An advanced option allows us to access more detailed information, such as shutdown time, number of reboots, the number of times a system crashes, and Service Pack installations.

The Uptime.exe tool allows us to evaluate the validity of servers with Windows NT 4.0 SP4 or higher.

To use this tool, perform the following steps:

1. Download uptime.exe here, and save it to a folder, it is best to save to the directory in the system path (like System32).

2. Go to Start | All Programs | Accessories then right click on Command Prompt select Run as administrator . In addition, we can enter CMD into the Start menu of the Start menu, when we see the Command Prompt icon, click and hold Ctrl + Shift and press Enter .

3. Access to the location we saved the Uptime.exe utility.

4. Run the Uptime.exe utility, we can add the /? Enter the command to get more options.

Check Server 2008 operating time Picture 3





4. Use the NET STATISTICS utility

Another method we can apply to accomplish this task is to use the NET STATISTICS utility.

We just need to open the Command Prompt and enter the following command:
net statistics workstation
The information displayed will tell us how long the system has been running, though in some cases this information is not exactly the same as the other methods.

Check Server 2008 operating time Picture 4

5. Use Event Viewer

This method can be considered as the best method, but we will have to do quite a bit of work. It not only displays the exact date or duration from the last reboot, but also displays important information indicating the reason the computer has to boot up and the time it restarts. We need to check Event ID 6005, an event that tells us when the computer starts, there are many other events.

1. Open the Server Manager tool by right-clicking the Computer icon and selecting Manage . Visit Event Viewer .

Also we can open Event Viewer by entering eventvwr.msc in the Run box, or running this tool in Administrative Tools .

2. Click Event Viewer (Local) in the left navigation panel.

3. In the middle pane, click on the Information event type then scroll down until you see Event ID 6005 . Double-click on this Event and we will see all information for the 6005 Event ID will be displayed. We can check this list, noting the date and time of each restart event, .

Check Server 2008 operating time Picture 5

Check Server 2008 operating time Picture 6

Note: We can create a Custom View to find all events 6005.

6. Use WMI

We just need to copy the following code into a text file and then save this file with the VBS extension. Once completed, double click on this file to get the system uptime in minutes.
strComputer = "."

Set objWMIService = GetObject ("winmgmts:" & strComputer & "rootcimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * From Win32_PerfFormattedData_PerfOS_System")

For Each objOS in colOperatingSystems
intSystemUptime = Int (objOS.SystemUpTime / 60)
strMessage = "System uptime is" & intSystemUptime & "minutes"
msgBox strMessage, 0, "System Uptime"
next
4.3 ★ | 9 Vote | 👨 2206 Views
« PREV POST
NEXT POST »