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.

Join our Facebook groupFollow us on TwitterFollow us on InstagramOur RSS Feed

 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 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 to download this file.

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

Like seeing no ads? No misleading/fake download buttons?
We like it too! This site has been kept alive for 14 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)

Monthly operating costs = $725
Donations for June = $2,970
Donations over our monthly goal
are set aside for future upgrades and
handed-over to Deanna for new shoes.

Processed securely through Paypal.
No PayPal account required.
Your bank statement will read: "Home Computer Repair LLC".
This is our computer store.


Just send a check to our computer store payable to Home Computer Repair LLC.
Our address: Home Computer Repair LLC, 208 E. Water St. Mount Vernon, MO 65712

Recent Super Donors ($50+)
Thanks, Warren
Thanks, Michael
Thanks, Sherwin
Thanks, Jim

Recent Donors
Thanks, Phillip
Thanks, Stan
Thanks, John
Thanks, Steven
Thanks, Marsha
Thanks, Liz
Thanks, Graham
Thanks, Larry
Thanks, Randall
Thanks, John
Thanks, Ronald

   →→ Download Now ←← - Click to Rate File -
Like this download? Share it on Twitter → Copyright (c) 2022