Hello
Thank you for posting in Q&A forum.
The DISP_CHANGE_FAILED error with the ChangeDisplaySettingsEx function in WinPE version 10.0.26100.# could be due to several reasons. Here are a few potential causes and solutions:
- Unsupported Display Mode: The display mode you are trying to set might not be supported in the newer version. Ensure that the resolution, color depth, and refresh rate are valid for the display device.
- Permissions Issue: WinPE environments can have different permission settings. Make sure that your script or application has the necessary permissions to change display settings.
- Driver Compatibility: There might be differences in display driver support between the two versions of WinPE. Check if the display drivers are up to date and compatible with WinPE 10.0.26100.#.
- Registry Settings: The function might be failing to write settings to the registry. Ensure that the registry settings for display configurations are accessible and writable.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.