You open file explorer from the task bar or start menu in Windows 10 and file explorer immediately opens and then closes. Right clicking on the file explorer icon in the task bar and choosing a folder directly such as the Desktop opens File Explorer normally and does not crash.
If Windows 10 is up to date the easiest solution is to Disable Quick Access in Windows 10 and change it to open up to MY PC by default.
Right click on the File Explorer Icon in the task bar
Choose a Pinned folder such as Desktop
Whilst file explorer is open select View from the top ribbon and then click on Options, Change folder and search options
As shown below change Open File Explorer to: This PC
It is also recommended to select Clear File Explorer History under the Privacy Pane
Open File Explorer normally and confirm the issue has been resolved