# Offline Activation

### VM WITH INTERNET ACCESS

Identify any VM in your labs that has internet access, and in that machine download ‘[VConnect.zip](https://cloudassertdownloads.blob.core.windows.net/vconnect-rtm/VConnect.zip)[’](https://cloudassertdownloads.blob.core.windows.net/vconnect-rtmv1-0/VConnect.zip) and extract all the files to a local folder.

### RESOURCE PROVIDER VM

1. Go to **Tenant Portal** -> **All Resources** -> **VConnectVM1000** -> **Overview** -> **DNS Name** (last item)
2. Copy the value and remote into this resource provider VM&#x20;
3. **User name:** vconnectrpadmin, **Password:** as specified in the previous installation step
4. Copy the VConnect extracted files from the VM connected to internet to here
5. Open a **new** elevated (administrative) PowerShell console and change to the VConnect directory. Run the following command, and copy the activation text in the result:

```
> VConnect.exe GetActivationText
```

### VM WITH INTERNET ACCESS

1. Go back to the VM with internet access at the start of this page where VConnect was downloaded
2. Open a **new** elevated (administrative) PowerShell console and change to the VConnect directory. Run the following command by editing the highlighted text as follows:

* Replace licenseKey and emailId with the values shared by our team
* Replace activationText with the activation text copied from the resource provider VM above

```
> VConnect.exe ActivateOffline <licenseKey> <emailId> <activationText>
```

* The above step will generate a License.cal file in the same folder as VConnect.exe. Copy the ‘License.cal’ file.

### RESOURCE PROVIDER VM

1. Login back to the resource provider VM
2. Go location:  \<c:>\inetpub\MgmtSvc-Cloudassert-VConnect\bin
3. Paste the Licence.cal copied from the VM with internet access
4. Recycle the MgmtSvc-Cloudassert-VConnect application pool using IIS manager
5. In the Admin Portal, click **All Services** -> **VConnect -> License** blade to see the licensed features and quotas

![](/files/-M7uE50YMWv4EUv2V_2T)


---

# 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.cloudassert.com/azure-stack-hub-multi-stamp-management/installation/deployment/license-activation/offline-activation.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.
