Question: access is denied when editing hosts file?
Answer: Right-click on “Notepad” and select “Run as administrator“. If you are prompted for an administrator password or for a confirmation, type the password, or select “Allow“. Open the Hosts file or the Lmhosts file, make the necessary changes, and then click “Save” on the “File” menu.