# The powershell shell family is incompatible with the sudo become plugin

**URL:** <https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [April 30, 2020, 6:51am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823 "2020-04-30T06:51:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jenisha\_T](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Post date:** [April 30, 2020, 6:51am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823/1 "2020-04-30T06:51:37Z")

</div>

Hi

I m configuring windows host on windows 10 virtual machine. My control node is Redhat OS 8 virtual machine. This is for the developer testing setup. I get below error when I do  
$ansible -vvv winsvr -i /etc/ansible/hosts -m win\_ping

“The powershell shell family is incompatible with the sudo become plugin”. Why do I get this error. Any help to fix this issue is appreciated

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [April 30, 2020, 2:30pm UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823/2 "2020-04-30T14:30:08Z")

</div>

This indicates that in your inventory you have indicated `ansible_become=true`, however you have not specified `ansible_become_method=runas` for the Windows hosts.

---

<div class="post-metadata">

**Author:** ![Jenisha\_T](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Post date:** [May 1, 2020, 4:49am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823/3 "2020-05-01T04:49:52Z")

</div>

Thankyou Matt your solution worked perfectly.

---

<div class="post-metadata">

**Author:** ![kishore\_madasu](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kishore\_madasu](https://forum.ansible.com/u/kishore_madasu)\
**Post date:** [May 15, 2020, 3:57am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823/4 "2020-05-15T03:57:25Z")

</div>

Hi,

I am also getting the same error but i couldn’t mentioned ‘ansible\_become=true’ in my inventory file. where should i need to specify “ansible\_become\_method=runas”.Plz help me sortout this issue. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [May 15, 2020, 4:29am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/32823/5 "2020-05-15T04:29:34Z")

</div>

Please don’t hijack a thread just because you see a similar error.

Instead start a new one, which will also allow you to provide the information that is needed to answer your question (playbook, inventory, etc).  
In any case make sure you first read  
[https://docs.ansible.com/ansible/latest/user\_guide/become.html](https://docs.ansible.com/ansible/latest/user_guide/become.html) and understand what is means, especially the windows sections at the bottom.
