· Hi, i want to add some thing in C:\Windows\System32\drivers\etc\hosts file, how i can add, i login in as admin but its not allowing me to add, can any one please tell me how i can make changes in this file. Thanks · it still now allows it gives message you not have permission, contact your administrator to make changes, i am already logged in as admin.  · Navigate to the path that contains the hosts file. The hosts file is located at c:\Windows\System32\Drivers\etc. You can paste that path into the bar at the top of the window and press Enter to go there. Save it at some location as ANSI hosts file (www.doorway.ru extension, select all files and name it as hosts) Copy all the hosts files entries and save it. Finally copy the hosts file copied at the desired location say: C:\tempfolder\hosts to c:windows\system32\drivers\etc folder. 
  Click Start Button  Type: CMD  Right Click Command Prompt  Click Run as Administrator  goto c:\windows\system32\drivers\etc  type: notepad hosts. Make your changes, save and you should be golden. Click or tap File and then Open, or press CTRL+O on your keyboard. Open a file in Notepad. Browse to "C:\Windows\System32\drivers\etc" or copy and paste the path in the address field of the Open window, and press Enter. Open C:\Windows\System32\drivers\etc\hosts in Notepad. To open the hosts file in Notepad, click "File", "Open", and navigate to C:\Windows\System32\drivers\etc. You won't be able to see any files in this directory because they aren't text documents. To change the file type, click on the dropdown in the bottom right of the Open menu and click on "All Files": You'll see a file named hosts. Double click on that file to open it. 
  All modern operating systems offer a file called the “hosts” files which you can use to set the Windows, c:\windows\system32\drivers\etc\www.doorway.ru This file is automatically generated by WSL based on the Windows hosts file: # %WINDIR%\System32\drivers\etc\hosts. Modifications to this. *:``abc ; Read the contents of the backup file FileRead, Contents, C:\Windows\System32\drivers\etc\www.doorway.ru if not ErrorLevel ; Successfully. 
0コメント