Open the registry editor by typing Regedit at the command prompt and pressing Enter. Navigate to one of the key paths mentioned above. Right-click on WinPE and remove it. Now run the DISM tool with the online option and check that it works.