Of all the SharePoint 2010 Service Applications, User Profile Service is probably the most difficult to configure. It requires many steps and the right sequence execution to make it up and running.
Before creating a new User Profile Service, you must meet some requirements
- Setup a new My Sites Web Application. Follow the instruction in this TechNet Article.
- Define a manage path for the My Profile Page. I recommend to create an explicite inclusion under the same Web Application as My Sites. Let say My Profile Page will be /my. And for My Sites, I will create a wildcard inclusion /my/sites.
- Add the Farm Service Account in the local Administrator Group of all SharePoint Servers (including SQL Server). Once the User Profile Created, you can remove the rights.

Then follow these intructions:
- Connect to the server hosting the SharePoint 2010 Central Administration and open it up.
- Under Application Management –> Manage Service Applications.
- In the ribbon, click New and choose User Profile Service Application.
- In the contextual window, do the following:
- Enter a name.
- Choose an application pool. I recommend to use one already configure for other Service Applications. Otherwise, create a new one and assign a Domain Service Account.
- Assign names for each User Profile Database. Make sure to keep the Windows authentication.
- Enter the My Sites Host URL, which must be the full URL of the My Sites Web Applications (ex: http://mysiteswebapp/my)
- Enter the My Sites Managed Path (ex: my/sites).
- Define the site name format.
- Click Create.
- Once the creation process is successful, reboot the server.
- Log on the server, using the Farm Service Account.
- Go in SharePoint 2010 Central Administration, under System Settings –> Manage Services on server.
- Start the User Profile Service.
- Start the User Profile Synchronization Service. The Farm Service Account password will be required prior to start it up.
Note: It will take several minutes to start the User Profile Synchronization Service. Check in the SQL Server if the installation process created the table in the Sync DB. Check also the Windows Services, if both Forefront Identity Manager Service and Forefront Identity Manager Synchronization Service has started under the Farm Service Account Log on As.

