Windows 10 running programs as admin results in errors?!

I needed to edit my hosts file but I cannot start Notepad as Admin. I just get the following error:

Annotation 2020-05-16 171914

Same with other text editors, but some programs work fine, such as Spotify or Firefox.

Whats going on here? How can I fix it? I just tried downloading and installing notepad++, same thing, cannot run it as admin. Running it regularly works fine though.

Try to boot into any OS using a live USB, then try to edit from there.