I wanted to install XBOX app but whenever I install it I got the error
looks like something went wrong 0x80073D0A
I looked this code and it seems it wants Windows Defender to be on, so I went to check Windows defender but I can't open it, whenever I click it the open with window popup telling me
you'll need a new app to open this windowsdefender link

then I tried to check the services for the Windows defender advanced and firewall services but found them set to manual and disabled respectively, whenever I try to start it I get this error

whenever I try to switch it to automatic, it tells me Access Denied though I opened services as Administrator and I'm using an Administrator account.

while for the Windows Defender Firewall everything is grayed out, I can't start, stop, restart or change its mode in the properties.
I tried to turn on the firewall from the control panel but I got this error ox80070422

later I installed and ran Malwarebytes but didn't find any threats/detections.
I'm using a personal computer not a business or an office one, so any suggestions on how to exit this problem ?
my specifications are Windows 10 pro with 20H2 build.