Take the community feedback survey now.

Hiep Le
Mar 17, 2022
  3103
(1 votes)

Create admin account without given access to CMS

Ever encountered a situation you are asked to take over a project to maintain it, you are given database backup & source codes but someone forgot to tell you the admin account to login CMS?

Fret not. If you are using CMS version 11 or ealier, edit your web.config to allow anonymous access to the CMS by updating the following sections:

1. Under <location path="EPiServer">

update from <deny users="*" /> to <allow users="*" />

2. Under <location path="EPiServer/CMS/admin">

update from <deny users="*" /> to <allow users="*" />

You now can access the CMS at http://your-site/EPiServer/CMS/Admin/Default.aspx

Go in and create your admin account and you're all set!

Mar 17, 2022

Comments

Scott Reed
Scott Reed Mar 17, 2022 11:49 AM

I would suggest updating the intro to this just to explain this is for pre CMS 12. As in current version which is .NET 5 there is no web config 

Hiep Le
Hiep Le Mar 18, 2022 04:44 AM

Thanks for your insight Scott. Updated :)

Devsina
Devsina Oct 17, 2023 02:15 PM

Thank you, saved me sometime!

Hiep Le
Hiep Le Oct 19, 2023 06:42 AM

Devsina, it's great that it could help you!

Please login to comment.
Latest blogs
Going Headless: 3 Ways to Store Custom Data in Optimizely Graph

Welcome to another installment of my  Going Headless  series. Previously, we covered: Going Headless: Making the Right Architectural Choices Going...

Michał Mitas | Nov 3, 2025

A day in the life of an Optimizely OMVP - What's New in Optimizely CMS: A Comprehensive Recap of 2025 Updates

Hello and welcome to another instalment of a day in the life of an Optimizely OMVP. On the back of the presentation I gave in the October 2025 happ...

Graham Carr | Nov 3, 2025

Optimizely CMS Mixed Auth - Okta + ASP.NET Identity

Configuring mixed authentication and authorization in Optimizely CMS using Okta and ASP.NET Identity.

Damian Smutek | Oct 27, 2025 |

Optimizely: Multi-Step Form Creation Through Submission

I have been exploring Optimizely Forms recently and created a multi-step Customer Support Request Form with File Upload Functionality.  Let’s get...

Madhu | Oct 25, 2025 |

How to Add Multiple Authentication Providers to an Optimizely CMS 12 Site (Entra ID, Google, Facebook, and Local Identity)

Modern websites often need to let users sign in with their corporate account (Entra ID), their social identity (Google, Facebook), or a simple...

Francisco Quintanilla | Oct 22, 2025 |

Connecting the Dots Between Research and Specification to Implementation using NotebookLM

Overview As part of my day to day role as a solution architect I overlap with many clients, partners, solutions and technologies. I am often...

Scott Reed | Oct 22, 2025