For the bare version of Vim that comes with WSL on Windows 10, attempts to "yank to registry *" will fail with the following error message:
One way to reproduce the symptom is to assign the following mapping, and invoke it by pressing Y in normal mode.
nnoremap Y :let @* = expand("%:p")<CR>
