This is similar to the Event Viewer, with the only difference being the way of presentation. And likewise, the Message row in each entry states the reason for the specific event.
You can do a similar operation in Command Prompt, a frequently-used, less powerful version of PowerShell.
Type CMD in the taskbar search and open Command Prompt.
Next, copy-paste the following code in the CMD window and hit enter.
wevtutil qe System /q:"*[System[(EventID=41) or (EventID=1074) or (EventID=6006) or
(EventID=6008)]]" /c:50 /f:text /rd:true
This will give you the latest 50 entries. However, you can change the number in c:50 as per the requirement to get more or less.
So these were a few in-built applications to get Windows random shutdown-related queries from the event log.
While the PowerShell and the Command Prompt can do the job just fine, the Event Viewer is infinitely more user-friendly to browse through the events. And as already stated, except for different looks, these will work the same in both the Windows versions.
Finally, when you get the hold of it, it’s time to scramble through the Microsoft Community for a fix. If you don’t find your problem listed there, it’s best to start a thread and get the help you need. And if nothing works, try contacting Microsoft support.
Hitesh works as a senior writer at Geekflare and dabbles in cybersecurity, productivity, games, and marketing. Besides, he holds master’s in transportation engineering. His free time is mostly about playing with his son, reading, or lying… read more