# Operating system

First, create an operating system content item:

<figure><img src="https://744643921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJO9NLelA0RS8JB4i9oaQ%2Fuploads%2FFO4CwdoQdSwqHogzY8uF%2Fimage.png?alt=media&#x26;token=360f6162-7d1f-453a-826e-05ce50162431" alt=""><figcaption></figcaption></figure>

Next, create a new operating system version, click "+ New version" on the content items details page.

<figure><img src="https://744643921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJO9NLelA0RS8JB4i9oaQ%2Fuploads%2FoKgPVkfHY1OtriwN1nb7%2Fimage.png?alt=media&#x26;token=aa437586-2d98-4894-9dc8-feb6187d28cf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://744643921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJO9NLelA0RS8JB4i9oaQ%2Fuploads%2FdQXRdKNL6uqZpaptjN2Q%2Fimage.png?alt=media&#x26;token=09b888d3-8271-4d42-a2ba-7c994796a684" alt=""><figcaption></figcaption></figure>

You'll then be able to choose your WiM file by clicking "Choose File", browing to your WIM file, and clicking "Open"

<figure><img src="https://744643921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJO9NLelA0RS8JB4i9oaQ%2Fuploads%2FhSOFjf9C2hO5MtUCtARf%2Fimage.png?alt=media&#x26;token=b9834a0f-a0c8-4f28-9683-c33b64f15720" alt=""><figcaption></figcaption></figure>

You then click "Upload All", and watch the super fun status bar while you sip that coffee and check your Discord rooms.<br>

<figure><img src="https://744643921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJO9NLelA0RS8JB4i9oaQ%2Fuploads%2FmPPZgcUVMaDQYgHrImbS%2Fimage.png?alt=media&#x26;token=68124474-9811-40b9-9d11-2299139a77ba" alt=""><figcaption></figcaption></figure>

<figure><img src="https://744643921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJO9NLelA0RS8JB4i9oaQ%2Fuploads%2Fdt04vzHQZ1H3j9y3PzMc%2Fimage.png?alt=media&#x26;token=e915708a-0c7f-449c-bf40-4e96af0a4652" alt=""><figcaption></figcaption></figure>

### Troubleshooting during Task Sequence

The most common issues that happen during this step are caused by setting the Content Type to "Folder" instead of Single File.  During the Task Sequence, this will result in the following error:&#x20;

```
Applying image s:\_2P\content\%WIMContentItemGUID%\ index 1 to path S:\
ERROR: Value does not fall within the expected range.
```

On a successful OSD proccess, it would say the file it's applying like so:

```
Applying image s:\_2P\content\%WIMContentItemGUID%\ index 1 to path S:\
```

Other times it's because the index number doesn't exist in the WIM, ex: You're trying to apply Index 5, which is typically PRO, but the WIM you're using only has 1 index because it's been already modified before import.

We have also seen issues due to too low of Memory, this happens most frequently on Virtual Machines with less than 4GB alocated, or when Dynamic Memory is enabled.
