Do you see the following warning in the Windows Application log on your SharePoint 2010 servers:
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unnecessary system resources.
Here’s a screen grab from the Application log to illustrate:
Then here are the steps to resolve and banish the above warning:
First, create the user accounts by using Central Administration
- Verify that you have the following administrative credentials:
- To create the user accounts in Central Administration, you must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
- On the Central Administration Web site, in the Application Management section, click Manage web applications.
- Click the name of the Web application that you want to configure.
- On the Web Applications tab, in the Policy group, click User Policy.
- In the Policy for Web Application window, click Add Users.
- From the Zones list, select All zones, and then click Next.
- In the Users box, type the user name for the Super User account.
- Click the Check Names icon to ensure that the account name can be resolved by the authentication providers on the application server.
- In the Choose Permissions section, check the Full Control – Has full control box.
- Click Finish.
- Repeat Steps 5 – 8 for the Super Reader account.
- In the Choose Permissions section, check the Full Read – Has full read-only access box.
- Click Finish.
- Make note of how the names for the Object Cache Super Reader and Object Cache Super User accounts are displayed in the User Name column. The displayed strings will be different depending on whether you are using claims authentication for the Web application.
Then, add the user accounts to the Web application by using Windows PowerShell
- Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
- Copy the following code and paste it into a text editor, such as Notepad:
$wa = Get-SPWebApplication -Identity “”
$wa.Properties[“portalsuperuseraccount”] = “<SuperUser>”
$wa.Properties[“portalsuperreaderaccount”] = “<SuperReader>”
- Replace the following placeholders with values:
- <WebApplication> is the name of the Web application to which the accounts will be added.
- <SuperUser> is the account to use for the Super User account as you saw it displayed in the User Column field mentioned in Step 14 of the previous procedure.
- <SuperReader> is account to use for the Super Reader account as you saw it displayed in the User Column field mentioned in Step 14 of the previous procedure.
- Save the file, naming it SetUsers.ps1
You can use a different file name, but you must save the file ANSI-encoded as a text file whose extension is .ps1.
- Close the text editor.
- On the Start menu, click All Programs.
- Click Microsoft SharePoint 2010 Products and then SharePoint 2010 Management Shell.
- Change to the directory where you saved the file.
- At the Windows PowerShell command prompt, type the following command: ./SetUsers.ps1
- Restart Internet Information Services (IIS) via a command prompt (or IIS management console):
C:\> iisreset /noforce