Your download link is at the very bottom of the page... always.

Processed through Paypal
No account required.

Donate Bitcoin to this wallet:
Donate Ethereum to this wallet:
Donate Litecoin to this wallet:

Buy our over-priced crap to help keep things running.
Take No CrapwareOG Dad CapNo Password

Join our Facebook groupFollow us on TwitterFollow us on InstagramOur RSS FeedJoin us on TikTokJoin us on LinkedIn

 Home » Freeware Downloads » Admin, System Administrator Tools » Host File Tools » HostsEdit v2.2   
File - Download HostsEdit v2.2

Always scroll to the bottom of the page for the main download link.
We don't believe in fake/misleading download buttons and tricks. The link is always in the same place.

HostsEdit v2.2

An open source command-line utility for editing Windows HOSTS file.

It can be used to edit(add/remove) single or multiple entries in hosts file. it also has some additional features as creating hosts file backup, restoring hosts file to Windows default or to a previous backup, changing attributes of hosts file, replacing IPs in hosts file and flushing Windows DNS cache. HostsEdit is written in Delphi, Compiled using Embarcadero's Delphi 10.3.3 CE.

Add/Remove single entry in HOSTS file.
Add/Remove multiple entries in HOSTS file, reading from text file.
Create a backup of HOSTS file.
Restore HOSTS file to windows default, or to a previous backup.
Change attributes of HOSTS file.
Replace IPs in HOSTS file.
Supports both IPv4 & IPv6 Entries.
Flush Windows DNS cache.
Supports third party HOSTS files like MVPS.

Supported operating systems
Windows XP, Vista, 7, 8, 8.1, 10, 11 (32\64-bit)

/a : Add single entry.
/r : Remove single entry.
/am : Add multiple entries, reading from text file.
/rm : Remove multiple entries, reading from text file.
/b : Create backup of HOSTS file.
/fdns : Flush Windows DNS Cache.
/rip : Replace IPs in HOSTS file.
/res : Restore HOSTS file to Windows default, or to a previous backup.
/attr : Set attributes for HOSTS file, ReadOnly(/attr r), Archive(/attr a), Both(/attr ra).

hostsedit /a
hostsedit /r
hostsedit /am "D:\HOSTS Entries\example.txt"
hostsedit /rm "D:\HOSTS Entries\example.txt"
hostsedit /b "D:\HOSTS.BKP"
hostsedit /fdns
hostsedit /rip
hostsedit /res
hostsedit /res "D:\HOSTS.BKP"
hostsedit /attr r

Sample Text file for editing(adding/removing) multiple entries
#entries suitable for both adding/removing.
#entries suitable for removing alone.

Using HostsEdit with Command Prompt
Run CMD as Administrator(Important to receive execution results from hostsedit back to CMD),
using 'cd' command change working directory to where hostsedit.exe is placed,
now write commands as Shown in the Samples.

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Windows\system32>hostsedit /a
Adding entry to HOSTS file...

C:\Windows\system32>hostsedit /r
Removing entry from HOSTS file...

Using HostsEdit with Inno Setup
//Edit Single Entry:

Filename: "{app}\hostsedit.exe"; Parameters: "/a"; Flags: runhidden;
Filename: "{app}\hostsedit.exe"; Parameters: "/r"; Flags: runhidden;

//Edit Multiple Entries:

Filename: "{app}\hostsedit.exe"; Parameters: "/am ""{app}\test.txt"""; Flags: runhidden;
Filename: "{app}\hostsedit.exe"; Parameters: "/rm ""{app}\test.txt"""; Flags: runhidden;

Minor Bug fixes.

Click here to visit the author's website.
Continue below for the main download link.

Downloads Views Developer Last Update Version Size Type Rank
1,958 3,093 OnlyDeLtA <img src=""border="0"> Dec 26, 2021 - 13:54 2.2 340.2KB ZIP 5/5, out of 20 Votes.
File Tags
HostsEdit  v2.2  
Whoa! Slow down there, Speedy.
Kindly read this and then continue to download below.

Like seeing no ads? No misleading/fake download buttons?
We like it too! This site has been kept alive for 15 years
because of people just like you who download and donate.
No one is stopping you from downloading without donating
but the site runs on the "Honor System". If your momma
raised you to be honorable, make a donation and download
'til ya turn blue. Make your momma proud!

Thank you! -Randy & Deanna (The Older Geeks)
Missouri Ozarks, USA

Monthly operating costs = $750
Donations cover operating costs first
then are set aside for future upgrades and/or
handed-over to Deanna for new shoes.


Send a check payable to Home Computer Repair LLC, 208 E. Water St. Mount Vernon, MO 65712

Recent Super Donors ($50+)
Thanks, William
Thanks, William
Thanks, Alan
Thanks, Lance

Recent Donors
Thanks, Paul
Thanks, Steven
Thanks, Suzanne
Thanks, Robert
Thanks, Stephen
Thanks, Graham
Thanks, Roderick
Thanks, Michael
Thanks, Michael
Thanks, David

→ Download Your File ←

Click to Rate File     Share it on Twitter → Copyright (c) 2024