# License deactivation on Windows

This guide outlines how to deactivate a license of WebSpellChecker Server installed on a Windows server. After a successful license deactivation, you can reuse a license with a fresh installation on a new server.

**1. Launch Deactivate License service.** You can launch license deactivation service either directly from Windows graphic user interface (GUI) or using command line interface (Command Prompt). Both ways are described in this section.

**Option A: Windows GUI**

Go to Windows Start –> All Programs –> WebSpellChecker –> AppServer –> Deactivate License

**Option B: Command Prompt**

Open Command Prompt –> Switch to \[WebSpellChecker\_Installation\_Path]/AppServer –> Run AppServerX.exe -deactivateLicense

Alternatively, you can execute **AppServerX.exe** with **-deactivateLicense** and **-y** parameters as follows for a silent automatic license deactivation:

```javascript
AppServerX.exe -deactivateLicense -y
```

**2. Select the license deactivation mode**. You can choose between **automatic** or **manual** license deactivation mode.

#### Option A: Automatic License Deactivation <a href="#licensedeactivationonwindows-optiona-automaticlicensedeactivation" id="licensedeactivationonwindows-optiona-automaticlicensedeactivation"></a>

2.1. If you prefer to deactivate license automatically, and Internet connection is available on your machine, press **Enter**. The automatic license deactivation is provided by default.

```javascript
.../AppServerX.exe -deactivateLicense

Do you want the installer to attempt to deactivate your license automatically? 
The automatic deactivation requires the Internet connection available on this machine. 
Otherwise, please proceed with the manual deactivation instead.
Enter 'y' or 'n' [y]: y

Congratulations! Your License Ticket ID '***************' has been deactivated successfully. Now you can reuse this license with a fresh installation.
```

If no valid license is found, you will get the following error:

Error. Failed to deactivate the license. No valid license is found on this machine.

#### Option B: Manual License Deactivation <a href="#licensedeactivationonwindows-optionb-manuallicensedeactivation" id="licensedeactivationonwindows-optionb-manuallicensedeactivation"></a>

2.1. If your machine doesn't have Internet connection configured, select manual license deactivation mode by typing **'n'**.

```javascript
.../AppServerX.exe -deactivateLicense

Do you want the installer to attempt to deactivate your license automatically? The automatic deactivation requires the Internet connection available on this machine. Otherwise, please proceed with the manual deactivation instead.
Enter 'y' or 'n' [y]: n

Deactivate License by copying and pasting the next Deactivation link into the browser window: 
https://webspellchecker.com/api/licensing/v1/process-license?data=3:SCvdn4AFLiB6pQXSYv9/zTRxxLIwhzjjKiAUx2KKvv8jzmw90s3KI964fe0DuT/Xwm4EtqTsc/m68bRtdw/GfZxuA0X3eVH5Som613HNlQ0RFxZd1JJ2hOLOhhZ2Rv%2BlWxLSQsUvW0QRJsf5u1DVZH9R=
```

2.2. Once the manual license deactivation mode is selected, a **Deactivation link** will be generated based on your current License Ticker ID and unique machine hardware characteristics.

Use this Deactivation link to deactivate license. Copy the entire Deactivation link and past into the browser window on the machine with the Internet connection. If the used Deactivation link is valid, the license will be deactivated successfully. The following message will be shown in the browser window:

Congratulations! Your License Ticket ID '\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*' has been deactivated successfully. Now you can reuse this license with a fresh installation.

If no valid license is found, you will get the following error:

Error. Failed to deactivate the license. No valid license is found on this machine.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wproofreader.com/v6.12.0/deployment/licensing/license-deactivation-on-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
