Skip to content
EP-09 Field-tested

Never run DISM to repair IIS without a backup

Re-enabling IIS through DISM can reset site configuration. Back up IIS config first.

Why

Repairing or re-enabling IIS through DISM feature commands can reset site configurations: sites, bindings and application pools.

Before you touch it

Back up the IIS configuration:

%windir%\system32\inetsrv\appcmd add backup "before-dism"

Also copy %windir%\system32\inetsrv\config\ somewhere safe.

Restore if needed

%windir%\system32\inetsrv\appcmd restore backup "before-dism"

Seeing this in your environment?

We can check for this, and everything around it, as part of an audit.

Ask us about EP-09

Find out what's really going on in your tenant.

Tell us what you run and what's worrying you. We'll recommend the right audit, and tell you honestly if you don't need one.