Reset Sitecore admin password and account

I recently managed to lock out my Sitecore local admin account when using the Sitecore PowerShell module. It did this without warning when the elevated privileges stopped working correctly.

Anyway from a few various sources I found some examples of how to reset the password. But what was required was to also to set IsLockedOut value.

If you ever find your account locked out, try running the following.


This is an uncommon issue and one that is easy to overlook if you’ve recently deployed Sitecore into production.

But you find that the persistant cookie “SC_ANALYTICS_GLOBAL_COOKIE” which Sitecore uses to track contacts across sessions in the xDB is missing. This causes a number of issues, but the main one being is that if a visitor returns to the website, a new contact is created as Sitecore cannot relate the two sessions using this unique visitor id.

Sitecore scheduled tasks not running

Today i’ve been trying to understand why I couldn’t configure a scheduled task to run a Sitecore Powershell script. I found many useful articles which explained the configuration options for Sitecore scheduled tasks.

One notable detailed article can be found on the Sitecore Community Docs which reconfirmed my understanding of what triggers the scheduled tasks to run and how often the agent checks what tasks to be run.

I played around with these settings and still couldn’t get my scheduled task to run. I then read a post on stack overflow which gave me a good pointer.

No more wrappers with Sitecore fake db

Just reviewed and started using this module after being frustrated with abstractions and getting buried in wrappers. No matter how good you are at managing your solution, you’ll end up with a mess of wrappers to be able to unit test every facet of Sitecore.

Starting my Sitecore blog

Hello Sitecore world!!!

Since i began my career as a Sitecore developer more than 9 years ago when i joined the first Sitecore UK Partner Eduserv, i always intended to create a blog about my experiences with Sitecore to help others in the community and also to document my development as a Sitecore developer. I’ve made notes, thought “I’ll write that up later” and made to many excuses about being “to busy”.