The problem could be because
Windows Explorer is crashing after login (Symptom: You can see the desktop for a few seconds before the black screen comes up).
The answer here solved this problem for me:
(http://www.tenforums.com/general-discussion/15245-file-explorer-keeps-crashing-post477925.html#post477925) in the thread: (http://www.tenforums.com/general-discussion/15245-file-explorer-keeps-crashing-post477925.html#post477925)
Here is a copy/paste of that answer for the purpose of completeness:
Join Date : Nov 2015
Posts : 1
This sounds like a manufacturer sound audio issue for some of us. I found this solution and it worked for me. I found some error in the Events Manager and this one was relevant "IDTNC64.cpl." "The root cause of the problem is that the audio software supplied by IDT and used by several PC manufacturers (Dell, HP and probably others) is not compatible with Windows 10. IDTNC64.CPL is one component of that software and the correct solution is to uninstall the IDT audio altogether. Provided you have just restarted your PC, you should be able to use a Windows Run Box (Win Key + R) before the crashes get too serious. Type 'control panel' into the run box prompt and when the Control Panel appears, use Uninstall to seek out the offending IDT program - on my PC it had an icon of a musical note with the letters IDT next to it - and Uninstall. On rebooting the PC (use Ctrl-Alt-Del to power down if necessary) and restarting, Windows will automatically detect any missing audio drivers and install appropriate ones (not from IDT). You can then check that IDTNC64.CPL is no longer present in C:\windows\system32. If you have not yet migrated from an earlier version of Windows, it is best to Uninstall the IDT software in the old operating system (again, Windows will automatically reinstall compatible drivers) before attempting the upgrade to Windows 10." After days of troubleshooting, I finally have no desktop or file explorer loop crashes! Thanks (Mikedt10 !)"