Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to activation.
according to the screenshot, the first page shows the machine is MAK activated. The second page is OEM activated.
The OEM key retrieved by the PowerShell command is tied to the hardware and should automatically activate Windows Pro. However, if your custom image is applying a different key, it might be causing conflicts.
Use the Windows Activation Troubleshooter to diagnose and fix activation issues. Go to Settings > System > Activation and run the troubleshooter.
When re-imaging, ensure that the process does not remove or alter the existing activation.
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it