C:\Windows\System32\drivers\etc\hosts (no file extension)

However, there are still "Classic" versions of software and built-in settings that can do the heavy lifting.

You can also manage ads using Internet Explorer's native settings without installing third-party software: