July 23, 2010 18:16 by Robi
Yesterday, I was was installing SharePoint Server 2010 at one of our clients and after the install I was getting this errors:
User Profile Service Event ID 1511. It says that account could not log on to the computer and create a profile.
After a little bit of research, I found out that all you have to do is edit a local group policy and than run a cmd and all of these errors are gone.
So run a "gpedit.msc" on your WFE where you are getting these errors and go to Computer Configuration/Windows Settings/Security Settings/Local Policies/User Rights Assigneements and Search for Allow log on Locally
Add the account for which you are getting errors. Then, start command prompt and run a command:
runas /user:kompas-xnet\sp_apppool cmd
Type the password and if you go to your users folder you should see a folder with your service account name.
You can now remove Allow log on locally permission for the account.