# Unable to remove default user/group ACLs on a windows ROOT Drive using Ansible

**URL:** <https://forum.ansible.com/t/unable-to-remove-default-user-group-acls-on-a-windows-root-drive-using-ansible/34291>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [December 7, 2020, 9:15am UTC](https://forum.ansible.com/t/unable-to-remove-default-user-group-acls-on-a-windows-root-drive-using-ansible/34291 "2020-12-07T09:15:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham\_debnath](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@shubham\_debnath](https://forum.ansible.com/u/shubham_debnath)\
**Post date:** [December 7, 2020, 9:15am UTC](https://forum.ansible.com/t/unable-to-remove-default-user-group-acls-on-a-windows-root-drive-using-ansible/34291/1 "2020-12-07T09:15:25Z")

</div>

Hello Ansible community.

Can anyone please help me on the below issue.

Issue::

When creating a new volume on windows instance, the new Drive is getting created with default built in users/grops permissions like **CREATOR OWNER, Users, Everyone** etc. Want to remove those default users/groups from the drive.

So used windows ansible module “ **windows\_acl\_inheritance** ” to achieve the same but its **not removing** those default users/groups from that drive.

([ansible.windows.win\_acl\_inheritance – Change ACL inheritance — Ansible Documentation](https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_acl_inheritance_module.html))

The same module is working perfectly on any subfolders under that ROOT(D:) drive but not working on the ROOT drive.

Question::

**Is there any way with ansible windows module to remove the default users/groups ACLs so that those ACls wouldn’t get inherited to the newly created subfolders inside the drive(D:)?**

Ansible version : **2.9.13**

python: 2.7.18

Thanks,

Shubham

---

<div class="post-metadata">

**Author:** ![shubham\_debnath](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@shubham\_debnath](https://forum.ansible.com/u/shubham_debnath)\
**Post date:** [December 8, 2020, 8:21am UTC](https://forum.ansible.com/t/unable-to-remove-default-user-group-acls-on-a-windows-root-drive-using-ansible/34291/2 "2020-12-08T08:21:26Z")

</div>

Hello,

Can anyone please help?

Thanks,  
Shubham
