HostsEdit v2.2 - Free Download



Processed through Paypal
No account required.



Buy our over-priced crap to help pay the bills.
OlderGeeks 2025


Follow us on BlueskyFollow us on XJoin our Facebook groupFollow us on InstagramOur RSS FeedJoin us on TikTokJoin us on LinkedIn


 Home » OlderGeeks.com Freeware Downloads » Admin, System Administrator Tools » Host File Tools » HostsEdit v2.2   
File - Download HostsEdit v2.2
Description
A plea...
Deanna and I have been running this site since 2008 and lately we're seeing a big increase in
users (and cost) but a decline in percentage of users who donate. Our ad-free and junkware-free
download site only works if everyone chips in to offset the revenue that ads on other sites bring
in. Please donate at the bottom of the page. Every little bit helps. Thank you so much.
Sincerely,
your Older Geeks: Randy and Deanna



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.

Features
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)

Usage
/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).

Samples
hostsedit /a 0.0.0.0 www.example-domain.com
hostsedit /r www.example-domain.com
hostsedit /am "D:\HOSTS Entries\example.txt"
hostsedit /rm "D:\HOSTS Entries\example.txt"
hostsedit /b "D:\HOSTS.BKP"
hostsedit /fdns
hostsedit /rip 0.0.0.0 127.0.0.1
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.
0.0.0.0 c3.zedo.com
0.0.0.0 c4.zedo.com
0.0.0.0 c5.zedo.com
0.0.0.0 c6.zedo.com
#entries suitable for removing alone.
c7.zedo.com
c8.zedo.com

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 0.0.0.0 www.example-domain.com
Adding entry to HOSTS file...
Done.

C:\Windows\system32>hostsedit /r www.example-domain.com
Removing entry from HOSTS file...
Done.

Using HostsEdit with Inno Setup
//Edit Single Entry:

[Run]
Filename: "{app}\hostsedit.exe"; Parameters: "/a 0.0.0.0 www.google.com"; Flags: runhidden;
[UninstallRun]
Filename: "{app}\hostsedit.exe"; Parameters: "/r www.google.com"; Flags: runhidden;

//Edit Multiple Entries:

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

Changes:
v2.2
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
2,846 6,070 OnlyDeLtA Dec 26, 2021 - 13:54 2.2 340.2KB ZIP 5/5, out of 54 Votes.
File Tags
HostsEdit  v2.2  
      
Ope! Hold on, Speedy.
You gotta read this before you download below:

There are no ads, no fake download buttons and no crapware here.
This website has lived for 18 years solely through donations.
You can download without donating but we use the "Honor System"
here in the Ozarks. If your momma raised you to be honorable,
make your donation to keep things running.
Your momma would be so 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.


Recent Super Donors ($50+)
Thanks, Hank
Thanks, Richard
Thanks, Michael
Thanks, John
Thanks, Robyn

Recent Donors
Thanks, Irv
Thanks, Giancarlo
Thanks, David
Thanks, Gary
Thanks, Sharon
Thanks, Tom
Thanks, James
Thanks, Brant
Thanks, Thumbs Up Production
Thanks, Larry
PayPal or Credit Card
IMPORTANT: Shows as HCRLLC on bank statement.
Ko-fi
Support us with a coffee
Patreon
Become a monthly patron
Mail a check Payable to:
Home Computer Repair LLC
208 E. Water St.
Mount Vernon, MO 65712


👉 Download Your File

Click to Rate File     Share it on Twitter →


OlderGeeks.com Copyright (c) 2026