Command Prompt / Console / Windows Subsystem for Linux (WSL)

Greetings from the Windows Command-Line Teams, including the Windows Console and Windows Subsystem for Linux (WSL) teams!

We’re hear to learn about the features you’d like to see in the Windows Console (the terminal app itself), Cmd and PowerShell shells, and the Windows Subsystem for Linux (WSL) upon which several Linux distros now run!

Note: Please don’t file bugs & issues here: file issues on our GitHub repos instead:

Please DO post your asks, ideas, wants and needs for future features: We ARE listening, and we ARE grateful for your feedback!

Windows Console & WSL Teams.

$ | >

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Making DrvFS fmask=111 usable

    (from https://github.com/Microsoft/WSL/issues/3267)

    At the moment when using a git repo on DrvFS, all new files will be created as +x, which git detects and sets core.filemode=false. Enabling fmask=111 in drvfs options fixes this, but that breaks all .exe interop, since those need the +x bit too.

    As mentioned in the WSL bug, this can be worked around by adding an explicit mount with the options in fstab, but those entries are not auto-mapped when invoking `bash.exe` or `wsl.exe` from windows, meaning either you need to manually mount without fmask any PATH entries and re-write the WSL-side mapped paths, or…

    15 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  2. 74 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  3. Raw Disk access and filesystem mounting

    I would love to have the ability to access raw partitions on my hard drive (provided that WSL is stable and will not obliterate my data) and also have the ability to mount filesystems not natively supported under Windows such as ext4, and btrfs among others. Specifically, I want to be able to mount partitions on my hard drive that I have windows installed on.

    185 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  4. 1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  5. Support *BSD operating systems.

    One of the benefits of WSL is that many server environments are Linux systems and the developer can validate many changes locally before deployment.

    Similarly, various *BSD variants (Free-, Open-, etc.) are also frequently used on servers and developers could benefit immensely from having similar functionality.

    This will likely be a larger item than allowing multiple Linux distributions on WSL due to the differences in system call structure.

    86 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  6. Add support for other Linux distros / meta-distributions - part two

    After about year we have some distros in official MS magazine but we already don't have rights to install another Linux distributives.

    I think we need to general methods of porting yourself distros to WSL.
    It's will be easy to another people - the one idea to be popularity.

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  7. printing from WSL.

    I tried installing cups and cups-pdf but could not get it to work. lpadmin keeps giving me error message. Is that possible?
    One workaound is using the shareware software printfil and instead of using lpr for printing, I redirect printed materials to the file that printfil listens to...

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  8. Andoid Distro Support

    I'm very happy about Ubuntu / SUSE / Fedora options for WSL. But isn't Android based on Linux as well? It would be AMAZING to be able to test/run Android apps using WSL, as other Linux apps are able to run GUIs in Windows in the current version.

    35 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    9 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  9. Enable/Install WSL within a Docker Windows container

    Hi everyone,

    I am wanting to enable and install the Windows Subsystem for Linux (WSL) feature from within a Docker windowsservrecore container.
    However, due to the fact that Docker containers are more like full-environment-processes than VMs,
    and because WSL feature installation requires a 'system reboot'; this has proven troublesome.

    I have seen solutions that other people have figured out for installing features that normally 'require reboot' in a Docker windows container:
    - e.g. Active Directory support: https://blogs.msdn.microsoft.com/containerstuff/2017/01/30/create-a-container-with-active-directory-support/
    - e.g. Server Media Foundation: https://www.impostorprogrammer.com/articles/docker/media_foundation_windows_containers.html

    So I was wondering if anyone had any thoughts or has managed something similar for getting WSL…

    5 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  10. Map WSL process ID to Windows process ID

    Currently there appears no clean way to get the corresponding Windows process ID of a running WSL process. I can inspect the PIDs of running processes in Windows taskmanager or with the tasklist command from bash on WSL as in:

    oeffner@grove:~$ cmd.exe /c tasklist

    But that does not guarantee unambiguous identification PIDs if more processes have the same name.

    It would be great if the PID of a WSL process was available as an additional column for Windows TaskManager and the tasklist command.

    It would also be great if it were possible under WSL to get the corresponding Windows PID…

    52 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  11. Run services when Windows starts?

    In Bash, I can set services to boot on startup with something like this:

    sudo systemctl enable application.service

    However, it would be really handy if certain Bash services started when Windows started. (especially for web servers, database engines etc.)

    I know the way Windows and Linux does services is quite different but as an example, it would be great if I could start Windows and know that my local MongoDB server is all fired up and ready to go.

    Would love to know other peoples thoughts on this and if it's at all feasible?

    Thanks, Anthony
    Twitter: @anthonycook

    289 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    8 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  12. implement paste using shift insert key combination

    on linux I press shift-insert then I paste
    on putty on windows I press shift-insert then I paste
    please make wsl bash do the same
    thanks

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  13. Add automount option to exclude files that throw "Permission Denied" caused by "All Deny ReadData"

    # Summary
    When listing files in a mounted Documents directory, `ls` will spam `permission denied` errors on files are set to `All Deny ReadData` by the Windows operating system.

    To prevent the issue, the simpliest approach is to mask/hide these files from mounting, since Linux should not use them anyway.

    # Proposal
    The proposal is to add an automount option to the existing configuration file `/etc/wsl.conf` to enable or disable masking/filtering files if they are defined accesable in the security descriptor.

    New automount option: `only_accessible : boolean`
    If enabled only accessible files are included.

    ```
    # /etc/wsl.conf

    [automount]
    enabled =…

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  14. rt_sigqueueinfo support

    add support for rt_sigqueueinfo so signals in c code work

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  15. 275 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  16. Mount filesystems permanently from /etc/fstab

    It's great that I can mount file systems or USB devices through drvfs but these mounts don't persists when all Linux shells are closed.
    How does one mount filesystems permanently, say through /etc/fstab ?
    Surely it shouldn't be necessary to manually mount filesystems after the last Linux shell has been closed and a new is invoked.

    63 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  17. Easier way to reinstall WSL distros

    Request: An easier way reinstall distros.
    it was previously possible to do it with lxrun, but now with wslconfig it is more manual

    When experimenting I break my installs a lot and want to get back to a clean start.
    Previously i could run
    lxrun /uninstall /full /y ; lxrun /install
    Which would blow it away, and then put it back on.

    But now according to the docs at https://docs.microsoft.com/en-us/windows/wsl/wsl-config
    You now run
    wslconfig /unregister <DistributionName>
    and then need to go back into the windows store and manually install it again.
    An automated way to do it like we could…

    8 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  18. WSL add ability to scroll up

    In the WSL you should be able to scroll up and see your previous sessions commands/output (much like you can with cmd). Currently you only get what you can see on the screen, forcing you remember to pipe everything to less.

    3 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  19. Support wsl --import gzipped tar file

    wsl --import now supports only plain tar.
    But, WSL Distro in MS Store contains gzipped tar file.
    tar.exe could not extract a tar file from tar.gz.

    1 vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  20. Add USB Device Support

    This ask is specifically for adding USB Device support to WSL - i.e. exposing USB busses and devices to the OS.

    This is NOT an ask for adding the ability to communicate with external USB peripherals like phones, IoT boards, etc. - those asks are elsewhere:

    USB Serial communicatons:
    https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/15424383-need-serial-usb-com-port-access

    Mount USB storage devices:
    https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13717092-mount-usb-sd-removable-storage-devices

    1,127 votes
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    135 comments  ·  WSL/Bash  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Command Prompt / Console / Windows Subsystem for Linux (WSL)

Feedback and Knowledge Base