I had some processes running on my Windows (taking a long time) and many open applications (Eclipse, sqlDeveloper etc).
It's important to know that while the PC was running - It was disconnected from the web (physically removed the Ethernet cable)
Yesterday my system restarted causing the processes to stop and applications began closing/crashing. I lost a bunch of data...
My question is how to find out what caused Windows to restart?
I suspect it's related to a Windows update?
UPDATE
Adding the events from Event viewer:
The kernel power manager has initiated a shutdown transition.Action: Power Action Reboot
The system has prepared for a system initiated reboot from Sleeping (Idle).
Virtualization-based security (policies: VBS Enabled,VSM Required,Boot Chain Signer Soft Enforced) is enabled due to HyperV.
The last shutdown's success status was true. The last boot's success status was true.
EFI time zone bias: 2047. Daylight flags: 0. Firmware time: 2023-12-14T00:33:07.000000000Z.
The boot menu policy was 0x1.
The boot type was 0x0.
There are 0x1 boot options on this system.
The bootmgr spent 0 ms waiting for user input.
The firmware reported boot metrics.
ACPI thermal zone \_TZ.TZ00 has been enumerated.
ACPI thermal zone \_TZ.TZ01 has been enumerated.
The system has detected a system initiated reboot from Sleeping (Idle).
Connectivity state in standby: Disconnected, Reason: NIC compliance
The system session has transitioned from 0 to 1.Reason SessionUnlock
The system session has transitioned from 1 to 3.Reason InputAccelerometer
The system session has transitioned from 3 to 4.Reason InputAccelerometer
The system session has transitioned from 4 to 6.Reason InputHid