Hi Sushruth. I'm Greg, 10 years awarded Windows MVP, specializing in Installation, Performance, Troubleshooting and Activation, here to help you.
Whenever Defender needs repair first need to check for infection by the most thorough methods, then for damaged System Files, and finally with known fixes for Defender. Please follow all steps in order, report back results.
- Download, install and run a full scan with the most powerful on-demand free scanner Malwarebytes:
https://www.malwarebytes.com/mwb-download/.
In the Malwarebytes Settings > Security tab set it to include scanning for Rootkits.
If necessary run it in Safe Mode with Networking, or Safe Mode accessed by one of these methods: https://www.digitalcitizen.life/4-ways-boot-saf...
Clean up anything found, restart PC and then run again until it comes up clean.
- Then download, install and run a full scan with AdwCleaner:
http://www.bleepingcomputer.com/download/adwcle... Remove whatever it finds.
Check for any remainders in Settings > Apps > Apps & Features, and also in each of your browser's Extensions, Home Page settings, Search service or Add-On's as shown here: https://www.computerhope.com/issues/ch001411.htm
- Check in Settings > Apps > Apps & Features that no other antivirus' are installed and if so uninstall them now. You may also need to run a special Uninstaller tool for any previously installed Antivirus from here: https://www.bitdefender.com/consumer/support/an...
- Then check for damaged System files by running System File Checker/DISM in WIndows 11:
https://www.elevenforum.com/t/use-system-file-c... - Now check if Defender offline scan will run.
- If Defender Offline is still broken, try these fixes next (work for both Windows 10 and 11:
https://windowsreport.com/problems-scanning-win...
(Avoid ad links which intrude into editorial copy, especially avoid Restoro, PC Repair Tool and Reimage ads)
https://www.minitool.com/backup-tips/windows-de...
https://www.youtube.com/watch?v=eY94YG3FUtU
- If nothing else works then do a Repair Install, by installing Media Creation Tool, open tool and choose to Upgrade Now. This reinstalls Windows while keeping files, programs and most settings in place, is the most stable method to advance to the latest version, and solves most problems. Tutorial here:
https://www.elevenforum.com/t/repair-install-wi...
If you want to keep Malwarebytes as an on-demand scanner then you can turn off its Real Time trial version in it's Settings > Account Details tab.
I hope this helps. Feel free to ask back any questions and let us know how it goes. I will keep working with you until it's resolved.
______________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.