# Installing VMware tools with win\_powershell

**URL:** <https://forum.ansible.com/t/installing-vmware-tools-with-win-powershell/38876>\
**Category:** Get Help\
**Tags:** windows, vmware\
**Created:** [December 4, 2024, 2:59am UTC](https://forum.ansible.com/t/installing-vmware-tools-with-win-powershell/38876 "2024-12-04T02:59:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andini](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@andini](https://forum.ansible.com/u/andini)\
**Post date:** [December 4, 2024, 2:59am UTC](https://forum.ansible.com/t/installing-vmware-tools-with-win-powershell/38876/1 "2024-12-04T02:59:59Z")

</div>

Hi Everyone,  
I wrote a simple playbook in order to install VMware tools using win\_powershell module. The VMware tools get installed, the server is restarted (the reboot is triggered by the installer), the server is at the logging screen, but the template job keeps running and it will not end.  
Any thoughts?

Here is the playbook:

```yaml
- name: Installing VMware Tools
  hosts: "{{target_host}}"
 
  tasks: 
  - name: Download VMtools
    ansible.windows.win_get_url:
      url: http://10.72.152.62/VMtools.exe
      dest: C:\Users\administrator\Desktop\VMtools.exe

  - name: Install VMtools
    ansible.windows.win_powershell:
      script: C:\Users\administrator\Desktop\VMtools.exe /S /v/qn

```
