Hi,
Thank you for coming Microsoft Q&A forum.
1.SCCM 2012 R2 is a very old version and can't support Windows 10, it's recommended that you install the latest Microsoft Endpoint Configuration Manager current branch version 2002/2006 (SCCM 2002/2006) to get better support. For more information about SCCM installation, please refer to:
Configuration Manager 2002 baseline installation
2.Please help check whether the Service Account you used is able to connect to SQL Server database or not. We can perform a UDL test:
How to perform a UDL test to check the SQL Server Connectivity
Please note: The links are not from Microsoft, just for your reference. Thanks for your time.
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.