Javax.net.ssl.sslhandshakeexception Received Fatal Alert Handshake_failure

You can use WMI to figure this out. The Win32_BootConfiguration class will tell you both the logical drive and the physical device from which Windows boots. Specifically, the Caption property will tell you which device you're booting from.