Search the VMware Knowledge Base (KB)
View by Article ID

Setting user privileges to allow users to create virtual machines in vCenter Server 4.x and later (1027743)

  • 28 Ratings


  • Unable to create a virtual machine.
  • Creating a virtual machine fails.
  • You see the errors:

    • Unable to access datastore
    • You do not have the privilege 'Resource > Assign virtual machine to resource pool' on the selected Cluster.


This article outlines the minimum privileges required by users to create virtual machines.


To resolve this issue:

  1. Clone the Read Only role and assign it a name at the ESXi host level.
  2. Edit the newly created role and assign the following permissions/privileges to it:

    • DataStore > Allocate Space
    • Virtual Machine > Configuration > Add New Disk
    • Virtual Machine > Configuration > Add or Remove Device
    • Virtual Machine > Inventory > Create New
    • Network > Assign Network
    • Resource > Assign Virtual Machine to Resource Pool

  3. Assign this role to the user at the ESXi/ESX host level or in VMware vCenter Server at the vCenter server or Datacenter level.
  4. Create a test virtual machine to verify.
For more information, see Creating a role and assigning virtual machine creation and management privileges to a Domain or Local User/Group (1023189).

See Also

Update History

08/14/2012 - Added additional error message to Symptoms. 01/31/2014 - Added products: ESX, ESX 4.0, and 4.1. ESXi, ESXi 4.0, 4.1, and 5.0.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 28 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 28 Ratings