title: Windows 10 IoT Bluetooth LE
body: <p>I got an issue with reconnection to my BLE device. </p>
  
  <p>Senario that works
   - BLE Device is not paired
   - Pi boots and start my App, find's the BLE device, pair and connect, receiving data
   - Boot Pi and start my App, it will not pair as its already paired, it connects fine and receiving data.</p>
  
  <p>Senario that does not work
   - BLE Device is not pair or pair, does not matter
   - If my BLE device disconnect due to power loss or out of range and gets powered up or back in range the Pi will reconnect and throw:
  'System.Exception' in mscorlib.ni.dll
  There is no user session key for the specified logon session. (Exception from HRESULT: 0x80070572)</p>
  
  <p>If I try to reboot the Pi, the same message is thrown when I try to execute: await _readCharacteristic.WriteClientCharacteristicConfigurationDescriptorAsync(GattClientCharacteristicConfigurationDescriptorValue.Notify);</p>
  
  <p>The only thing that works is if I unpair the device every time it disconnect. </p>
  
  <p>This is the same issue that this guy has: <a href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b98d77f2-bf5e-45fc-9495-1c444b54450e/uwpreconnecting-to-a-ble-csac-device-causes-exception?forum=wpdevelop">https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b98d77f2-bf5e-45fc-9495-1c444b54450e/uwpreconnecting-to-a-ble-csac-device-causes-exception?forum=wpdevelop</a></p>
  
  <p>Maybe there is anyone here that has seen the same issue and solved it ?</p>
  
  <p>Thanks</p>