
In the Process Monitor window, select the File menu and click Save.The solution would be to simply run Notepad elevated (right-click and choose “Run as Administrator”) to be able to write to HOSTS file successfully.

:max_bytes(150000):strip_icc()/windows-10-5a257e1e4e46ba001a99c158.jpg)
Solution: The log file above tells us that Notepad encountered an ACCESS DENIED error when writing to the HOSTS file. You need to do all that as quickly as you can. This is to prevent Process Monitor from recording other unneeded data (which makes the analysis part more difficult). Similarly, turn off capturing as soon as you finish reproducing the problem. Important: Don’t take much time to reproduce the problem after enabling capturing.
