Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to BSOD.
Please check if there is any Startup GPO or script which is installing some software when computer is rebooted after Domain-join.
If still issue persists follow below steps which should help you to resolve the issue.
1. Disable any Antivirus program or Windows firewall you may have for temporary purpose.
2. Cleanup below Temp folders location -> Open Start -> Run -> Type below location one-by-one and press enter
C:\Windows\Temp
%USERPROFILE%\AppData\Local\Temp
3. Run Disk Cleanup from Select C:\ Drive from Properties- > General -> Disk Cleanup - >Cleanup system files
4. Run sfc /scannow from elevated prompt.
5. Run below DISM commands from elevated prompt.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
6. Update BIOS firmware and Display Drivers from vendor website.
--If the reply is helpful, please Upvote and Accept as answer--