# Need help in installing windows service pack

**URL:** <https://forum.ansible.com/t/need-help-in-installing-windows-service-pack/32092>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [January 29, 2020, 8:52pm UTC](https://forum.ansible.com/t/need-help-in-installing-windows-service-pack/32092 "2020-01-29T20:52:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ases](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@Ases](https://forum.ansible.com/u/Ases)\
**Post date:** [January 29, 2020, 8:52pm UTC](https://forum.ansible.com/t/need-help-in-installing-windows-service-pack/32092/1 "2020-01-29T20:52:12Z")

</div>

Hello there,

Have a dependency installing an agent on windows. If the agent installer is run manually into the server, it prompts for the need of service to be installed and complete it subsequently after agreeing.

But, im unable to install the service pack via ansible win\_updates module. Tried below 2 tasks separately. Can anyone advise me if im missing anything? Thank you.

- name: Install Service Pack  
win\_updates:  
category\_name:

- ServicePacks

- name: Install only particular updates based on the KB numbers  
win\_updates:  
category\_name:

- ServicePacks  
whitelist:

- Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
