Coder Social home page Coder Social logo

hostfileservice's Introduction

HostFileService

This service is designed to be used in conjunction with Group Policy to manage the Windows host file.

Installation Instructions

Download and run the latest release installer (MSI). It will automatically start the service on install.

The installer is provided as an MSI for easier install and removal with System Configuration Center (SCCM).

Uninstall Instructions

Uninstall HostFileService as you would any other Windows application.

Management

On the first run of the service, it will merge any entries in the host file with any registry entries in the location below, then write all entries into both the host file and the registry location. This allows you to pre-stage host entries in the registry location with Group Policy before installing the service while maintaining any entries already in the host file. This is convenient if you apply group policy and SCCM installation of this service automatically using AD Security Groups.

Host registry entries are placed into the following registry location:

\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HostFileService\hosts\

Entries are string entries with the entry name in the format of <IP>,<Host>, no data is needed or used for the entry.

192.168.1.1,router

As you add, remove, or change host registry entries the service will update the host file on its next interval.

Once running, any changes manually made to the host file will be reverted to the registry host entries on the next service interval.

Setting Service Update Interval

You can set the interval value (in minutes) by changing the value in the following registry entry. This value can also be pre-staged by GP.

\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HostFileService\Interval

hostfileservice's People

Contributors

sn0wfa11 avatar

Watchers

 avatar  avatar

Forkers

coders-vechai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.