Here is the quick tutorial on how to manage or edit hosts file in Windows 10 C drive. We need to change hosts file for any purpose live blog or bypass IP address or test website locally without changing DNS globally. For the security reason Windows can’t be able to write or edit the hosts file for the security purpose, but sometimes we need to do this or use it correctly. Windows 10 users are getting the error because they are not found hosts file to run as administrator or unable to save or save as hosts file in the same location. Also, users cannot replace the existing hosts file in C drive after created on the desktop or other drives.
- You don’t have permission to save in this location.
- contact the administrator to obtain permission.
- would you like to save in my documents folder instead?
Access Denied Error on windows 10 Hosts file save,
I investigate and face this same issue on my Windows 10 laptop and getting fresh after browsing some tips and do Google.
Let’s check what the possibility to fix this error or easily edit hosts file in Windows 10 without any permission denied error is.
Fixes on Edit host file in windows 10 and On Save Time errors
Step on go to the below path in your computer C drive.
C:\Windows\System32\drivers\etc
You can easily navigate to the hosts file by placing the above line in your Windows address bar, and tap enter for directly access the folder where hosts file saved.
Right click on the hosts file and tap on properties.
Next, to the properties click on security tab in Window.
Under the security, tab finds the groups and usernames sequential select system administrator and user and click on edit to change the permission for the specific one user.
On click on add it here, you can find permission for all under the Allow column select all the checkbox shown in below image.
Don’t miss to save and make changes to the hosts file permission now open the hosts file and enter the details that you want to add it in hosts file running on Windows 10 or also Windows 8 or Windows 7.
Now, Right click on hosts file and Enter lines of code, Than Save file (Ctrl + S).
That’s it.
Hope you guys enjoy with me, and you fix the problem for edit or save hosts file after making changes.