When I look at my logs, I see:
2018-01-27 22:53:08: Enumeration error: Could not find Windows Runtime type ‘Windows.Devices.Enumeration.DeviceInformationKind’.
Which is a windows 10 thing, and I only have 8.1. Not sure if that has anything to do with it immediately switching off.