> For the complete documentation index, see [llms.txt](https://kb.hostednetwork.com.au/support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.hostednetwork.com.au/support/services/cloud/infrastructure-as-a-service/vcloud-director-legacy/administrative-tasks/activating-windows-servers.md).

# Activating Windows Servers

This article covers activating Windows Server on our vCloud platform.

{% hint style="danger" %}
Our KMS server will activate Windows Server versions 2012-2022.

As of April 2021, Hosted Network has decommissioned the Windows Server 2008 KMS Server due to this version of Windows having been marked End-of-Life in mid-January 2020.&#x20;

As a result, we can no longer provide licensing for Windows Server 2008 and strongly recommend upgrading to a newer version.
{% endhint %}

**To activate Windows Server, open a command prompt or Windows PowerShell as Administrator and enter one of the following commands:**

Set the KMS server

```
slmgr.vbs /skms hn-kms.mhn.net.au
```

Activate Windows

```
slmgr.vbs /ato
```

If successful you should get a message appear saying that it successfully activated, if you get any other message or error and it fails to activate please email <support@hostednetwork.com.au> with the error as either text or a screenshot.

{% hint style="warning" %}
&#x20;These KMS Servers will only activate if the external IP is a Hosted Network IP address. If your external IP is different (routing through a VPN to another location) please contact <support@hostednetwork.com.au> for assistance
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.hostednetwork.com.au/support/services/cloud/infrastructure-as-a-service/vcloud-director-legacy/administrative-tasks/activating-windows-servers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
