Encrypt MID Server configuration data with DPAPI Windows Data Protection API (DPAPI) encrypts sensitive data from the config.xml file, based on the MID Server user account. Before you beginRole required: admin About this taskDPAPI encryption provides another level of security for data such as credentials, IP addresses, and URLs in the MID Server config.xml file. The operating system performs the data encryption, rather than the MID Server. DPAPI encryption is based on the logged in user's account. When this scheme is used, the data can only be decrypted by the same user account. If the account changes, the data must be re-encrypted. Procedure Open the config.xml file in a text editor. This file is located in the /agent folder in your MID Server installation path. Enable this parameter and value: <parameter name="mid.secure_encrypter" value="com.service_now.mid.services.config.WindowsDPAPIEncrypter"/> Save the configuration file. Restart the MID Server. Any values in clear text in the config.xml file are encrypted by the operating system. Follow this procedure if you need to change the MID Server user account that is used for encryption. Stop the MID Server service. Open the config.xml file in a text editor. This file is located in the /agent folder in your MID Server installation path. Re-enter all the encrypted values in clear text. Make the changes to the MID Server user account in the ServiceNow® instance. Restart the MID Server service. The data is re-encrypted by the operating system, based the new MID Server user account.