Skip to main content
Background Image

Windows 11 - WSL

·52 words·1 min· loading · loading · ·

Disable Windows Commands through WSL Distro
#

  1. Create the following file if not already created:

    sudo nano /etc/wsl.conf
    
  2. Add the following to wsl.conf:

    [interop]
    enabled = false
    appendWindowsPath = false
    
  3. Restart WSL Distro

    wsl --shutdown
    

Allow Network Tools (Ping)
#

sudo setcap cap_net_raw+p /bin/ping

Or you can use:

sudo chmod u+s /bin/ping