[Fix] DISM Error 50 “DISM does not support servicing Windows PE”

When you run the DISM tool (with the /online switch) to scan or restore the health of the operating system components, the tool may throw up Error 50. Here is the full error message verbatim:

Deployment Image Servicing and Management tool
Version: 10.0.16299.15Error: 50

DISM does not support servicing Windows PE with the /Online option.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

dism error 50

This can happen if you run any of these /online commands to scan or repair the components of the running Windows 8/10 installation:

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth

Related article: Repair Windows 10 Using DISM and SFC

DISM thinks you’re running Windows PE

Apparently, the DISM tool thinks that you’re using it from the Windows Preinstallation Environment (Windows PE) or Windows Recovery Environment (Windows RE), whereas you may be running the tool on a running operating system. The presence of the following registry key causes Windows to think that you’re running Windows PE.



HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT

Windows PE is a standalone preinstallation environment and as an integral component of other setup and recovery technologies, such as Setup for Windows, Windows Deployment Services (Windows DS), the Windows Recovery Environment (Windows RE) etc.

The “MiniNT” key doesn’t exist by default when you install Windows. As for how the key ended up on your registry, it’s possible that you (or a third-party program) have applied the following registry tweak in an attempt to enable ReFS file system format.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT]
"AllowRefsFormatOverNonmirrorVolume"=dword:00000001

Resilient File System (ReFS) is a Microsoft proprietary file system with the intent of becoming the “next generation” file system after NTFS. You can read more on that in Microsoft Docs post Resilient File System (ReFS) overview.

Fix Error 50 “DISM does not support servicing Windows PE”

To fix DISM Error: 50 “DISM does not support servicing Windows PE”, delete the MiniNT registry key using these steps:

    1. Right-click Start, click Run.
    2. Type regedit.exe and click OK.
    3. Navigate to the following registry key:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT

      dism error 50 MiniNT Windows PE key

    4. Right-click MiniNT, and choose Delete
    5. Exit the Registry Editor.
    6. No restart is required, usually. See if you can run DISM now.

This fixes DISM Error: 50 “DISM does not support servicing Windows PE” in Windows.

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

2 thoughts on “[Fix] DISM Error 50 “DISM does not support servicing Windows PE””

Leave a Comment