IconZone

Description

This utility changes desktop icons, start-menu icons and quick-launch icons as well as proxy settings whenever the computer’s IP address is changed.
It is also capable of running scripts whenever the IP address changes.
Here are a number of usage scenarios:

  1. Configure a laptop computer to automatically set the organizational proxy server as the internet proxy server whenever the laptop is connected to the office LAN and disable the proxy settings when the user is disconnected.
  2. Configure a laptop computer to display an outlook shortcut on the desktop when the laptop is connected to the office LAN and replace it with a web-access internet shortcut when the laptop is disconnected
  3. Configure to run a script that sends an administrative notification whenever the computer is connected to the LAN.

These are only few samples. You could use IconZone in many ways to enhance user experiment and automate your network.
Requirements: This tool requires Windows 2000, Windows XP or Windows Server 2003.

Download

Download iconzone.zip (106kb)
You need to extract the tool/script found in the downloaded file by using WinZip or similar.

Installation

  1. First, download IconZone and expand it into any location on your hard drive.

Note: It is recommended not to use a temporary directory but a permanent directory such as \C:\Program files\IconZone\.

  1. Click Start a Run and Type the path to IconZone.exe with the /Setup argument. For example:
​C:\Program files\IconZone\iconzone.exe /setup
  1. If IconZone is not configured to launch automatically when windows starts, the following screen will appear:

 
If you click ‘YES’, the IconZone will start automatically whenever windows starts through

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\IconZone

Registry key.

Usage

Configuration parameters
The following screen enables you to configure IconZone:
 

  1. Check Interval – Interval in seconds between IP address check. Default is 15. As you decrease the value of check interval, zone changes are detected more quickly, but the CPU utilization is higher. There is also a short delay cause by the OS. Recommended values: 5 to 15 seconds. These settings apply to all zones.
  2. Number of second to display zone name – Each time the zone is changed, a message appears on the screen specifying the new zone. Set this value to specify how long the message should appear on screen, or set it to 0 to specify that the message should not be displayed at all. These settings apply to all zones.
  3. Update desktop / Update quick launch / Update start menu – Specify whether to copy icons from the zone’s directory to those directories. These settings apply to all zones.
  4. Start Menu Sub Directory – Specify the start menu sub directory to which the icons will be copied. These settings apply to all zones.
  5. Save Zone – Saves current zone settings to the registry.
  6. New Zone – Creates a new zone. A confirmation popup message will appear to confirm zone’s directory creation.
  7. Erase Zone – Erases current zone data from the registry. The zone’s directory will remain.
  8. Open Dir – Opens current zone’s directory for browsing.
  9. Zone – A zone is identified by the network ID. Whenever one of your IP address changes to match a pre-configured zone, IconZone would place the appropriate icon on the desktop, start menu and quick launch, Set the proxy settings and run an executable file chosen by you. This drop-down list displays the current zone. When a different zone is selected, the zone’s data will be retrieved from the registry and displayed on screen.
  10. Display Name – Zone’s friendly name. Whenever the zone changes, the zone’s display name is displayed on screen.
  11. Directory – Zone’s directory. Each zone has it own directory which includes three sub directories: Desktop, QuickLaunch and StartMenu. Place the zone’s unique icons in those directories and when the user will enter the zone, those icons would be copied to his/hers desktop / Quick-Launch / Start-menu directories. The default directories are on the same directory where IconZone is installed, but you could use a network location as well if you would like to use a common directory for many users.
  12. Icon removal list – this is a semi-column separated list that specifies which icons are to be deleted from the desktop, start-menu and quick-launch when the user has entered the zone.
  13. Run script – specify an EXE / BAT / COM / CMD file to execute when the user enters the zone.
  14. Enable proxy – Enable / Disable / Do not configure proxy settings when entering the zone. If this checkbox is checked, the proxy server will be set as specified in the ‘Proxy Server’ and ‘Proxy Port’ text boxes.
  15. Proxy server – Specifies the proxy server that will be used when the user is in the specified zone. This setting only applies when ‘Enable proxy’ checkbox is checked.
  16. Proxy server port – Specifies the proxy server port to use. If this setting is no configured, port 80 is used by default.

Backing up IconZone’s Data

To backup the IconZone data perform the following steps:

  1. IconZone’s settings are saved under the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\GanoTools\IconZone
  1. After configuring all settings, please export this key to a REG file and save it in a secured location.
  2. IconZone’s directories are saved to the specified directory of each zone. You should also backup these directories in order to maintain the icons that are copied to the user’s environment.

Deploying IconZone in your domain
You could deploy IconZone settings by the following procedures:

  1. Configure IconZone settings on any computer.
  2. Export the following registry to a REG file and save it in a common location in which users have ‘READ’ permissions.
HKEY_LOCAL_MACHINE'SOFTWARE'GanoTools'IconZone
  1. Copy IconZone.exe to a common location.
  2. If you used zones directories which are located on the local hard drive, Copy those directories to the common location as well.

Example:

​\\fileserver\public\iconzone\zonedirs
  1. Create a batch file which imports the REG file (Using regedit –s command) from the common location used in the previous paragraph.

Example:

​Regedit –s \\fileserver\public\iconzone\iconzone.reg
  1. Add a line which creates a local directory for the IconZone.exe.

Example:

​md c:\program files\iconzone
  1. Add a line which copies IconZone.exe from the common location used in paragraph 3.3 to the local directory created in paragraph 3.6.

Example:

​xcopy /d /y \\fileserver\public\iconzone\iconzone.exe c:\progra~1\iconzone\iconzone.exe
  1. If you used zones directories which are located on the local hard drive, add a line which copies those directories to the same location on the user’s local drive (Using xcopy /d /y command).

Example:

​xcopy /d /y /s \\fileserver\public\iconzone\zonedirs\*.* c:\progra~1\iconzone\*.*
  1. Using group policy, Deploy the script as a startup script (Computer Settings > Windows Settings > Scripts > Startup). Make sure the group policy object is linked to the OU where the computer account resides.
  2. In the same group policy object, set the ‘Run these programs at user logon‘ setting to run the iconzone.exe from the local directory specified in paragraph 7:

Computer Settings > Administrative Templates >System > Logon > Run these programs at user logon

Removal

An updated version of IconZone that will have an uninstall option will soon be available. For now, in order to remove IconZone perform the following steps:

  1. Stop the IconZone.exe process from the Manager.
  2. Delete the following Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\GanoTools\IconZone
  1. Delete the following Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\IconZone

Support

No support of any sort will be given for this script/tool or for any other script/tool found on the Petri.co.il website for that matter. If you need to contact us with any support issues, feedback or suggestions regarding the tool(s) and script(s) found on this page please write an e-mail to THIS address.

Disclaimer

The software available from GanoTools is FREEWARE. It is not in the Public Domain. Asaf Ganot retains the copyright for this work. You can use it freely but do not claim it for your own or charge others money for it.
Use these tools at your own risk. They are provided for your own personal use and enjoyment and Asaf Ganot nor Daniel Petri nor Petri.co.il do not provide any warranty for them, nor they will be held responsible for any result allegedly caused by use or misuse of any of the tools found on this page.
Back to the Tools and Scripts page.