# install vmware tools via ansible playbook (winrm)

**URL:** <https://forum.ansible.com/t/install-vmware-tools-via-ansible-playbook-winrm/37754>\
**Category:** Ansible Project\
**Tags:** windows, vmware\
**Created:** [March 10, 2023, 11:11pm UTC](https://forum.ansible.com/t/install-vmware-tools-via-ansible-playbook-winrm/37754 "2023-03-10T23:11:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shay\_Cohen](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/shay_cohen/32/3687_2.png) [@Shay\_Cohen](https://forum.ansible.com/u/Shay_Cohen)\
**Post date:** [March 10, 2023, 11:11pm UTC](https://forum.ansible.com/t/install-vmware-tools-via-ansible-playbook-winrm/37754/1 "2023-03-10T23:11:06Z")

</div>

.I am trying to install a vmare tools on windows machine but noting happen  
I manage to copy the file but when I am trying to install I don’t see any error or installation running in the background.

---

<div class="post-metadata">

**Author:** ![Will\_McDonald](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Post date:** [March 10, 2023, 11:29pm UTC](https://forum.ansible.com/t/install-vmware-tools-via-ansible-playbook-winrm/37754/2 "2023-03-10T23:29:13Z")

</div>

It’s hard to tell from the mail formatted commands but thoughts off the top of my head:

1. /S /v"/qn looks like it might need an additional space: /v "/qn

2. Have you tried to register the output of the task and then subsequently inspect that? If so… what’s the output?

3. Have you tried using the [argv](https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_command_module.html#parameter-argv) parameter to see if that helps C:\VMware-tools-12.1.5-20735119-x86\_64.exe parse its arguments more cleanly?

4. If you drop that heavily quoted command line into a powershell or batch/command instead and copy then call it… what happens? (Purely from a debug/problem reduction perspective?

---

<div class="post-metadata">

**Author:** ![Thanh\_Nguyen\_Duc](https://avatars.discourse-cdn.com/v4/letter/t/c89c15/32.png) [@Thanh\_Nguyen\_Duc](https://forum.ansible.com/u/Thanh_Nguyen_Duc)\
**Post date:** [March 11, 2023, 2:33am UTC](https://forum.ansible.com/t/install-vmware-tools-via-ansible-playbook-winrm/37754/3 "2023-03-11T02:33:54Z")

</div>

Does command work locally? If can then you may try to create a bat file then trigger it instead?

Thanks and Best Regards,

Thanh.
