# Get Windows service info - filter by only services with start\_mode as "auto"

**URL:** <https://forum.ansible.com/t/get-windows-service-info-filter-by-only-services-with-start-mode-as-auto/37858>\
**Category:** Ansible Developer\
**Tags:** windows\
**Created:** [April 6, 2023, 8:59am UTC](https://forum.ansible.com/t/get-windows-service-info-filter-by-only-services-with-start-mode-as-auto/37858 "2023-04-06T08:59:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Crummett](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@Mark\_Crummett](https://forum.ansible.com/u/Mark_Crummett)\
**Post date:** [April 6, 2023, 8:59am UTC](https://forum.ansible.com/t/get-windows-service-info-filter-by-only-services-with-start-mode-as-auto/37858/1 "2023-04-06T08:59:38Z")

</div>

I’m using the windows.win\_service\_info module to pull all the service info from a Windows server. However i’d like to be able to filter this by only those set to start mode of auto.

context: i plan on using the list produced to then ensure these services are all started following reboots
