Specialized Administration > Configuring Your Windchill Environment > Configuring Password Management Options > System Password Encryption Options > Encrypting Passwords Stored in the Worker Agent Configuration File > Encrypting Worker Agent Passwords
  
Encrypting Worker Agent Passwords
* 
Beginning at Windchill 10.2, PTC has changed the location of the wvs.properties file. The file has been moved from the $WT_HOME/codebase directory to the $WT_HOME/codebase/WEB-INF/conf directory. Be sure to make any necessary changes to your code to reflect this location change.
To encrypt the passwords stored in the worker agent configuration file, enter the following script from a Windchill shell:
ant -f <Windchill>/bin/adminTools/sip/EncryptPasswords.xml

encryptWVSCADAgent
where <Windchill> is the Windchill installation directory.
This script encrypts any plain-text password it finds in the worker agent configuration file identified in the cadagent.inifile property that is set in the wvs.properties file. After you encrypt the passwords in the worker agent configuration file, the passwords are replaced with the following:
encrypted.<host>-<shapetype>
where <host> is the host name listed on the host= line of the worker agent configuration file and <shapetype> is the name listed on the shapetype= line of the file.
The following lines show an example section in the worker agent configuration file before encryption:
;###############################################
; Remote CATIA Worker
;###############################################
[worker4]
shapetype=CATIA
host=nimrod
hosttype=unix
exe=nohup cat2ol -w triumph &
starttime=20
username=catadm19
password=CATADM19
prompt=nimrod>
localpath=ftp:/usr/tmp/sharecatia
remotepath=/usr/tmp/sharecatia
In this example <host> is nimrod and <shapetype> is CATIA.
After running the encryption script, the lines are updated as follows:
;###############################################
; Remote CATIA Worker
;###############################################
[worker4]
shapetype=CATIA
host=nimrod
hosttype=unix
exe=nohup cat2ol -w triumph &
starttime=20
username=catadm19
password=encrypted.nimrod-CATIA
prompt=nimrod>
localpath=ftp:/usr/tmp/sharecatia
remotepath=/usr/tmp/sharecatia
Although the password information in the file is not the actual password, it uniquely identifies the password to the encryption software being used and, therefore, any changes made to the information could cause the password to no longer be valid.
* 
Do not change encrypted password information in the file unless you are changing the actual password.