Forum Discussion

hoyty76's avatar
hoyty76
Iron Contributor
Dec 10, 2024
Solved

Trying to install to Windows Server + WSL error

I am trying to deploy to a Windows Server running WSL. I built a new Server 2025 VM and then enabled nested virtualization and installed WSL. I ran the provisioning script and am getting an error me...
  • kyazaferr's avatar
    Dec 11, 2024

    1. Verify WSL Configuration

    • Ensure that WSL is installed and configured properly:
      • Run wsl --list --verbose to check the list of installed distributions and their states.
      • Confirm that the imported distribution (Ubuntu-22.04-Mcc-Base) is listed and running.
      • Try starting the imported distribution manually:
        wsl -d Ubuntu-22.04-Mcc-Base.
      • If there’s an issue starting the distribution, check the error message for details.

    2. Check Nested Virtualization

    • Verify that nested virtualization is correctly enabled on the VM:
      • On the host machine, run:
        Get-VMProcessor -VMName <YourVMName> | Select-Object NestedVirtualizationEnabled.
      • Ensure it returns True.
    • Confirm that the VM is running Windows Server 2025 and supports WSL.

     

    3. Look Into the Provisioning Script

    • Examine the script for potential issues, particularly around:
      • Syntax errors.
      • External dependencies (e.g., missing packages, network calls, or commands that fail silently).
    • If the script is not confidential, share the relevant sections for analysis.

    4. Check Return Code 13631495

    • This appears to be a non-standard or application-specific error code. Check:
      • Documentation or logs for MCC.
      • Context within the script to identify which command failed.

Resources