How-To (Certificate Manager-Self-Hosted): Moving the application files to a different drive letter

How-To (Certificate Manager-Self-Hosted): Moving the application files to a different drive letter

127
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 16:28 PM


Objective


This article covers how to move your CM-Self-Hosted application files to a different drive letter. For example, if your initial installation was on the "C:\" drive, and now you want to use the "E:\" drive instead (or vice versa).



Environment


24.3;25.1;25.3;26.1 TPP/TLSPDC TLSPDC

Procedure


  1. Create a FULL backup of your CM-Self-Hosted instance in the case of an unrecoverable error (i.e. Database backup, application node snapshots, software encryption key backup, HSM keys if applicable, adaptable scripts). See more regarding Disaster Recovery here: Disaster recovery operations.
  2. *Please ensure to read all the steps prior to starting this process.
  3. To prepare for this process, collect the following information OR create an answer file to prepopulate this data:
    1. Have a backup copy of the software encryption key.
    2. Your PIN for any HSM connectors.
    3. Database credentials.
    4. VPlatform services being used by this node.
    5. IIS applications being used by this node.
  4. Remote into the target application node with an Administrator account.
  5. Open Control Panel > Programs > Programs and Features > Locate CM application > Click Uninstall.
  6. Wait for the uninstall window to complete processing.
  7. Reboot the server and remote back in once it is online.
  8. Navigate to the original drive location and open the "\Program Files\Venafi" folder. This folder contains, or can contain, the following:
    1. A ".reg" file is created in the "Logs" folder, which is a backup of the registry values used by the app node (i.e. Software key, encrypted DSNs, HSM pin). Please note that this .reg file is only compatible with the node is was created on; it cannot be used on other nodes.
    2. If the "Scripts" folder is present, this means custom adaptable scripts were installed on the system and they can be found here.
    3. If there are product files leftover, this may mean the MSI database is corrupt. If there are any assemblies still remaining and you do not understand why, please open a case with our support team.
  9. Open regedit and delete the following registry value: (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Venafi\Platform\Base Path).
  10. Open a new command prompt window "As Administrator" and navigate to the folder containing the MSI installer and launch the installer.
  11. Follow the installer prompts and ensure to choose the new destination folder.
  12. Once the install is completed, you will be prompted with two options. Be sure to select option two: "Add a Trust Protection Foundation Server to an existing installation". (If you have an answer file, be sure to check the option at the bottom of the window that says "I have an answer file to pre-populate fields in this wizard").
  13. Run through the installer as normal, and you will get this final message before the installation begins. Please ensure to restart the server once the process is completed.
  14. Wait until the installation is fully completed and click Close on the installer window.
  15. The Idira Configuration Console will automatically launch, wait for this to load and then close it out.
  16. Reboot the server and remote back in once it is online.
  17. Open regedit and check the "Base Path" value again to ensure it points to the new location.
  18. Restore any adaptable scripts in the "E:\Custom Apps\Venafi\Scripts" file location.
  19. Test all applicable processes against this application node to ensure it is operational based on your needs (i.e. Log into Aperture, create and renew a certificate, test the API endpoints, request ACME or SCEP certs, verify adaptable scripts work, etc.)
  20. Process complete.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001knBCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail