Automatic configuration

The steps setting up the WMI configuration, copying the TaddmWmi files, and setting up the DCOM Access for ibmcol can be replaced with the automatic configuration. If you use TADDM 7.3.0.3, or later, the setting up the PowerShell configuration step can be also automated.

  1. Copy the following files to the target system.
    1. The following script files can be found in the $COLLATION_HOME/dist/support/bin directory.
      • copyFiles.ps1
      • dcomConfiguration.ps1
      • nonadmin.properties
      • Fix Pack
3 psSessionConfiguration.ps1
      • scriptsRunner.bat
      • Fix Pack
3 scriptsRunner.ps1
      • wmiConfiguration.ps1
      • Fix Pack
4 wrmConfiguration.ps1
    2. The following TaddmTool Provider files can be found in $COLLATION_HOME/dist/lib/ms/gateway directory.
      • TaddmWmi.pdb
      • TaddmWmi.exe
      • TaddmWmi.mof
      • TaddmWmi.dll
  2. Configure the nonadmin.properties file by updating the nonadmin.user, and nonadmin.files.path properties:
    nonadmin.user=user
    nonadmin.wmi.namespace=root
    nonadmin.files.path=path
    nonadmin.permissions=Enable,MethodExecute,RemoteAccess
    The user value is the user that you want to use for non-admin discovery. If you specify the local user, you need to add only the user name. Otherwise, provide also the domain name, for example, domain\user. The path value is the path to the directory where you copied files in step 1. Do not modify the values of the remaining properties.
  3. By using command prompt, run the scriptsRunner.bat file.
    Fix Pack
3 In TADDM 7.3.0.3, and later, the scriptsRunner.bat file requires the -wmi, or the -ps parameters, or both.
    • scriptsRunner.bat -wmi - executes the steps setting up the WMI configuration, copying the TaddmWmi files, and setting up the DCOM Access.
    • scriptsRunner.bat -ps - executes the steps setting up the WMI configuration, and setting up the PowerShell configuration.
    • scriptsRunner.bat -wmi -ps - executes the steps of both -wmi, and -ps parameters.
    Fix Pack
4 In TADDM 7.3.0.4, and later, you must use the set command and at least one of the following parameters:
    • scriptsRunner.bat set -wmi - executes the steps setting up the WMI configuration, copying the TaddmWmi files, and setting up the DCOM Access.
    • scriptsRunner.bat set -ps - executes the steps setting up the WMI configuration, and setting up the PowerShell configuration.
    • scriptsRunner.bat set -wmi -ps - executes the steps of both -wmi, and -ps parameters.
  4. Restart the system.
Fix Pack
4 If you decide not to run non-admin discoveries any longer, you can revert to the original configuration. Run the scriptsRunner.bat with one of the following options:
  • scriptsRunner.bat revert -wmi
  • scriptsRunner.bat revert -ps
  • scriptsRunner.bat revert -wmi -ps
Restart the system.