I got the elastic-agent to enroll using the follow command
>elastic-agent enroll https://localhost:5601 bHRPdUlIWUJSMzJvZjZwSktjbzQ6QUY0SmpvNFZSY1MxMUZCSk82S3ZRQQ -a \\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\es_certs\_data\ca\ca.crt --insecure
However if I try to install for the "Program Files" directory it never competes and I get nested folders containing the same data. I tried a few times every time the install was over 5 gigs. 3-6k worth of items. This is that my folder structure looks like after:
C:\Program Files\Elastic\Agent\Elastic\Agent\Elastic\Agent\Elastic\Agent
My install command:
.\elastic-agent.exe install -f --kibana-url=https://0:5601 --enrollment-token=bHRPdUlIWUJSMzJvZjZwSktjbzQ6QUY0SmpvNFZSY1MxMUZCSk82S3ZRQQ== -a \\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\es_certs\_data\ca\ca.crt