X Blogs

who you gonna call?

SharePoint 2010 Servicve Accounts and Windows Server 2008 R2

clock July 23, 2010 18:16 by author 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. 

Voila.

 



Handy jQuery developer plugins

clock July 6, 2010 21:32 by author Klemen Slavič

I've commited a new plugin to my open source repository at Google Code – Niftyscripts. Currently, I've pushed a new plugin that scans the current document and reports unused CSS rules and their origins.

To read more, visit the site or browse the source tree.



Photoshop Tutorial: Shiny Apple Icons

clock July 4, 2010 06:08 by author Klemen Slavič

You can read my new tutorial in Slovene here.



Stop or start all SharePoint 2010 Services

clock July 3, 2010 00:37 by author Robi

During a maintainance of my computer I needed to stop all SharePoint 2010 services. So I was wondering what is the easiest way to do it. In Central Admin, you could do it an click on every service and stop it, but it takes a lot of time. So I was considering some other options and certainly decided that you could do it with a PowerShell script. So here it is:

STOP

$services=Get-SPServiceInstance
foreach ($service in $services) {stop-SPServiceInstance -Identity $service -confirm:$false}

START

$services=Get-SPServiceInstance
foreach ($service in $services) {start-SPServiceInstance -Identity $service}

 



About the author

Rok Bermež is Slovenian Windows Azure MVP, he works as a Software Engineer and Microsoft Certified Trainer at Kompas Xnet. His primary interests include cloud computing and web development. With extensive experience in development and architecture he participated in many projects and since the CTP release of Windows Azure much of those projects are based on Windows Azure platform. Rok has been delivering courses, writing code and speaking at conferences and community events on Microsoft technologies for the last couple of years. You can also find him on Twitter (@Rok_B).

Month List

Sign In