Specialized Administration > Configuring Your Windchill Environment > Configuring Password Management Options > System Password Encryption Options > Using the EncryptPasswords.xml Script
  
Using the EncryptPasswords.xml Script
PTC provides the general EncryptPasswords.xml script that you can use to encrypt passwords.
* 
When working on the Windchill server, always execute the EncryptPasswords.xml script from a Windchill shell.
The general format for entering the EncryptPasswords.xml script is as follows:
ant -f <Windchill>/bin/adminTools/sip/EncryptPasswords.xml
<target> [optional_arguments]
where:
<Windchill> is the Windchill installation directory.
<target> is the target to execute.
[optional_arguments] is the arguments required by the target. Some targets do not require any arguments.
To obtain a short description of the available targets, enter the script with the -projecthelp target. The following is a list of available targets:
addValueToKeyStore
changeKeystoreEncryption
encryptAllPasswords
encryptPw
encryptWVSCADAgent
encryptWVSWorkerAgent
recreateKeyStore
recreateKeyStoreForAdapter
For an explanation of the encryptAllPasswords target, see Encrypting Windchill System Passwords.
For an explanation of the targets for encrypting passwords in WVS files, see Encrypting Authentication Passwords and Encrypting Worker Agent Passwords.
For an explanation of the changeKeystoreEncryption target, see Changing Keystore File Encryption.
Other targets are described in the sections that follow.