# Unexpected WSL error

<figure><img src="https://2961622933-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqMfOJ12ORoZOYNm0exux%2Fuploads%2F7bvuGG56hKqM8DEeV3zR%2Fimage.png?alt=media&#x26;token=a882b4a8-0a30-4ce9-80fd-1d12234ff00a" alt=""><figcaption></figcaption></figure>

This error occurs when you haven't updated to the latest version of WSL or haven't enabled the Hyper-V Feature. Do the following steps:

1. **Check and Update WSL Version:** First, ensure that you’re running the latest version of WSL. You can check your current WSL version by opening a command prompt and typing:

   ```bash
   wsl --version
   ```

   If you find that you’re not on WSL 2, you can set the default version to 2 by executing:

   ```bash
   wsl --set-default-version 2
   ```
2. **Enable Hyper-V Feature:** Hyper-V is a virtualization technology tool that needs to be enabled in Windows. To check if Hyper-V is enabled, you can use the Windows Features dialog.

<figure><img src="https://2961622933-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqMfOJ12ORoZOYNm0exux%2Fuploads%2F4j4MQNOKWfAg7I3T7xUe%2Fimage.png?alt=media&#x26;token=46babc24-e7d2-4feb-b6b1-ef535fcb4195" alt=""><figcaption></figcaption></figure>

### <mark style="color:red;">**Team also guided how to enable virtualization BIOS and install WSL2**</mark> [<mark style="color:blue;">**here**</mark>](https://developers.io.net/docs/docker-installation-on-windows)<mark style="color:blue;">**.**</mark>
