Home > Hosts File > Cannot Delete Windows Hosts File
Cannot Delete Windows Hosts File
To be able to edit it you must first disable the read-only bit: 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 The easiest method to modify it: copy the hosts file to your desktop, modify it with your preferred editor drag&drop your modified version into the original location and confirm to overwrite Hovsep A March 18, 2014 at 4:14 pm maybe your antimalware solution is doing this problem, disable it for a while in order to see if this will let you to But Winpatrol (https://www.winpatrol.com/winpatrol/) Options can no longer find the HOSTS file.I did not need to disable the anti-virus or Windows Defender.Usin 64-bit Windows 8.1 with a 64-bit machine. « Older Comments check my blog
This is a security risk though, please think carefully if you really need this. Some files are hidden. –C_B Jan 3 '14 at 16:31 OK I did that but I still get the exact same error message when trying to open host with share|improve this answer answered Aug 19 '15 at 6:14 Tobb 172118 add a comment| up vote 0 down vote What worked(Windows 10, if it matters) for me is, Just RUN notepad.exe I copied the hosts file in the same location, deleted the original hosts file and renamed the new one to hosts.
Can't Save Hosts File Windows 7
Once you have located the file right click on it and open with notepad.6) Modify the hosts file properly. Make the necessary changes to the hosts file. Method-2 should be used in this case.Method-2If you are not good in using command prompt, then this method will be handy in editing the hosts file in GU interface.5) Browse the
- Help Desk » Inventory » Monitor » Community » current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.
- Why are password boxes always blanked out when other sensitive data isn't?
- Let me give you two examples where this may be beneficial.
- a blank hosts file is what you actually want. 1 Mace OP Helpful Post Martin2012 Jun 25, 2012 at 10:54 UTC you need to run
- I uncheck, apply, do my change, then check it back and apply.
- If you are using Explore to navigate your way to the C:\WINDOWS\system32\drivers\etc\hosts- file you can right click on the Hosts file and deselect the Read Only attribute click apply then edit
- Run your text editor of choice as administrator (do the right-click, run as admin dance) 2nd.
- Flag Permalink Reply This was helpful (0) Collapse - host file by bilardomemozin / October 22, 2014 1:09 AM PDT In reply to: C:\WINDOWS\system32\drivers\etc\hosts file cannot saved..
- Set 'modify' access also not enough if you have antivirus So you need 1) Disable antivirus 2) Set 'modify' access for all applications 3) Modify 'hosts' file 4) Revert 1-2 steps
- i meant yous guys honest!
I'd like to take a look at the Host file's functionality first.The Windows Hosts file can be used to block or redirect hostnames. Can't Edit Hosts File Windows 10 If a ring R with 1 has characteristic 0. As far as I remember I have done the same on my Windows 10 computer, but I dont get the same result. Remember to re-set the read-only bit after you're done to prevent other applications from modifying it without your knowledge.
Is it safe to use cheap USB data cables? Can't Edit Host File Windows 10 A much "easier way" than your suggesion would be to use EDIT.COM or even EDLIN.EXE to alter the HOSTS file or if you are familiar with the CLI as well as If I run notepad as administrator first, then open the file, I can save without problems. Open explorer and click on windows and then system32 and drivers and etc there is host file open it with notepad.Where are you striking trouble you may need to if you
Can't Edit Hosts File Windows 10
In Notepad you would select File > Save from the menu to do that.And that's how your edit and reset the Windows Hosts file. https://support.microsoft.com/en-us/kb/972034 ReplyLeave a Reply Click here to cancel reply.CommentYour NameYour E-mail (will not be published) Notify me of followup comments via e-mail. Can't Save Hosts File Windows 7 When Notepad opens Click File -> Open. Can't Save Hosts File Windows 8 Doesn't keep windows from "protecting" me, even though I don't want it. –Tobb Aug 18 '15 at 14:10 I didn't notice the Windows 10 tag so perhaps my answer
As an IT professional I don't knowingly infect myself with malware.. click site Must Read Articles! it should be "deletable" with standard local admin rights.... (As I just deleted mine without issue)..... I beleive if I reboot it wil be recreated anyway (which I am just about Click Save to apply the changes.7) Unfortunately you can’t save this file now, overwriting is not permitted. Therefore save the modified file to different location, make sure you are saving it Unable To Edit Hosts File Windows 10
I had to right click the file, go to Properties, Security tab and click Edit. Subscribe / Connect Ghacks Technology NewsletterGhacks Daily NewsletterAdvertisement Popular Microsoft removes policies from Windows 10 Pro July 28, 2016 Cumulative Windows 10 Update KB3194496 installation issues September 30, 2016 Disable the I have changed owner to my user on the whole c:\ disk (including the hosts file.) Still, when I run notepad c:\windows\system32\drivers\etc\hosts, edit the file, and try to save, it won't http://skimwp.org/hosts-file/cannot-delete-hosts-file-windows-xp.php He is passionate about all things tech and knows the Internet and computers like the back of his hand.You can follow Martin on Facebook, Twitter or Google+ View all posts by
I tried notepad++ as well (as administrator) but I couldn't even get to the file with it (it doesn't show the etc folder in drivers). How To Save Hosts File Windows 10 that's it. Discussions cover Windows 2003 Server, Windows installation, adding and removing programs, driver problems, crashes, upgrading, and other OS-related questions.Real-Time ActivityMy Tracked DiscussionsFAQsPoliciesModerators General discussion C:\WINDOWS\system32\drivers\etc\hosts file cannot saved..
Facebook Twitter Google+ YouTube LinkedIn Tumblr Pinterest Newsletters RSS Home cannot delete hosts file by Phillip W.
why isn't the interaction of the molecules with the walls of the container (in an ideal gas) assumed negligible? What is the extension of the file? Also with notepad.exe what I had to do was change the option that limited the results to just .txt files. Hosts File Being Used By Another Process like Martin 2012 suggested Then remove extraneous entries. (on most computers everything is commented out) or blank like SAM pointed out.
In vino (est?) veritas What is the total sum of the cardinalities of all subsets of a set? Adam C March 19, 2014 at 8:38 pm Jan F, does np++ work if you type the whole path into the open file dialogue? Echo Now edit the HOSTS file then save it. You should check first if the Hosts file is write protected.
Than, type: mv path-to-the-copy-of-hosts-file\hosts c:\windows\system32\drivers\etc\hosts share|improve this answer answered Apr 29 at 13:30 Baumann 598312 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign Oron J March 18, 2014 at 12:58 pm Open the ...etc folder, right click on the hosts file and choose properties. Windows 10 as nothing to with posix or bsd. Once reported, our moderators will be notified and the post will be reviewed.
What am I missing here, in order to make my user an actual administrator (and not just a regular user with some fancy label in user accounts)? So you can download a latest version of “Long Path Tool" for solve this problem. 0 This discussion has been inactive for over a year. The thing is, which is really annoying, that after setting myself as administrator, after disabling UAC, after making myself owner of the file, I am not allowed to edit a file share|improve this answer answered Aug 27 '14 at 7:29 Sudath Hemantha Piyasena 6111 add a comment| up vote 5 down vote Dissable your antivirus and open notepad.exe with run as administrator
I used a linux boot disk (Backtrack 5), mounted the drive and was able to delete the host file. I tried UBCD but that failed to work. Most Windows users have installed the operating system on c:\windows which would mean that the hosts file can be found under c:\windows\system32\drivers\etc\hostsIt may be necessary to display hidden system folders if Then open hosts file from the correct path (c:\windows\system32\drivers\etc\hosts). Be sure to change it back when done Flag Permalink Reply This was helpful (0) Collapse - This worked for me by pately21 / September 3, 2013 8:39 PM PDT In
Then make a new hosts file. ANY VALUES IN THIS FILE ARE IGNORED. (and in fact I tried it on windows 10). –user2284570 Mar 27 at 16:43 @user2284570 that is simply not correct. I know what I am doing, I don't need 20 "are you sure" questions just to be blocked from doing what I am trying.. –Tobb Aug 18 '15 at 14:10 add