the RPC server is unavailable error while installing SharePoint 2016
Check out Best Alternative to InfoPath -> Try Now
In this post we will discuss how we can resolve a pathetic error which comes while installing SharePoint 2016. The error comes as The RPC server is unavailable. The error usually comes in the 3rd step while you run the SharePoint configuration wizard after installing SharePoint 2016. The error comes as:
Exception: System.InvalidOperationException: An error occurred while getting information about the user Administrator at server MySP.local: The RPC server is unavailable
at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name)
at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)
at Microsoft.SharePoint.Administration.SPManagedAccount.Update()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPWindowsService.Update()
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateTimerService(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateBasicServices(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.Create()
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, SqlConnectionStringBuilder siteMapDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

the rpc server is unavailable error while installing sharepoint 2016
the RPC server is unavailable SharePoint 2016
I was trying to install SharePoint 2016 on my Windows Server 2012 R2 machine and also I was using SQL Server 2012 enterprise edition. The installation was successful, but when I run the configuration wizard it gave the above error.
Then I google and did the below approaches:
ipconfig /flushdns
ipconfig /registerdns
Also, I tried adding the IP address of DC into the host file that also did not work.
Then I uninstall everything and again install SQL server 2014 this time.
Again the same issue comes, same error.
the RPC server is unavailable SharePoint 2016
Here I am going to explain what are the steps I followed to solve the issue. But all the steps may not be necessary. The below step I did and it started working.
I was using the main Administrator (MYSP\Administrator) domain account in the configuration wizard. Basically, I was giving this account and database name.
I think there was some issue with the account.
So I first go to Server Manager -> Tools -> Active Directory Users and Computers. There I created a user.
Here the user is a member of local users groups.
Then open SQL Server Management Studio (Logged in windows authentication). Add the user into SQL server 2014. For this expand security tab -> Logins (Right Click) -> New Login…

the rpc server is unavailable error while installing sharepoint 2016
Then in the Login Properties dialog box for the user. Click on Server Roles then select the below server roles:
- dbcreator
- public
- securityadmin

the rpc server is unavailable error while installing sharepoint 2019
Then click on User Mappings tab, Select the db owner role checkbox for the below databases:
- master
- model
- tempdb

the rpc server is unavailable error while installing sharepoint 2016
After this now I run the configuration wizard and this time I gave the database name and my newly created username and password. And it worked successfully.
Also, Microsoft has released a patch which can be downloaded from the below link:
https://www.microsoft.com/en-us/download/details.aspx?id=53287
Download it, install it, restart the machine and try configuring again. This also works for me once while I was installing in another machine.
Also, make sure the firewall settings are disabled. You can check it by following below steps:
Go to Control Panel -> click on System and Security. Then click on Check firewall status. Here I have disabled the Firewall settings.
You may like following SharePoint 2016 tutorials:
- Browsers Supported in SharePoint online SharePoint 2016 and SharePoint 2013
- User Information List in SharePoint 2016 or SharePoint 2013
- All about Publishing Infrastructure Feature in SharePoint 2013 and SharePoint 2016
- Alternate Access Mapping in SharePoint 2016
- Site content and structure missing in SharePoint 2016/2013/Online
- Different ways to Retrieve logged in user details in SharePoint 2013 or SharePoint 2016
- SharePoint 2016 User Profile Service Application (UPSA) configuration step by step tutorial
- SharePoint 2016/2013 event receiver example using Visual Studio 2017
- How to add HTML file in the content editor in SharePoint 2016/2013/Online
Hope this article will help you to resolve The RPC server is unavailable error in SharePoint 2016.

SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)