Hiep Le
Mar 17, 2022
visibility 3689
star star star star star
(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!

error Please login to comment.
Latest blogs
New logo and login page in Optimizely CMS 13.5

CMS 13.5.0 quietly ships a new logo and a redesigned login page.

Tomas Hensrud Gulla | Oct 30, 2026 |

Is your website agent-ready? Using Cloudflare's readiness tool to assess your website

One of my friends and fellow MVPs, Minesh Shah recently blogged about optimising one of his websites for full AX and agent readiness https://www.li...

Scott Reed | Oct 29, 2026

Visual Builder without Next.js, Part 1: What Astro Has to Rebuild on CMS 13 PaaS

Series: Part 1: What Astro Has to Rebuild on CMS 13 PaaS · Part 2: Does It Survive DXP? (Redis-backed ISR, Graph webhooks, Cloudflare and preview a...

Piotr | Oct 29, 2026

Visual Builder without Next.js, Part 1: What Astro Has to Rebuild on CMS 13 PaaS

A field report on the framework-neutral CMS SDK 3.1 beta: Visual Builder, the content model and live preview in Astro, on a real CMS 13.

Piotr | Oct 29, 2026 |