© Hayden Barnes 2021
H. BarnesPro Windows Subsystem for Linux (WSL)https://doi.org/10.1007/978-1-4842-6873-5_12

12. Deploying WSL at Scale

Hayden Barnes1  
(1)
Columbus, GA, USA
 

Considerations for Deploying

Deploying WSL at scale requires you to be aware of some important things for the best experience.

It is important to make sure that when a user restarts their system, the %APPDATA%\local directory of their user account is preserved. If the directory is erased, the user will need to reinstall their WSL distro(s) every time that they log in to Windows. This is because the WSL file systems are stored within this directory. As an alternative, you could install the distros on behalf of the user via automation with the wsl.exe --import command, which ...

Get Pro Windows Subsystem for Linux (WSL): Powerful Tools and Practices for Cross-Platform Development and Collaboration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.