Hi Mona,
Welcome to the Forum.
Can you please clarify for me:
- Did you while normally logged in enable the option to do an Offline Windows Defender scan, or
- Did you download and create a Windows Defender offline startup disk?
If the latter, Windows 10 does not accept a startup disk using Windows Defender, given its now a built in tool, and that could explain the error code you are seeing.
Your best bet would be to download and create a Windows 10 installation disk, on a working computer, making sure you download a windows image that matches the version of Windows currently on your troubled computer. That means ensuring its either Home, Professional or Enterprise, 32 or 64-bit, and the language you set as default.
Having done that insert into troubled computer and boot from it to allow you to get to a recovery console and select the option to Repair Windows Startup.
Assuming that is successful, when you are able to log back in, do a full system scan for any infections - just in case.
Regards,
Regedit32