Microsoft SharePoint Server 2013 encountered an error during setup

When installing SharePoint Server 2013 with Service Pack 1 on Windows Server 2012 R2 using Hyper-V Manager, I got the below error:

Microsoft SharePoint Server 2013 encountered an error during setup

Microsoft SharePoint Server 2013 encountered an error during setup


Cause

By default, Hyper-V settings for the virtual processor’s numbers is one virtual processor.

Microsoft SharePoint Server 2013 encountered an error during setup

This is default virtual processor’s setting is not suitable to install SharePoint that must be more than one virtual processor to can install the SharePoint properly.


Solution

Based on Host CPU capabilities, you must set the virtual processor’s number to be more than one virtual processor to be able to install the SharePoint on any type of VM whatever it’s a Hyper-V or VMware.

CPU Task Manager

Virtual Processor’s Settings for SharePoint VM (Hyper-V)

Steps
  • Go to Hyper-V Manager Home Page.
  • Select the SharePoint VM > From Right side > Below Actions > Click on Settings.

Microsoft SharePoint Server 2013 encountered an error during setup

  • From left side > Below Hardware,> Click On Processor to check the number of virtual processors.

NoteYou must shut down the SharePoint VM to can edit the Hardware Settings, otherwise, you will get the settings disabled as shown below:

Microsoft SharePoint Server 2013 encountered an error during setup

  • Based on Host CPU capabilities, set the number of virtual processors that must be more than one virtual processor.

Microsoft SharePoint Server 2013 encountered an error during setup

  • Run the VM, try to install SharePoint again that should now be installed properly.

Microsoft SharePoint Server 2013 encountered an error during setup

Virtual processor’s settings for SharePoint VM (Vmware)

Steps
  • Make sure that the VM  status is stopped to can edit its settings.
  • Go to Vmware Home Page > Edit Virtual machine settings.

Microsoft SharePoint Server 2013 encountered an error during setup

  • In Hardware Tab > Click on the Processors.
  • Based on the CPU capabilities, set the number of processors and the core per processors that must be more than one processor.

Microsoft SharePoint Server 2013 encountered an error during setup

  • Run the VM, try to install SharePoint again that should now be installed properly.

Microsoft SharePoint Server 2013 encountered an error during setup


Applies To
  • SharePoint 2013
Conclusion

In this article, I have explained How to set the settings for SharePoint VM.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s