Skip to content

Instantly share code, notes, and snippets.

@Faz95210
Created January 25, 2019 14:43
Show Gist options
  • Save Faz95210/ce10463c40e51e0b1af7c827a6775d94 to your computer and use it in GitHub Desktop.
Save Faz95210/ce10463c40e51e0b1af7c827a6775d94 to your computer and use it in GitHub Desktop.
[Get last reboot time and reason on Windows] Process to get the last time and reason of a reboot on windows server #WindowsServer
  1. Press the Windows + R keys to open the Run dialog, type eventvwr.msc, and press Enter.

  2. If prompted by UAC, then click/tap on Yes (Windows 7/8) or Continue (Vista).

  3. In the left pane of Event Viewer, double click/tap on Windows Logs to expand it, click on System to select it, then right click on System, and click/tap on Filter Current Log.

    A. Click/tap on the drop down arrow to the right of Event sources, check the USER32 box, and click/tap in the field.

    B. In the field, type 1074,6008 then click/tap on OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment