https://github.com/nitinbps/ArcforServerSamples/blob/main/ArcESUEnabled.ps1 show ESU is not enabled, despite ESU portal has been enabled, ArcESU registry is enabled (value 1), license.json is present, and ESU patches are installed.

They run it after deleting the license.json and restarting HIMDS and still see it reporting not enabled

Ask:
Fix ArcESUEnabled.ps1 show ESU is enabled
Your assistance will be much appreciated.
https://github.com/nitinbps/ArcforServerSamples/blob/main/ArcESUEnabled.ps1 show ESU is not enabled, despite ESU portal has been enabled, ArcESU registry is enabled (value 1), license.json is present, and ESU patches are installed.
They run it after deleting the license.json and restarting HIMDS and still see it reporting not enabled

Ask:
Fix ArcESUEnabled.ps1 show ESU is enabled
Your assistance will be much appreciated.