Issue
When deploying a solution in a multi-server SharePoint farm, it did not deploy to all servers in the farm. During deployment, it missed one or more servers and the status of the solution was "Not Deployed".
Note
In our environment, we have four SharePoint servers with custom MinRole, two for app servers and two for web front end purposes.
- If you browse the Manage Farm Solution from Central admin, the Status of the Solution is Not Deployed,

- If you click on the Solution and Solution Property page, you will see that it deployed to 3 servers out of 4 and kfca1 is missing.

- Even we try to retract an existing solution, it retracts from 3 servers out of 4, again missing kfca1.

Trouble Shooting
We checked the following things,
- Checked SharePoint Timer Service is running on All servers ( from services console)
- Checked SharePoint Admin Service is running on All servers ( from services console)
- Checked from Central admin if there was any Timer job stuck or paused ( from central admin > Monitoring > timer job status)
- Cleared the Config cache on all servers in the farm ( please check the wiki for Clear Config Cache)
Note
Clearing Config cache in Production required extra precautions, otherwise it will cause an outage. - Re-deploy the Solution either PowerShell or from Central Admin
- Reboot the faulty server
- Enable the Verbose Logging and try to check ULS logs for any clue.
- Check the Event Log for any clue
Root Cause
We opened a support ticket with MSFT after all our troubleshooting. During that, we found the Internal SharePoint Foundation Timer job was disabled on the server.
Note
Farm-level SharePoint Foundation Timer job was only visible from PowerShell.
- We ran the following script to get the status of Internal SharePoint Foundation Timer Job.
- $farm = get - spfarm
- $ss = $farm.Servers | ? {
- $_.Role - notlike "Invalid"
- }
- foreach($s in $ss) {
- $s.name
- Write - host "........................."
- $is = $s.ServiceInstances
- foreach($i in $is) {
- if ($i.TypeName - eq "Microsoft SharePoint Foundation Administration") {
- $i.Typename
- $i.status
- }
- if ($i.TypeName - eq "Microsoft SharePoint Foundation Timer") {
- $i.Typename
- $i.status
- }
- }
- }
- From the out below, clearly we are seeing that SharePoint foundation Timer Job is disabled on kfca1, which is the problem.




narayana reddyPosted Jan 5, 2023, 9:09 AM
We have getting problem with Microsoft SharePoint foundation Administration instance service is disable please provide the script how to start the service instance
Aditya JadhavPosted May 7, 2021, 4:41 PM
First script has spaces on line 1 , 3, 10 & 14, rest all good. !
Neville ScheevelPosted Jun 23, 2020, 5:20 PM
Thank you so much! 3 days I've been working this problem and finally I found this you fixed it.
Sami UllahPosted Jan 1, 2020, 5:25 AM
Great Info Indeed. Thank You Waqas
Hadshana KamalanathanPosted Sep 7, 2018, 12:03 PM
Thanks for sharing....