Sometimes you will encounter issues on unable to join to SCCM 2012 CAS Server from Primary Site Server. you can use the Prereqchk command line to help you to get the answer from the log.
Below are the guide on how to use Prereqchk tools.
1. Open a command prompt and browse to \SMSSETUP\BIN\X64 or ConfigMgrInstallationPath\SMSSETUP\BIN\X64.
2. Copy the files from following location and check
(I) In Windows Explorer, browse to one of the following locations:
(ii) Copy the following files to the destination folder on the other computer:
3. Type prereqchk.exe and choose from the following command-line options to check requirements for a primary site installation.
Example : Prereqchk.exe /noui
Usage examples (optional options are displayed in brackets):
• prereqchk.exe /NOUI
Verifies that the local computer meets the requirements for the primary site.
Verifies that the specified computer meets the requirements for SQL Server to host the Configuration Manager site database.
Verifies that the specified computer meets the requirements for the SMS Provider.
• /JOIN ]
• /MP ]
• /DP ]
When you run the command-line, unless you use the NOUI option, Prerequisite Checker opens and starts scanning the specified servers using prerequisite checks applicable to the specified command-line options. Prerequisite Checker creates a list in the Prerequisite result section for any problems found.
After you run the command line you can also open the ConfigMgrPrereq.log file in the root of the C drive to review the prerequisite checker results.
Example command line :-
@echo. Please Wait....SCCM Prereq Checking Tools Running .....
Prereqchk /NOUI /PRI /SQL mycas.xxx.xxx /SDK mycas.xxx.xxx /JOIN mycas.xxx.xxx /MP mycas.xxx.xxx
Save to Auto.bat