Hello @Asma Muzzamil !
Welcome to Microsoft QnA!
If i understand correctly you cannot take ownership of these files , and it is expected
I can provide 2 links to try
This is a recommendation from the user to to Clear the Microsoft Defender Protection History on Windows 10 & 11
**2.If this does not work try stopping the service and re try manually ( Not recommended):**
You can follow the steps in the below article to turn on and off the defender in your environment.
Turn off Defender antivirus protection in Windows Security https://support.microsoft.com/en-us/windows/turn-off-defender-antivirus-protection-in-windows-security-99e6004f-c54c-8509-773c-a4d776b77960
Turn on Microsoft 365 Defender https://learn.microsoft.com/en-us/microsoft-365/security/defender/m365d-enable?view=o365-worldwide
If you are comfortable with Powershell then you can try out the below article for some insights. Use PowerShell cmdlets to configure and manage Microsoft Defender Antivirus https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/use-powershell-cmdlets-microsoft-defender-antivirus?view=o365-worldwide
Reference : https://learn.microsoft.com/en-us/answers/questions/881655/temporary-disable-pause-defender
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards