# 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

![](https://670076824-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6voWNOkQYKxJnx1zI4%2F-M7u4CuEf1MH8k1GGSTf%2F-M7uE50YMWv4EUv2V_2T%2Fimage.png?alt=media\&token=58784139-105f-44e4-9013-49587b3135bd)
