================================================================================
Readme_DTU-1031.txt
Scripts to facilitate changing DTU-1031 to STU mode or DTU mode.

Copyright Wacom Technology, Inc. 2014
All rights reserved.

Last updated: 12/02/2014, RCC
================================================================================
Definitions:

DTU mode:
        DTU-1031 comes up as a normal display tablet, with full use of pen
        and buttons on the desktop and in applications.

STU mode: 
        DTU-1031 comes up with disabled pen and buttons.  Applications that 
        are added via the Wacom tablet Control Panel, as well as applications 
        that implement the Wintab API are enabled to have full pen and button 
        input.

================================================================================
Scripts:

CopySTUModeDefaults.bat  - 
        Copies a custom default file with defaults to put the DTU-1031
        into "STU mode" to a system location where it will be found by the 
        Wacom tablet driver and loaded during driver initialization.
 
RemoveCustomUserDefaults.bat - 
        This script will remove custom user defaults of current user.

RestartDriver.bat - 
        Restart the tablet driver with any custom settings.

        This script removes tablet preferences, merges custom tablet 
        defaults (if any), and restarts the tablet driver.

        The result of executing this script will depend on whether it 
        finds any custom tablet defaults or not.  If custom defaults are
        found, then they will be read in affecting tablet usage.  In
        either case (customizations or not), the tablet preferences will
        be removed, and the driver will be restarted.
 
SetDTUMode.cmd -
        Installs custom settings to put DTU-1031 in DTU mode.

        This script removes tablet preferences, merges custom tablet 
        defaults (if any), and restarts the tablet driver.

SetSTUMode.cmd -
        Installs custom settings to put DTU-1031 in STU mode.

        This script removes tablet preferences, merges OEM custom tablet 
        defaults (if any) with those settings necessary to put the tablet
        in STU mode, and restarts the tablet driver.

================================================================================
Scenarios to use scripts:

[1] Out-of-box, to set to STU mode, the admin can do one of the following: 
    (a) Execute individual copy and restart scripts:
        - Admin executes CopySTUModeDefaults.bat for each user that needs
          the STUMode functionality.
        - Admin executes RestartDriver.bat to silently delete prefs, merge in 
          custom defaults and restart driver.  Prefs will be cleared and the 
          STU mode custom defaults will be found and merged.
        - Reboots the system
        - Tablet is now in STU mode

    (b) Use SetSTUMode:
        - Admin executes SetSTUMode.cmd for current user and reboots
        - Tablet is now in STU mode

	For any additional users, execute CopySTUModeDefaults.bat for each
	user, and sign out/sign in for those users.

 
[2] Out-of-box, to set to DTU mode, the admin can do the following:
    (a) Execute the CD IFE installer

[3] From any state, to set to DTU mode, the admin can do one of the following:
    (b) Execute individual remove and restart scripts:
        - Admin executes RemoveSTUModeDefaults.bat for all users
        - Admin executes RestartDriver.bat to silently remove prefs and 
           restart driver 
        - Tablet is now in DTU mode
 
    (b) Use SetDTUMode:
        - Admin executes SetDTUMode.cmd
        - Tablet is now in DTU mode

	For any additional users, execute RemoveSTUModeDefaults.bat for each
	user, and sign out/sign in for those users.
 
[4] Admin updates driver from web installer:
    (a) To stay in same mode:
      - Execute web installer; no further action is required

    (b) To go to STU mode:
      - Execute CopySTUModeDefaults.bat for each user that needs the STUMode
        functionality.
      - Execute web installer
      - Execute RestartDriver.bat or Wacom Tablet Preferences Utility to remove 
        prefs, merge in custom defaults and restart driver

    (c) To go to DTU mode:
      - Execute RemoveSTUModeDefaults.bat for all users
      - Execute web installer
      - Execute RestartDriver.bat or Wacom Tablet Preferences Utility to remove 
        prefs and restart driver

================================================================================
