The vcruntime140.dll couldn’t be found at those locations above and so was never getting loaded.
I compared with another machine where Sonos S1 Controller was working, and the vcruntime140.dll was being loaded, so I figured that was at least one requirement for it to work.
I checked and there was a copy under C:\windows\system32\ but not in syswow64.
However the sonos application was looking in syswow64 and everywhere else except system32.
The solution was to repair the runtimes through appwiz.cpl, or install if they weren’t installed at all:
- Microsoft Visual C++ 2015 Redistributable (x64)
- Microsoft Visual C++ 2015 Redistributable (x86)
After the repair/install, the DLL was reinstated in syswow64, and Sonos Controller S1 started working.
It probably would have worked if the file was copied manually, but since the repair worked, I went with that.
Not sure what could have gotten it deleted from syswow64, but it might have been the antivirus.