Automatic Launch Script

One of the biggest problems with Directory Update is actually getting people to use the software in the first place. One of our customers penned a script that we further documented and modified. The Directory Update Auto-Launch script will check to see if the user has a phone number and/or it checks to see if the user has used Directory Update to modify their information recently (in the past 4 months by default).

The script is provided to Directory Update customers free of charge with no support and no warranties. It is not part of the Directory Update package.

The script is a VBScript and should be renamed from .TXT to .VBS. Ideally, you should save it to your domain controller's NETLOGON shared folder.

There are some things that you need to make sure you do in order to use this script successfully:

  • Auditing to an extenstion attribute must be enabled in the Directory Update AppSettings.XML file
  • Auditing must use extensionAttribute11 - the scripts the last update date from extensionAttribute11 by default.
  • You should configure the Log Off button to close the browser window in the AppSettings.XML file
  • Directory Update must be configured to use Integrated Windows Authentication (IWA)
  • Clients should must Integrated Windows Authentication (IWA):
       - Internet Explorer 8 or later (or a brower that supports IWA) must be used
       - The computer must be a member of the domain
       - The web site must be in the brower's Local Intranet zone
       - The Local Intranet zone must be configured to automatically log the user on
  • You must be able to call the auto-launch script from a logon script
  • VBScript must not be disabled on your Windows workstations.

The script takes 2 parameters - the user's name and the URL that you want to launch (the path to Directory Update). Here is an example of how to run the script from a batch file or a logon script:

cscript CheckDirectory.VBS %username% ""