Metricbeat error while enabling windows metrics

Hi
I am running ES stack on linux ubuntu inside windows hyper-v VM.
I installed metricbeat with deb package, enabled system metrics everything worked well.
I want to add windows metrics to be collected in the ES.
When I enabled the windows module I am getting the following error:

error: metricset 'windows/perfmon' not found

I guess the reason is that windows OS is not part of the context OS that the ES is running on.
How do I provide the windows metrics from the windows OS into the VM?
There is a network between the windows and the linux OS, but can I config the windows.yaml to look the metrics in different ip?

Thanks