Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
bash $PATH includes native Windows path(work around "AppendNtPath"=dword:00000000 *Not working*) #2048
@ztolley - Thanks for the reminder. This registry key only applies to the legacy distribution (the one installed by lxrun.exe). With the addition of Store distributions the mechanism was changed to a per-distro setting. There was a plan to add a configuration UI to change various distribution settings but unfortunately that work didn't make the cut for this release. In the meantime there is a global override that you can set to disable appending the NT path for all WSL distributions machine wide:
Create a .reg file with these contents and import it:
To turn this behavior back on, remove the registry value. I'll make sure we get this workaround documented before Fall Creator's Update ships.