HostsCK updated to version 2.2.2.0

HostsCK has been updated to version 2.2.2.0

This update includes the following:

  • Added: Setting to add extra Microsoft blocks to the Hosts when
    opening and saving a file. Please read the IMPORTANT-INFORMATION-HERE.
  • Fixed: HostsCK no longer detects font colouring when searching or changing
    colour schemes as changes to the Hosts file.
  • Fixed: The HostsCK installer hiding the lists directory in “AppData\Local\HostsCK”

HostsCK updated to version 2.2.0.0

HostsCK has been updated to version 2.2.0.0

This update includes the following:

  • Fixed: Correct menu icons are shown if HostsCK is running in
    the system tray.
  • Fixed: HostsDE showing a “The process cannot access the file” warning if
    checking for an updated Hosts file.
  • Fixed: The larger font when typing setting now works.
  • Fixed: The reading icon was being shown on the ‘Addresses blocked’
    status label when changing between showing own icons or not in settings.
  • Improved: The Startup code has been re-organized so HostsCK starts more
    smoothly and, if using the English language file, starts slightly quicker.
  • Added: When highlighting text in the main textbox, ‘Copy’ and ‘Cut’ menu items
    will be displayed enabling you to quickly copy or cut the selected text.
    This can be disabled in Settings > Input > Show copy menu.
  • Removed ‘Check for updated Hosts’ setting as it has been replaced with HostsDE
    checking for Hosts updates.
  • Changed: The ‘No duplicate entries found’ message box no longer shows ‘Hosts OK’.
  • Changed: ‘Cut’, ‘Copy’, ‘Paste’ and ‘Select All’ right-click menu items have been
    moved above the ‘Saved Sites’ menu items.
  • Updated: Updated the Microsoft blocks list.

HostsCK updated to version 2.1.9.0

HostsCK has been updated to version 2.1.9.0

This update includes the following:

  • Added: HostsDE can check for mvps updates periodically while
    it is running and provides protection against the renaming or
    deletion of the Hosts as well as preventing changing it’s read-only
    attribute by other programs.
  • Added: HostsCK can now clear the Internet Explorer cache as well
    as cookies when closing the built in browser. Help
  • Added: You can now use your own button images on the toolbar.
  • Added: Setting to show URLs in main textbox. Links can be clicked
    and opened in your default browser.
  • Improved: HostsCK’s total load time reduced by up to 1 second. *
  • Improved: Search textbox back and fore colour will be the same
    as the main textbox.
  • Improved: The Design panel in Settings has a more logical layout.
  • Changed: Search textbox text highlight happens on mouse up
    instead of mouse down.
  • Changed: Slight redesign to the About window.
  • Minor bug fixes: Several bugs squashed.

    * The less free memory your computer has the faster the increase in
    load times will be.

    Thanks to: John, Mike66, Sanka, Lau, Ragga, Richard, Liam, Heidi, Seb, The Milkman and Hoss
    for asking if the Internet Explorer cache could be cleared or that the toolbar
    images could be changed and helping with the testing of the changes.

HostsCK updated to version 2.1.8.0

HostsCK has been updated to version 2.1.8.0

This update includes the following:

  • Fixed: Correct language was not shown is some message boxes.
  • Bug Fix: Font settings were not being loaded.
  • Improved: HostsCK handles very large Hosts files much more efficiently.
  • Added: You can now drag and drop a Hosts or Hosts.txt file on to the textbox to load it.
  • Added: Edit panel providing quick access to redo, undo and zoom functions as well as
    displaying the textbox line number.
  • Added: You can check your saved allowed sites. HostsCK can check that the connection to
    the sites is working. Site check is available from the userlist window.
  • Added: Greyscale colour scheme for the textbox.
  • Added: Option to install APHont Font, a font developed specifically for low vision readers
    by American Printing House. The font can be chosen from settings to make the Hosts clearer
    to read for low vision users. Full download needed.
  • Minor tweaks: Several graphical tweaks to various forms.
    Icon on main form now shows by default. See Help file under ‘Change Settings’.
    A space is added after 0.0.0.0 or 127.0.0.1 when hitting the return key in the main textbox
    if HostsCK is set to add those automatically.
    The main textbox fore colour should stay as the chosen fore colour when editing.
    If using the default MVPS Hosts, the updated info is highlighted slightly if using the
    default colour scheme.

HostsCK updated to version 2.1.6.0

HostsCK has been updated to version 2.1.6.0

This update includes the following:

  • Saving a selected site to the saved list now works as expected.
    In some cases the saved list file was getting locked and could not be written to.
  • If language file updates are essential they will be downloaded when HostsCK
    is updated.
  • There is now an option to download the help file from the settings dialog.
  • Full view mode added to the textbox right-click menu.
    Full view hides everything on the HostsCK window except for the textbox.
    While in full view, HostsCK can be resized.

HostsCK updated to version 2.1.5.0

HostsCK has been updated to version 2.1.5.0

This update includes the following:

  • Hosts now shows as Read Only when saving after restoring a backup.
  • HostsCK checks that it is being run with administrator privileges earlier
    in code.
  • GetIP text colouring happens much faster.
  • The default colour scheme has been changed to a more modern look.
  • The main window colour has been changed to compliment the new default
    colour scheme.

Disabling Cortana

I have received several emails asking for the batch script to disable and enable
Cortana on Windows 10 that was available in the forum.

PLEASE-CREATE-A-SYSTEM-RESTORE-POINT-BEFORE-USING-THIS-FILE

You can download it here

Alternatively, copy the code below, paste it into a text editor
and save it with a .bat extension e.g. Disable or Enable Cortana.bat.

This script may need to be run a few times to disable Cortana.
If you get ownership or file in use by another process errors be sure to read the comments in the script.

@ECHO OFF
TITLE Disable/Enable Cortana - by rediSoft
COLOR 0A

REM set the paths to the Cortana directory and the disabled Cortana directory
SET DisabledDir=%SYSTEMROOT%\SystemApps\DISABLED.Microsoft.Windows.Cortana_cw5n1h2txyewy
SET EnabledDir=%SYSTEMROOT%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy

REM Make sure we are running on Windows 10
SETLOCAL
FOR /f "tokens=4-5 delims=. " %%i IN ('ver') DO SET VERSION=%%i.%%j
IF "%version%" == "10.0" (GOTO :CheckAdmin)
IF "%version%" == "6.3" (GOTO :NotSupported)
IF "%version%" == "6.2" (GOTO :NotSupported)
IF "%version%" == "6.1" (GOTO :NotSupported)
IF "%version%" == "6.0" (GOTO :NotSupported)
ENDLOCAL

REM Check script is being run with admin rights
:CheckAdmin
    NET session >NUL 2>&1
    IF %ERRORLEVEL% == 0 (
               (GOTO :Win10)
    ) ELSE (
COLOR 0C
ECHO Please run this script as an Administrator by
ECHO right-clicking it and choosing 'Run as administrator'.
ECHO.
    )

PAUSE
EXIT

REM Windows 10 not detected
:NotSupported
COLOR 0C
ECHO Cortana is on Windows 10 only.
ECHO You do not appear to be running Windows 10.
ECHO This script will now close.
ECHO.
PAUSE
EXIT

REM Windows 10 detected so lets get started
:Win10
IF EXIST %DisabledDir% (

:Enable
REM Enable Cortana by removing the prefix 'DISABLED.'
MOVE %DisabledDir% %EnabledDir%

IF NOT ERRORLEVEL 1 (GOTO :EnableSuccess) ELSE (GOTO :EnableFail)

:EnableSuccess
CLS
ECHO Cortana has been enabled.
ECHO.
ECHO Right-click an empty spot on the desktop taskbar
ECHO and select Cortana - Show to show the Cortana search
ECHO box or icon.
ECHO.
ECHO Sign out or restart Windows to start Cortana
ECHO.
PAUSE
EXIT

:EnableFail
REM Forecolour Red
COLOR 0C

ECHO There was an error enabling Cortana.
ECHO.
ECHO Try running this script again or Delete the
ECHO 'DISABLED.' prefix on the Cortana directory
ECHO in %SYSTEMROOT%\SystemApps
ECHO.
PAUSE
EXIT
) ELSE (GOTO :Disable)

REM Lets try to disable Cortana
:Disable
IF EXIST %EnabledDir% (
REM Kill Cortana processes.
TASKKILL /F /IM Search*
TASKKILL /F /IM backgroundTaskHost*

REM If disabling Cortana fails because of a file is being used by another process error
REM Uncomment (delete REM) on the 5 lines below REM END so TASKKILL can have 2 more goes at killing the processes
REM Increase the number of TASKKILL loops by changing the 2 in (1,1,2).
REM Some people have reported that having Task Manager open helps TASKKILL kill the processes
REM I cannot imagine why it would but we are dealing with Windows.
REM END

REM FOR /L %%A IN (1,1,2) DO (
REM TASKKILL /F /IM Search*
REM TASKKILL /F /IM backgroundTaskHost*
REM ECHO Stop processes attempt: %%A
REM )

REM Uncomment (delete REM ) on the 2 lines below if you get ownership errors and try again.

REM takeown /f %SYSTEMROOT%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy /r /d y
REM icacls %SYSTEMROOT%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy /grant username_or_usergroup:F /t /q

REM Disable Cortana by prefixing the Cortana directory with 'DISABLED.'
MOVE %EnabledDir% %DisabledDir%

IF NOT ERRORLEVEL 1 (GOTO :Success) ELSE (GOTO :Fail)

REM Cortana has been disabled
:Success
CLS
ECHO Cortana has been disabled
ECHO.
ECHO Right-click an empty spot on the desktop taskbar
ECHO and select Cortana - Hidden to hide the Cortana
ECHO search box
ECHO.
PAUSE
EXIT

REM Could not disable Cortana
:Fail
COLOR 0C
ECHO.
ECHO FAILURE
ECHO.
ECHO Could not disable Cortana. Make sure to run this script as an Administrator
ECHO by right-clicking it and choosing 'Run as administrator'.
ECHO.
PAUSE
EXIT
) ELSE (GOTO :NotFound)

REM Cannot find the Cortana directory
:NotFound
ECHO Cortana directory not found.
ECHO.
ECHO The directory 'Microsoft.Windows.Cortana_cw5n1h2txyewy'
ECHO should be in %SYSTEMROOT%\SystemApps
ECHO.
PAUSE
EXIT

 

HostsCK updated to version 2.1.4.0

HostsCK has been updated to version 2.1.4.0

This update includes the following:

      • The correct language is shown in the status strip when reverting to an original
        Hosts.
      • The Tooltips in the Hosts Info form appear quicker and last longer.
        Requested by Pev04, Mike66, LonelyTony and Liz.
      • Completing the switch from the old English only HostsCK to the multi-language.
        HostsCK now gives the option to update the language files if a program update is
        available. This brings it in line with the new installer which gives a choice to install
        language files.
      • Emailing using the “Email with bugs or suggestions” menu item now includes how
        much available memory there is on the users system if the user chooses to include
        this information in the email. This can help me when a problem is reported.
      • The update information displayed when checking for program updates has links
        back to the posts on redisoft.uk which often have more information on the update.

HostsCK updated to version 2.1.3.0

HostsCK has been updated to version 2.1.3.0

This update includes the following:

      • HostsCK will now make a couple of checks to determine if a new program update is
        available. Hopefully this will help prevent the problem some users experienced in
        future. See Here
      • Tweaked the logic used to check for language file updates and the date which any
        language files were updated will be stored in HostsCK.ini.
      • Fixed a couple of spelling mistakes in the English language file.
      • The language file editor now includes an option to view the English language file.
      • Uninstalling HostsCK now does a better job of  not enabling the DNS Cache Service
        if the user chooses not to enable it.
      • The program installer now gives the choice whether to install German or Russian
        languages.
      • HostsCK English only install has been discontinued and if updated will update to
        the multi language version.