Salad logoSalad logo
Salad logoSalad logo
Quickstart
I Can't Get Salad to DownloadBT TroubleshootingCorrect System Time ErrorRe-enable PowershellRestoring DISMRestoring .WSLConfig to Salad DefaultUsing Remote Desktop with Salad
Discord
TroubleshootingPC Configuration

Restoring .WSLConfig to Salad Default

Salad uses the .WSLConfig file to configure the container environment values and defaults. Within that file, Salad also sets the amount of RAM that can be used for the container. This file is usually auto-generated by Windows when you install WSL.


If your Salad shows an incomplete Chopping Power bar because of this, please follow the directions below to fix this issue.

Screenshot of an incomplete Chopping Power bar


Using the WSL Settings Window

If you are using a WSL version that is recent (>= 2.3.24), you may have access to a special configuration Window to manage your WSL installation.

  1. In the Windows Search Bar, look for "WSL Settings", and launch it

    Screenshot of Windows Search looking for WSL Settings

    WSL Settings App Search

  2. Once open, do not modify any configuration settings except for the one under "Memory Size".

  3. Click on "Memory Size", which should show a dropdown menu (Your actual values may vary):

    Screenshot of WSL Settings app

    WSL Settings - Editing RAM

  4. Update the value in the field according to this information:

    1. Systems under 16GB of RAM, leave the file as-is.
    2. Systems with 16GB to 23GB of RAM, set it to 14500
    3. Systems with 24GB to 31GB of RAM, set it to 16500
    4. Systems with 32GB to 63GB of RAM, set it to 24700
    5. Systems with 64GB to 91GB of RAM, set it to 32900
    6. Systems with 92GB to 131GB of RAM, set it to 65700
    7. Systems where RAM is at or above 132GB, set it to 50% of your system RAM
    8. Note: do not forget to add the "MB" at the end of the line. For example:
      1. On a System with 196GB RAM , set to 98000MB (196/2 = 98GB, so 98000MB)
  5. Once the information is entered, press Enter on your Keyboard, and click back on the dropdown to update the value (you should see the new value being set automatically).

  6. Reboot your system to apply the changes


Updating it Manually

If you prefer to do it manually, a file named .wslconfig may also already exist on your machine which stores these types of settings.

  1. To find it, open the File Explorer, and click on the top explorer bar:

    Screenshot of File Explorer pointing to the URL bar

    Locating the .wslconfig folder

  2. Then, type%UserProfile% in that box and press Enter, You will be transported to the right directory where the .wslconfig is stored.

    1. Note: If you have not activated "Hidden Items" view, you may need to enable it like so:

      Screenshot of File Explorer showing how to enable Hidden Items

      Enabling Hidden Item View in File Explorer

    2. At the top of File Explorer, click on "View", then towards the right of the menu, enable "Hidden Items"

    3. Once activated, you should find the file in the folder, like so:

      Screenshot of File Explorer showing the .WSLConfig file

      .wslconfig file in File Explorer

  3. Next, open the file with Notepad, and edit the line to these requirements:

    Screenshot of Notepad with example value

    1. Systems under 16GB of RAM, leave the file as-is.
    2. Systems with 16GB to 23GB of RAM, set it to 14500MB
    3. Systems with 24GB to 31GB of RAM, set it to 16500MB
    4. Systems with 32GB to 63GB of RAM, set it to 24700MB
    5. Systems with 64GB to 91GB of RAM, set it to 32900MB
    6. Systems with 92GB to131GB of RAM, set it to 65700MB
    7. Systems where RAM is at or above 132GB, set it to 50% of your system RAM
    8. Note: do not forget to add the "MB" at the end of the line. For example:
      1. On a System with 196GB RAM , set to 98000MB (196/2 = 98GB, so 98000MB)

That's it Chef! If you're experiencing issues, contact Salad Support.

Edit on GitHub

Last updated on

Restoring DISM

Previous Page

Using Remote Desktop with Salad

Next Page

On this page

Using the WSL Settings WindowUpdating it Manually