What is uptime in windows

What is uptime in windows

Добрый день уважаемые читатели блога pyatilistnik.org, сегодня хочется рассказать, о том как определить время работы системы (UP time) без выключения, на примере windows server 2008 R2. Случается и такое, что нужно определить например для доказательства, что сервер не перезагружался а работал как швейцарские часы, для этого Microsoft не поскупилась на способы определения, хорошо, что во первых все делаем встроенными средствами, а во вторых разнообразие, каждый найдет самый актуальный для него метод. Итак открываем Диспетчер устройств в windows server 200R2

Как узнать uptime windows систем

Первый Способ узнавать uptime windows

И так давайте научимся с вами узнавать uptime windows операционных систем, на примере Windows Server 2008 R2, но все проделанные средства подойдут и для других редакций.

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Переходим на вкладку Быстродействие и видим, что время работы системы 2 дня 4 часа 54 минуты

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Второй способ узнавать uptime windows

2 Способ определить время работы Windows без выключения. Еще один весьма простой способ получить информацию о времени работы операционной системой- запустить командную строку «Пуск» — «Программы» — «Стандартные» — «Командная строка» или воспользоваться сочетанием горячишь клавиш «Win» + «R» в строке поиска ввести «CMD» и нажать клавишу Enter, так же советую прочитать Как открыть командную строку Windows / 10 способов открыть командную строку.

В командной строке введите команду: net statistics workstation. В результате вы увидите время начала работы ОС Windows.

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Третий способ узнавать uptime windows

Узнать время последнего старта операционной системы можно из командной строки, введя команду systeminfo и найдя строку Время загрузки системы. Если ввести без ключей вы получите очень подробную информацию о системе вплоть до обновлений.

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Но чтобы быть более кратким введем

Читайте также:  Как сохранять контакты windows phone

для англоязычной версии операционной системы systeminfo | find «System Boot Time:»

для русскоязычной версии операционной системы systeminfo | find «Время загрузки системы:».

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Четвертый способ узнавать uptime windows

4 способ как проверить время работы компьютера это через Центр управления сетями и общим доступом. Для этого правым кликом по значку сети

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Или будем учить оснастки через пуск, вводим ncpa.cpl

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

В любом случае вы попадете на ваш сетевой интерфейс, от которого нам нужны свойства и строка Длительность.

Пятый способ узнавать uptime windows

Так же информацию можно найти в Журналах Windows (Event Viewer). Для этого: Пуск-Администрирование-Просмотр событий или просто в пуске ввести просмотр событий или eventvwr.msc.

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Переходим в систему и делаем фильтр текущего журнала и вводим в нужное поле 6005

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Видим отфильтровалось и осталось гораздо меньше логов. Открываем его.

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

В итоге находим нужное сообщение, о том когда была запущена система.

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Шестой способ узнавать uptime windows

Ну собственно можно воспользоваться WMI и PowerShell. Выяснить время старта ОС можно вот так:

$wmi = Get-WmiObject Win32_OperatingSystem
$wmi.LastBootUpTime

Время выводится в несколько неудобном формате, поэтому сконвертируем его:

И выведем время работы с точностью до миллисекунды, вычтя из текущей даты дату последней загрузки:

Как определить UP time (время работы системы) без выключения на примере windows server 2008 R2

Надеюсь вы как и я что то для себя повторили, а кто то и просто узнал. Все спасибо, что были тут, будут вопросы жду в комментариях. Материал сайта Pyatilistnik.org

How to check your computer uptime on Windows 10

On Windows 10, understanding how long a device has been up and running can be useful information in a number of scenarios. For example, when troubleshooting problems, you may want to know if a reboot was recently applied, or if your computer is acting up while working on an important project, and you suspect a restart is required.

Whatever the reason, Windows 10 doesn’t make it obvious to see your system uptime, but it’s not impossible to find either, as you can deduce this information using Task Manager, Control Panel, Command Prompt, and PowerShell.

Читайте также:  Hklm software microsoft windows currentversion explorer browser helper objects

In this Windows 10 guide, we walk you through four simple ways to check your device uptime without involving scripts or restarting.

How to check PC uptime using Task Manager

Perhaps the easiest way to check your device uptime is using Task Manager with these steps:

    Open Start.

Search for Task Manager and click the top result to open the experience.

Quick Tip: You can also open Task Manager using the Ctrl + Shift + Esc keyboard shortcut, or by right-clicking the taskbar and selecting Task Manager from the menu.

Select the CPU section.

Once you complete these steps, you’ll see your device uptime on the right side, at the bottom of the page.

How to check PC uptime using Control Panel

Another easy way to determine your system uptime is to check your network adapter status with these steps:

  1. Open Start.
  2. Search for Control Panel and click the top result to open the experience.

Click on Network and Internet.

Click on Network and Sharing Center.

Click the Change adapter settings option in the left pane.

Double-click the network adapter connected to the internet.

After completing the steps, you can deduce your computer uptime using the «Duration» information, which indicates the uptime from the network connection that resets every time the device starts. (Of course, these methods work as long as you didn’t reset your network connection since the last time you booted the device.)

How to check PC uptime using Command Prompt

If you want to use Command Prompt to check your device uptime, you have at least two ways to do it.

Using WMIC

To check your computer uptime using Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and click the Run as administrator option.

Type the following command to query the device’s last boot time and press Enter:

wmic path Win32_OperatingSystem get LastBootUpTime

Once you complete these steps, you’ll notice an output that can look intimidating, but it’s not difficult to decode so you can understand your device uptime.

For example, the LastBootUpTime 20181219104602.500000-300 can be broken down using the info below.

  • Year: 2018.
  • Month: 12.
  • Day: 19.
  • Hour: 10.
  • Minutes: 46.
  • Seconds: 02.
  • Milliseconds: 500000.
  • GMT: -300 (5 hours ahead of GMT).

This means that the computer has been up and running since December 19, 2018, at 10:46 AM. If you want to be more specific, just subtract the last boot time with the current time to deduce the number of days, hours, and minutes the device has been in operation.

Using System Information

You can also see your system uptime with a more user-friendly format using the System Information tool with these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and click the Run as administrator option.

Type the following command to query the device’s last boot time and press Enter:

systeminfo | find «System Boot Time»

Using the System Information tool, you can quickly find out the last time your system rebooted in an easy-to-read format. Also, like the wmic command, you can subtract the last boot time with the current time to determine the number of days, hours, and minutes the device has been running.

How to check PC uptime using PowerShell

It’s also possible to check your device uptime using PowerShell with these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and click the Run as administrator option.

Type the following command to query the device uptime and press Enter:

(get-date) — (gcim Win32_OperatingSystem).LastBootUpTime

After completing these steps, you’ll get the uptime information on a list format with the days, hours, and minutes.

This guide outlines several ways to check your device uptime, but it’s important to note that there are many other methods to find the same information using Command Prompt and PowerShell scripts. However, these are the most straightforward methods.

In addition, while these instructions are focused on Windows 10, these methods have been around for a long time, which means they’ll also work on Windows 8.1 and Windows 7.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

The Dell XPS 15 is our choice for best 15-inch laptop

For a lot of people, a 15-inch laptop is a perfect size that offers enough screen for multitasking, and in a lot of cases, some extra performance from powerful hardware. We’ve rounded up the best of the best at this size.

Halo: MCC’s live service elements make it better, not worse

Halo: The Master Chief Collection is more popular than ever, but some fans don’t agree with the live service approach 343 Industries has taken with it. Here’s why those elements are, at the end of the day, great for the game and for Halo overall.

Microsoft’s Surface Duo is not ‘failing up’

Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It’s also doesn’t mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.

These are the best PC sticks when you’re on the move

Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!

Читайте также:  Windows access physical memory
Оцените статью