Note
In this procedure, the client (CT) is extracted using the startup script for the Active Directory group policy so the client (CT) will be installed with the SYSTEM account.
This procedure supports for new installations only.
Execute this procedure as a user with administrator privileges.
The installation script contains a non-encrypted password. It is the responsibility of the user to manage the installation script.
Follow the procedure below to use the Active Directory group policy to install a Systemwalker Desktop Keeper client (CT) to the machine to be managed. Refer to "1.2.5 Determine How to Install Client (CT)" for an overview of the installation method.
Create an installation configuration file
Edit the installation script
Register the group policy
Check the installation results
Cancel the group policy
Create an installation configuration file. Refer to "Create installation settings file" for details.
Note
Create the installation configuration file with the default name "InstConf.ini".
Edit the installation script in accordance with the environment.
File name
distributeDTKCT.bat
Character encoding
The character encoding used is Shift JIS.
Format
The sections to be edited are as follows.
set SHARE_DIR=uncPathForTheSharedFolderContainingSetupDotExe set SHARE_ID=userIdToAccessFolderSpecifiedInShareDirEnvVar set SHARE_PW=passwordOfUserIdSpecifiedInSharIdEnvVar
Parameters
The table below explains the values set for the installation script.
No. | Environment variable | Default value | Description |
---|---|---|---|
1 | SHARE_DIR | None | UNC path for the shared folder containing Setup.exe (the command for installing clients (CTs)). This environment variable is required. This value will be used in "2.6.4.3 Register the Group Policy". |
2 | SHARE_ID | None | User ID used to access the folder specified in SHARE_DIR. Specify a user with write permission to the folder. |
3 | SHARE_PW | None | Password of the user specified in SHARE_ID. |
Example
Example of edited installation script is shown below:
set SHARE_DIR=\\192.168.10.10\share set SHARE_ID=user1@domain.local set SHARE_PW=hogehoge1!
Note
If SHARE_ID and SHARE_PW are omitted, the local SYSTEM account will be used to access SHARE_DIR.
If connection to SHARE_DIR using SHARE_ID and SHARE_PW fails, the local SYSTEM account will be used to access SHARE_DIR.
This section explains how to register the group policy to the Active Directory.
It is recommended to register the group policy for a small number of users and perform extraction tests first.
If the domain controller runs Windows Server 2008 or Windows Server 2012
Click Start > Administrative Tools > Group Policy Management.
In the Group Policy Management window, click Forest: domain > Domains > domain > Group Policy Objects.
Create a Group Policy Object in the group where the computer on which the CT will be extracted exists.
If you are using an existing GPO, there is no to create another one.
Right-click the GPO to be used, and click Edit.
In the Group Policy Management Editor window, click Computer Configuration > Windows Settings > Scripts (Startup/Shutdown).
In the right pane, click Startup and click Properties.
In the Startup Properties window, click Add.
In the Add a Script dialog box, enter "distributeDTKCT.bat" in Script Name, and click OK.
Copy "distributeDTKCT.bat" to the folder displayed by selecting Show Files.
Copy the installation configuration file and Setup.exe (the command for installing clients (CTs)) to the folder specified for the SHARE_DIR environment variable in the installation script.
Setup.exe is located in the win32\DTKClient folder of the setup disk.
In the Startup Properties dialog box, click OK to enable the settings.
In PCs where the group policy is applied, the CT will be automatically installed during startup.
Note
In PCs on which the CT is extracted, the operating system must be restarted after installation is completed.
Use one of the following procedures to check if the CT extraction was completed normally..
Use the Management Console to check if the PC to which the extracted client (CT) was installed is displayed.
Check the installation script log output to the location below:
Folder
If completed normally: folderSpecifiedInShareDirEnvVar\DTK\log\
If did not complete normally: folderSpecifiedInShareDirEnvVar\DTK\log\error\
File
yyyyMmDdHhMmSs.millisec_computerName.log (Example: 20140424120000.85_COMPUTER1.log)
If installation did not complete normally, refer to the installation result log and take appropriate action.
Follow the procedure below to check if installation of the extracted client (CT) was completed successfully.
Once CT extraction is completed, cancel the group policy.
If the domain controller runs on Windows Server 2008 or Windows Server 2012
Click Start > Administrative Tools > Group Policy Management.
In the Group Policy Management window, click Forest: domain > Domains > domain > Group Policy Objects.
Right-click the GPO of the group in which the client (CT) is extracted, and click Edit.
In the Group Policy Management Editor window, click Computer Configuration > Windows Settings > Scripts (Startup/Shutdown).
In the right pane, right-click Startup and click Properties.
In the Startup Properties window, click "distributeDTKCT.bat" and click Remove.
Remove "distributeDTKCT.bat" from the folder displayed by clicking Show Files.
Delete the installation configuration file and Setup.exe (the command for installing clients (CTs)) from the folder specified for the SHARE_DIR environment variable in the installation script.
In the Startup Properties dialog box, click OK to enable the settings.
Remove the GPO selected in step 3.
If the GPO is used for other purposes, it is not necessary to remove it.