Hi @Nisha12345,
If you have a third-party anti-virus or internet security suite, it may be blocking the hosts
file. If you do, please go through the settings and look for a setting that mentions the hosts
file. If you don’t see a setting, let us know what security software you’re running and we’ll look into it.
If that’s not the case, the hosts
file may be set as read-only. Here’s how you can fix that (credit to Windows 10, can't edit hosts file - Super User):
- Open the c:\windows\system32\drivers\etc\ folder in your file-manager;
- right-click the hosts file;
- select Properties;
- un-tick Read-Only;
- click Apply;
- click Continue (to perform the action with administrator privileges).