The 0x80072EE7 error code may occur if the client computer cannot find the correct IP address when it tries to resolve a URL for the Windows Update Web site or for the Microsoft Update Web site. This error may occur if the Hosts file contains a static IP address.
In that case, I would suggest you disable the DNS Client service and check if it helps.
-Click the Start button and type services.msc in the Start search and hit ENTER.
-Right-click on DNS Client Service and select Properties.
-Change the startup type to Automatic and click Start.
-Click OK.
Restart the services and check if you can activate the ESU.
Hope this resolves your Query!!
----------------
--If the reply is helpful, please Upvote and Accept it as an answer--