Skip to content

Deactivating a Workbook Application

XLS Padlock provides a robust deactivation system that allows end users to unregister their application from a computer. This is especially useful when customers need to transfer a license to a new machine or reactivate their software after significant system changes.

Deactivation generates a certificate that the end user must send to you. Using the Test Deactivation Certificate feature in XLS Padlock, you can verify the certificate’s authenticity. It is crucial to note that once an application is deactivated, its activation key is invalidated. You will need to issue a new key to the user for any future activations.

When a user deactivates their application, they must generate a deactivation certificate and send it to you:

Secure application dialog where the end user generates a deactivation certificate to send to you

Deactivation certificate text the end user copies and emails to the publisher

Upon receipt, you can use the ‘Test deactivation certificate’ button in XLS Padlock to verify the certificate. If the deactivation is successful, XLS Padlock will display the deactivation date and the unique identifier of the user’s computer:

Test deactivation certificate button in XLS Padlock used to verify the received certificate

XLS Padlock confirming a valid deactivation with its date and the computer unique identifier

Deactivation details showing the date and the user computer identifier for future activations

This information allows you to manage new activations for your client.

For a more seamless experience, XLS Padlock supports online deactivation if you have the XLS Padlock Activation Kit installed on your web server. The application communicates with your server to automatically unregister the activation. If the server is unreachable or the computer is offline, a manual deactivation certificate is created as a fallback.

Online deactivation contacting the Activation Kit server to unregister the activation automatically

Online deactivation automates the entire process, making it easier for both you and your customers.

To use online deactivation, you must provide the URL to the XLS Padlock Activation Kit or the XLS Padlock WooCommerce Integration Kit on your web server. For instance, if you installed the activation kit in a subfolder named “activation”, the URL would be https://www.yourdomain.com/activation/dodeactivation.

⚠️ If you prefer to manage deactivation manually, leave this field blank.

Hide Manual Deactivation Button (in that case, it is shown if automated deactivation fails)

Section titled “Hide Manual Deactivation Button (in that case, it is shown if automated deactivation fails)”

By default, manual deactivation is always available as a fallback. If you want to encourage users to use online deactivation, you can choose to hide the manual deactivation button.

A user can initiate the deactivation process in three ways:

  • The first option is through the integrated Welcome dialog of the application. Upon launching the secure application, the welcome dialog appears, presenting various options, including a “Deactivate” button. By clicking this button, users can begin the deactivation process in a user-friendly and guided manner:

Integrated Welcome dialog of the secure application showing the Deactivate button

  • The second method involves the use of the command line. Advanced users may prefer this method for system automation or integration. To do this, the user needs to open the Windows command prompt, navigate to the directory where the secure application’s executable file is located, and then enter the name of the executable followed by the **-deact** parameter. For instance, if the executable is named Application.exe, the complete command would be:
Terminal window
C:\Path\to\application\Application.exe -deact

By pressing Enter, the parameter is passed to the executable file, triggering the deactivation process.

  • The third method uses the VBA API provided by XLS Padlock.

👉 See Also:, Online Activation, The integrated Welcome dialog