How to migrate ADSelfService Plus from 32-bit to 64-bit
Last updated on:In this article
Objective
This article explains how to migrate ADSelfService Plus from a 32-bit installation to a 64-bit installation while retaining the existing database, product configuration, and applicable customizations.
Use this procedure when moving an existing 32-bit ADSelfService Plus deployment to 64-bit on the same server or on a new server. This migration is also required before upgrading a 32-bit installation to ADSelfService Plus build 7001 or later, as these builds only support 64-bit installations.
Prerequisites
Before you begin, make sure that:
- You have local administrator privileges on the server hosting the 32-bit installation.
- You have local administrator privileges on the destination server for migrations to a new server.
- ADSelfService Plus uses PostgreSQL as its back-end database. If the installation uses MySQL or Microsoft SQL Server, contact ADSelfService Plus support for the applicable migration procedure.
- For migration to a new server, ensure the destination server can communicate with all directories, the mail server, and other services used by the existing ADSelfService Plus deployment.
- Schedule a maintenance window for the migration. ADSelfService Plus will be unavailable during the backup, migration, and restoration processes.
- If the deployment uses failover or load balancing, you have reviewed the migration requirements for that deployment. All participating ADSelfService Plus instances must use the same build and architecture.
Do not uninstall or decommission the working 32-bit installation until the 64-bit installation has been restored and successfully validated. For same-server migration, back up the source installation and the installer metadata identified below before installing the 64-bit build. Do not uninstall the source installation as part of this procedure.
Steps to migrate ADSelfService Plus from 32-bit to 64-bit
Step 1: Verify the database and build
- Open the ADSelfService Plus installation directory. The default path is C:\Program Files\ManageEngine\ADSelfService Plus.
- Open the conf folder and open database_params.conf in a text editor.
- Identify the database used by ADSelfService Plus.
- If the database is PostgreSQL, continue with this procedure.
- If the database is MySQL or Microsoft SQL Server, stop and contact ADSelfService Plus support for migration guidance.
- Log in to the ADSelfService Plus admin portal and note the current build number.
- If required, update the 32-bit installation to the latest build that supports 32-bit installations.
Important:
Do not attempt to update a 32-bit installation to build 7001 or later. Support for 32-bit installations was discontinued beginning with build 7001. Complete the 64-bit migration first.
- Obtain the 64-bit installer for the exact build running on the 32-bit installation.
Note:
If the required older 64-bit installer is not available for download, contact ADSelfService Plus support.
Step 2: Confirm the database backup password
The database backup must be restored using the password that protected it when the backup was created.
If a custom database backup password is configured, make sure the password is available before proceeding.
If no admin-configured password is used, reverse the entire backup file name character by character, excluding the .ezip extension. The password is case-sensitive.
For example, OfflineBackup_20250813160300.ezip uses the default password 00306131805202_pukcaBenilffO.
If an administrator-configured password has been forgotten but the existing ADSelfService Plus installation directory is still available, retain the customer-config.xml file from the conf folder and contact ADSelfService Plus support to recover the encrypted password.
If neither the backup password nor the source customer-config.xml file is available, the existing backup cannot be restored. Create a new backup while the 32-bit installation is still available.
Step 3: Back up the database and installation files
- Stop ADSelfService Plus.
- If ADSelfService Plus runs as a Windows service, open services.msc and stop the ManageEngine ADSelfService Plus service.
- If ADSelfService Plus runs as an application, locate its icon in the Windows notification area (system tray) and stop the application.
- Open Command Prompt as an administrator.
- Navigate to the <installation directory>\bin on the 32-bit installation.
- Run:
backupDB.bat
- Locate the generated database backup in the Backup folder under the ADSelfService Plus installation directory and retain the exact file name.
- Take a folder-level backup (copy or ZIP archive) of the complete 32-bit ADSelfService Plus installation directory and store it safely.
- From the existing installation, retain the following files and folders for restoration:
- conf\ZohoCreator.properties
- conf\customer-config.xml
- The patch folder, if applicable
- The resources folder, if customized language or text files are in use
- The html, images, resources, and styles folders under webapps\adssp, if the portal has been customized
- The server.xml, web.xml, and the SSL keystore files (such as server.p12 or server.keystore) in conf, if HTTPS is configured
- The MPM folder, if mobile app deployment is in use
- The lib\adventnetlicense.xml file, if present (retain for reference; apply the original license.xml through the admin portal on a new server)
Keep the source customer-config.xml. It is required when restoring the database.
Step 4: Install the matching 64-bit build
Follow the option that matches your migration scenario. The remaining restoration steps apply to both options.
Option 1: Install on a new server
- Keep the source 32-bit installation unchanged and available.
- Install the 64-bit version of ADSelfService Plus on the destination server, using the same product build as the source.
Option 2: Install on the same server
- Verify that you have saved the database backup, the complete installation-folder backup, and a copy of the installer metadata folder identified in the next step.
- After backing it up, delete only C:\Program Files (x86)\InstallShield Installation Information\{09998EF9-DF8C-4E52-803D-4AE85D38DD2B}, if it belongs to the existing ADSelfService Plus installation. Do not remove the 32-bit application folder.
- Install the exact matching 64-bit ADSelfService Plus build to its default directory: C:\Program Files\ManageEngine\ADSelfService Plus.
Stop the new 64-bit ADSelfService Plus installation before restoring the database and configuration files.
Step 5: Prepare the destination for database restoration
- Make a copy of customer-config.xml from the source 32-bit installation and rename that copy to new-customer-config.xml.
- Place new-customer-config.xml in the conf folder of the 64-bit installation.
Preserve the destination installation's original customer-config.xml. Both this file and new-customer-config.xml must remain in the destination conf folder for database restoration.
Step 6: Restore the database
- Copy the .ezip database backup created in Step 3 to the bin folder of the 64-bit installation.
- Open Command Prompt as an administrator.
- Navigate to the bin folder.
- Run:
restoreDB.bat <backup-file-name>.ezip -p <password> true
For example:
restoreDB.bat OfflineBackup_20250813160300.ezip -p 00306131805202_pukcaBenilffO true
Replace the backup file name and password with the values for your own backup.
- Wait for the restore process to complete.
Step 7: Restore the remaining configuration and customization files
- Copy ZohoCreator.properties from the source installation to the conf folder of the 64-bit installation.
- Restore the following files and folders only if they were backed up in Step 3:
- The patch folder to the ADSelfService Plus installation directory.
- The resources folder to the ADSelfService Plus installation directory.
- The html, images, resources, and styles folders to webapps\adssp.
- server.xml, web.xml, and the SSL keystore to the conf folder.
- The MPM folder to the ADSelfService Plus installation directory.
Do not replace the entire conf folder with the source conf folder.
Step 8: Configure ADSelfService Plus as a Windows service
The migrated 64-bit installation must run as a Windows service. If the service is not installed, perform the installation step below.
- Open Command Prompt as an administrator.
- Navigate to the bin folder in the ADSelfService Plus installation directory.
- Run:
InstallNTService.bat
- Open services.msc.
- Open the properties of the ManageEngine ADSelfService Plus service.
- On the Log On tab, configure the service account required by your deployment.
- Start the service.
For a new-server migration, update any clients, DNS, URLs, and integrations that still reference the old server. Verify any deployed login agent settings.
Step 9: Apply the license when migrating to a new server
- Back up the source lib\adventnetlicense.xml file, if present, for your records. This is the stored license file name after application.
- In the destination ADSelfService Plus admin portal, click License, then Browse, and select your original license.xml file.
- Click Upgrade and verify that the expected edition and licensed-user count are displayed.
Validation and confirmation
Complete the following checks before uninstalling or decommissioning the 32-bit installation:
- Confirm that ADSelfService Plus starts successfully on the 64-bit installation.
- Log in to the ADSelfService Plus admin portal and confirm that the expected build number is displayed.
- Confirm that the configured domains, policies, enrolled users, and other required product data are available.
- Verify that any applicable customizations restored during the migration are working as expected.
- If HTTPS is configured, verify that the ADSelfService Plus portal loads correctly over HTTPS.
- Test the primary functions used in your environment, such as:
- Self-service password reset
- Account unlock
- Multi-factor authentication, if configured
- Endpoint logon functionality, if configured
- If you migrated to a new server, verify that users and dependent integrations can reach ADSelfService Plus through the intended server name or access URL.
After all validation checks pass, you can decommission the old 32-bit installation.
Troubleshooting tips
The database restore fails with a password error
Confirm that you are using the password associated with the backup file being restored.
If the default password is used, reverse the complete backup file name excluding the extension. Preserve uppercase and lowercase characters, hyphens, underscores, and other characters exactly.
If an administrator-configured password has been forgotten and the source installation directory is available, contact ADSelfService Plus support with the source customer-config.xml file.
The database restore fails or ADSelfService Plus does not start after restoration
Verify that:
- The 32-bit source and 64-bit destination installations use the exact same ADSelfService Plus build.
- new-customer-config.xml from the source installation is present in the destination conf folder.
- The destination installation's original customer-config.xml has not been overwritten or deleted.
- The restore command was run using the required syntax, including the trailing true.
Customizations are missing after migration
Restore the applicable customization files and folders backed up from the 32-bit installation, including the resources folder, customized webapps\adssp folders, SSL files, or the MPM folder.
The required 64-bit installer is unavailable
Contact ADSelfService Plus support for assistance obtaining the 64-bit installer corresponding to the build running on the 32-bit installation.
Best practices
- Take a fresh database backup immediately before beginning the migration.
- Keep a separate folder-level backup of the complete 32-bit ADSelfService Plus installation.
- Record the database backup file name and confirm its password before beginning the migration.
- Restore only the files required by the migration procedure instead of replacing the complete conf folder.
- Keep the 32-bit installation available until the 64-bit installation has passed all validation checks when migrating to a new server.
- If failover or load balancing is configured, complete the deployment-specific migration requirements and ensure that all ADSelfService Plus nodes use the same build and architecture.