How do I get permission to change hosts file?

How do I edit access denied hosts file?

If access is denied when editing hosts file, the first thing you should try is to access the file as an administrator:

  1. Open Windows search and type Notepad.
  2. Right-click on Notepad option and select Run as administrator.
  3. After the program launches, select File > Open.

How do I give permission to host?

Permanently Allow Access

  1. Right-click the Hosts or Lmhosts file and select “Properties“.
  2. Select “Security“.
  3. Select the “Edit…” button to edit permissions.
  4. Select “Add…“.
  5. Type your username to allow just your account access, or type “EVERYONE” to allow access to anybody.

Can’t change hosts file?

Replies (11) 

  • Press the Windows key and search for Notepad.
  • Once Notepad is available, right-click and select Run as administrator.
  • In your Notepad, Click File > Open and search for the following file: c:WindowsSystem32Driversetchosts.
  • You can edit the changes as normal.
  • Click File > Save to save your changes.
THIS IS INTERESTING:  When two host species are required for completion of a parasitic fungus life cycle Thiscondition is described as?

Can’t modify hosts file Windows 10?

To be able to edit it you must first disable the read-only bit:

  • Open the c:windowssystem32driversetc 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).

Do not have permission to edit hosts file?

Locate hosts file, right-click it and choose Properties. Navigate to the Security tab and click the Edit button. You should see the list of users and groups on your PC that have access to the hosts file. If your user name or group is on the list, click it and make sure that it has Permissions set to Full control.

How do I give permission to file manager?

Click on File Manager in the left panel. Select the file or directory you want to modify permissions for and click the three-dot menu. Revise the permissions for the file or folder and click Change Permissions. The permission has been changed for this file or folder.

How do I save a host file without admin rights?

Find the hosts file. Right-click it and go to Properties. Near the bottom, you should see Attributes and uncheck Read-only next to it. Save the changes with Apply and confirm by clicking OK.

How do I give permission to user in vmware?


  1. Browse to the object in the vSphere Web Client object navigator.
  2. Click the Manage tab and select Permissions.
  3. Click Add Permission.
  4. Click Add.
  5. Identify the user or group that will have the permission. …
  6. Select a role from the Assigned Role drop-down menu.
THIS IS INTERESTING:  Frequent question: How do I change a file type in cPanel?

How do you reset your hosts file?

To Reset Hosts File Back to Defaults in Windows,

Navigate to the folder C:WindowsSystem32driversetc. Select “All Files” from the drop-down menu. Double-click the hosts file. Select all the file contents ( Ctrl + A ) and clear it (press Del ).

Is it safe to edit hosts file?

All editing the Hosts file does is redirect an IP Address, so can have no detrimental effect on your system . . .

How do I edit etc hosts on Mac?

To edit the file, follow the steps below.

  1. Launch the macOS Terminal application.
  2. Go to the Finder, then Click Go.
  3. Click Utilities.
  4. Double-click Terminal to launch the Terminal window.
  5. Now, enter the following command: sudo nano /etc/hosts.
  6. Then, enter the sudo password for your user to allow edit access to the file.

How do I open host file as administrator?


  1. Click Start, click All Programs, click Accessories, right-click Notepad, and then click Run as administrator. …
  2. Open the Hosts file or the Lmhosts file, make the necessary changes, and then click Save on the File menu.

How do I change the administrator on Windows 10?

Hit the start menu or press the Windows key and start typing Notepad. Right-click Notepad and choose Run as administrator. Now you’ll be able to edit and save changes to your HOSTS file.

How do I get System32 permission to save?

How to Change the Permissions for System32 Drivers

  1. Press “Windows-R” to open Run. …
  2. Click “OK” to open the directory in Windows Explorer. …
  3. Click the “Advanced Sharing” button, check “Share This Folder,” then click “Permissions.”
  4. Select a group or user. …
  5. Click “OK” to change the folder permissions.
THIS IS INTERESTING:  Which log file is maintained by Apache server?