How to open the hosts file with Admin rights - Apply to open the file system

Instructions to open the host file with Admin rights on Windows using the Windows admin rights and change the file properties, see how to read the host file here

When you are trying to edit a file and then click Save, the system will display the message " This file is set to read-only. Try again with a different file name. " Or ' Notepad access denied ' or " You do not have permission" open this file ".

This notification makes it impossible to edit them. These files are usually files that are in the Windows operating system or in systems of important software.

In this article I will guide you how to use the full Admin rights to edit system files, important files. By the way, I will show you how to edit file attributes to hide or lock them - do not allow editing.

I. Use the Admin rights to edit the file system

When it comes to Admin rights, it is probably obvious for you to do everything with your computer, but there are still files that have admin privileges turned off, these files are mostly system files, in order to Make sure your operating system is operating in a prescribed manner, avoiding errors.

Below is an image of me trying to edit a Windows file system called host with Notepad.

The notification window appears : You do not have permission to open this file. See the owner or the file or an administrator to obtain permission.

Picture 1 of How to open the hosts file with Admin rights - Apply to open the file system

The following freetuts will guide you how to regain admin rights to edit your Windows system files.

Step 1: Right-click the file you want to edit -> Select Properties here, for example, I will host the file.

Picture 2 of How to open the hosts file with Admin rights - Apply to open the file system

Step 2: Select the Security tab in the top toolbar -> Select Users (ADMINUsers) -> Click Edit.

Picture 3 of How to open the hosts file with Admin rights - Apply to open the file system

Step 3: Select ALL APPLICATION PACKAGES -> Check the Allow column for Full Control.

Picture 4 of How to open the hosts file with Admin rights - Apply to open the file system

Step 4: Select ALL RESTRICTED APPLICATION PACKAGES -> Check the Allow column for Full Control.

Picture 5 of How to open the hosts file with Admin rights - Apply to open the file system

Step 5: Select Users (ADMINUsers) -> Check the Allow column for Full control.

Picture 6 of How to open the hosts file with Admin rights - Apply to open the file system

Step 7: Select Yes.

Picture 7 of How to open the hosts file with Admin rights - Apply to open the file system

Step 8: Click OK to complete the ADMIN hijacking process. From now on you can edit this file system with different text software like Notepad, Microsoft Word .

Picture 8 of How to open the hosts file with Admin rights - Apply to open the file system

Above is a guide to gain administrative rights to edit Windows system files, wish you success.

II. Ways to change properties of File, Folder

1. Instructions to change the properties of the file to edit the file system

For system files, this is usually the default setting Read-onlythat you cannot edit. A typical example is when trying to edit the host file, this error is very common.

The following error message appears: This file is set to read-only. Try again with a different file name.

Picture 9 of How to open the hosts file with Admin rights - Apply to open the file system

Simply to be allowed to edit these system files, we just need to turn off the Read-only property and done.

A. Instructions for turning off the "Read Only" attribute. Read-Only

Step 1: Right-click the file you want to edit and select Properties

Step 2: Uncheck Read-only -> OK is done.

The figure below is an example of a Windows file host. Located in the path: Windows / system32 / etc

Picture 10 of How to open the hosts file with Admin rights - Apply to open the file system

After performing the above step and an error still appears when correcting the file system, go back to Section I , the possibility is that you have not been granted Admin rights.

B. Instructions for activating the "Read Only" attribute - Read-Only

With this property we can temporarily lock files that do not allow editing. The way to do it is too simple, just do the opposite of the steps above in section A.

Step 1: Right-click the file you want to lock -> Select Properties

Picture 11 of How to open the hosts file with Admin rights - Apply to open the file system

Step 2: Check the Read-only -> Select OK.

Picture 12 of How to open the hosts file with Admin rights - Apply to open the file system

Done now the file cannot be edited until you leave this mode.

Picture 13 of How to open the hosts file with Admin rights - Apply to open the file system

2. Instructions to change properties to hide files and folders.

Do you have important files and folders and want to hide them for protection and long-term storage?

Simply change the properties of a folder or file with a few simple steps. No need to install apps or messy programming at all.

A. Folder hidden guide - Set the hidden mode for folders

Step 1: Access the file, the file needs to change its properties then right-click and select Properties

Picture 14 of How to open the hosts file with Admin rights - Apply to open the file system

Step 2: As soon as the Properties window opens, we are allowed to select the properties of the folder in the Attributes section :

  1. Read-only: Only allowed to read
  2. Hidden: Hide it

I will try and test both options at once to show its effect.

Select both items -> Click Apply

Picture 15 of How to open the hosts file with Admin rights - Apply to open the file system

Step 3: The Confirm Attribute Changes window appears. Here we have 2 options:

Apply changes to this folder only: Only applies to the currently selected folder

Apply changes to this folder, subfolders and files: Apply this attribute to both the root folder and subfolders + internal files.

Here I only apply to each folder only -> OK to continue

Picture 16 of How to open the hosts file with Admin rights - Apply to open the file system

Step 4: Below is the image after we have successfully hidden the folder.

Picture 17 of How to open the hosts file with Admin rights - Apply to open the file system

B. Instructions to display hidden folders.
To make the hidden folder appear, follow these steps:

Step 1: Click View in the top toolbar. Select Options

Picture 18 of How to open the hosts file with Admin rights - Apply to open the file system

Step 2: Folder Options window opens. Go to the View tab in the top toolbar -> Check " Show hidden files, folders, and drives " -> Click OK.

Picture 19 of How to open the hosts file with Admin rights - Apply to open the file system

Now we have permission to view the hidden folder (Hidden)

Picture 20 of How to open the hosts file with Admin rights - Apply to open the file system

If you want to unhide, we just need to redo the steps above, but uncheck the Hidden item is finished

With the simple instructions above, you will certainly be easier to edit file system files, be more proficient in properties to hide / lock folders and files.

Update 29 July 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile