Are you troubled by the error of “DISM does not support servicing Windows PE”? Read this article to learn about 5 repair solutions and another method to protect your computer from failure.
“When I try to run the following command from the recovery environment command prompt: dism.exe /image:C: /cleanup-image /revertpendingactions, I only get an error message: Error 50: DISM does not support servicing Windows PE with the /Online option. Can anyone tell me how to solve this problem when the operating system crashes?”
DISM, an abbreviation for Deployment Image Servicing and Management, is a command line tool that can be used to service a Windows image (.wim) or a virtual hard disk (.vhd or .vhdx). It can be used for Windows PE (Windows Preinstallation Environment), Windows RE (Windows Recovery Environment) and Windows Setup. Among them, Windows PE is an independent pre-installation environment and is a component of other installation and recovery technologies, such as Windows Setup, Windows DS (Windows Deployment Services), Windows RE, etc.
Normally, DISM checks the integrity of the operating system and repairs damaged or modified system files. But just like the dilemma encountered by the user above, errors may occur during the use of DISM, which will seriously affect the user experience. You must try to fix it as soon as possible. Below we will provide you with repair solutions for the above error message. But before starting, it is recommended to understand the cause of the error, so that we can better fix it.
DISM is usually used to repair errors such as system crashes, but some users will receive the error message: Error 50, DISM does not support servicing Windows PE with the / Online option when running the following commands:
◑ Dism /Online /Cleanup-Image /CheckHealth ◑ Dism /Online /Cleanup-Image /ScanHealth ◑ Dism /Online /Cleanup-Image /RestoreHealth
The reasons for this error are: DISM tool thinks that you are not running commands on Windows system, but running commands on Windows PE. Continue to dig deeper, and you will find that this is caused by the wrong placement of the registry key. If you want to fix this error, you can try the following 5 solutions.
Next, I will provide you with 5 different repair solutions to ensure that your computer can return to normal.
When you encounter an error like “DISM does not support servicing Windows PE”, you should first try to refresh the DISM tool, which can help you solve various minor software-related problems to fix the error.
Misplacement of the Registry Key is the direct cause of Windows 10 “DISM does not support servicing Windows PE” error. Therefore, if you want to fix the error, you need to delete the associated registry key.
☛ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
When you run the Dism /Online /Cleanup-Image /RestoreHealth command, you may also receive the error message that DISM does not support Windows PE. The reason is that there are problems with the operating system of the /RestoreHealth parameter, and you need to fix them. In order to solve this error, you can execute some commands in the Command Prompt to solve this problem.
Note✍: if you want to view the contents of the C: system partition, enter the dir C: command; If you cannot find the Windows folder in the C: system partition, enter the dir D: command to go to the next system partition until you see the Windows folder.
Note✍: Where D=Windows system partition, so you need to replace D with the drive letter of the system partition containing the Windows folder. This article takes D: system partition as an example.
BIOS (Basic Input/Output System) is responsible for managing the data flow between the operating system and external devices such as hard disks. Resetting the BIOS can restart the output/input system to the last saved configuration, which helps to fix the “DISM does not support servicing Windows PE” error.
Note✍: If you have an in-depth understanding of the operating system structure, then resetting the BIOS may be a good solution; if you do not know anything about the operating system structure, it is recommended that you operate under the guidance of professionals to prevent unexpected situations.
In most cases, the “DISM does not support servicing Windows PE” error message is related to a specific user account. To do this, you can create another user account and log in to your computer to avoid this error.
If none of the above 5 solutions can help you solve the problem of "DISM does not support servicing Windows PE" when the system crashes, and you have backed up the system with AOMEI Backupper Standard before the system has problems, then you can restore Windows 10 system to a normal state to solve system problems.
AOMEI Backupper Standard is a powerful backup and recovery tool, suitable for Windows 11/10/8.1/8/7/Vista/XP and other systems. You can download it for FREE, and there is no need to register an account to use it. It can help you repair a crashed system and restore it to a normal state, thereby protecting the security of your data.
If the computer cannot start or has crashed, you can create a Windows PE bootable disk on another healthy computer. Then go to the computer with the system crashed and perform a system restore from the Windows PE bootable disk to solve the problem.
If you want to restore the system on Windows PE, please make sure you have a system backup and a Windows PE bootable disk. First, we need to do some preparatory work:
▶ Prepare a USB (or CD/DVD) with a capacity greater than 16GB, and connect it to a well-functioning Windows computer. ▶ Download and install AOMEI Backupper Standard on your computer for free.
Step 1. Click Tools tab on the left, and select Create Bootable Media in the right window.
Step 2. Then choose the type of bootable disc. Select Windows PE in the window, and then click Next (select Windows PE or Linux according to your computer system, if your computer is Windows 7 and Windows 8, you need to download AIK or ADK).
Step 3. Specify the storage media, including USB, CD/DVD disc or ISO Image File, and then click Next to create a bootable media.
Step 1. Insert the bootable media into the crashed computer and boot from it (you may need to change the boot order and boot mode in the BIOS). After the computer starts successfully, AOMEI Backupper (installed on the bootable device) will run automatically.
Step 2. Click Restore tab on the left and click Select Task to find the system backup you created.
Step 3. Select Restore this system backup and click Next.
Step 4. Confirm the operation and click Start Restore and wait for the system to be restored.
Step 5. Remove the bootable media and restart the PC (you may still need to change the boot order and boot mode in the BIOS).
Important Hints: ❀ You can schedule regular automatic backups of the system, and each backup will generate an image at a given point in time, so there may be multiple backup points to choose from. ❀ When restoring the system, the target disk or partition will be completely overwritten. If the target disk or partition contains any sensitive data, you can use the File Backup function to copy it to another location. ❀ During the system restore process, the program will prompt you to restart your computer, and then enter the "Restart Mode" to perform the restore operation. ❀ If your system adopts the layout of "EFI partition + system partition + recovery partition", there may be multiple EFI partitions after restoration. In this case, the recovered system may not boot, you can try to delete the extra EFI partition and keep only one. ❀ If the system image you are using comes from another computer, you can upgrade to the professional version and use the Universal Restore function to ensure that the system starts normally after recovery.
If you are struggling with “DISM does not support servicing Windows PE” error, you can try the 5 solutions mentioned in the article in turn to ensure that your computer can return to normal. If the above 5 methods failed to help you solve the problem, then it is recommended to use AOMEI Backupper Standard to restore the system.
AOMEI Backupper Standard can be used for free without registration, and the operation is simple. If you have used the software to back up the system before the error occurs, you can directly restore the system to the point in time of the previous backup to skip repairing the error that DISM does not support Windows PE.
In addition, the software also provides you with functions such as regular automatic backup systems, file backups, disk wiping, etc., to provide all-round protection for your computer data.