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:
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
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.
[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:
-
- Right-click Start, click Run.
- Type
regedit.exe
and click OK. - Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT
- Right-click
MiniNT
, and choose Delete - Exit the Registry Editor.
- 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.