I have faced the same problem, trying the solution give here and in this web : https://support.esri.com/en/technical-article/000012071
but not solved my problem.
I have uninstall ArcGIS SERVER & Delete the ArcGIS User Account from User Accounts. Control Pannel -> User Accounts. Select the ArcGIS Accounts & Delete it. Then restart the system & again install the ArcGIS server application. Now it work fine......