wslconfig file on your system and Windows will automatically load it whenever you launch a Linux system. You then specify the path to your kernel file in a. Now, you can do whatever you want with the Linux kernel, including adding kernel modules. Microsoft had already added the Linux kernel, but now WSL 2 looks even more powerful than we originally thought. This is a 20H1 build, which means it will likely be released in April 2020-it’s unclear if this feature will make it to 19H2, expected for release in October 2019.
This feature is part of the new version of WSL in Insider preview build 18945. You can build your own custom Linux kernel for Windows to use. But, guess what: You don’t have to use Microsoft’s Linux kernel.
Microsoft is adding a Linux kernel to Windows 10 to power the Windows Subsystem for Linux.