# Win\_updates module working ok on one server - fails on another

**URL:** <https://forum.ansible.com/t/win-updates-module-working-ok-on-one-server-fails-on-another/8261>\
**Category:** Get Help\
**Tags:** windows, awx\
**Created:** [September 4, 2024, 2:37pm UTC](https://forum.ansible.com/t/win-updates-module-working-ok-on-one-server-fails-on-another/8261 "2024-09-04T14:37:46Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Denney-tech](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/denney-tech/32/1556_2.png) [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Post date:** [September 5, 2024, 5:04pm UTC](https://forum.ansible.com/t/win-updates-module-working-ok-on-one-server-fails-on-another/8261/7 "2024-09-05T17:04:39Z")

</div>

You’re now getting an access denied error from Windows’ Task Scheduler.

This is a bit of a known recurring issue that hasn’t been pinned down to a root cause.

> [@"Access denied" error when running win\_updates module on Windows vSphere hosts](http://forum.ansible.com/t/access-denied-error-when-running-win-updates-module-on-windows-vsphere-hosts/4559):
>
> ansible [core 2.13.7] on Rocky Linux 8.9 connecting to/configuring Windows Server 2022 Standard I have a pretty boring playbook: - name: Search security updates ansible.windows.win\_updates: category\_names: - SecurityUpdates state: searched log\_path: D:\logs\ansible\_wu.txt It errors with the following: The full traceback is: Exception calling "NativeCreateProcess" with "9" argument(s): "CreateProcessW() failed (Access is denied, Win32ErrorCode 5 - 0x00000005)" At line:2182…

The issue is inconsistent, and occurs both with WinRM and PSRP plugins, but it’s hard to say that anything is wrong with the `win_updates` module because the issue will just “go away” after some time.

---

_[View the full topic](https://forum.ansible.com/t/win-updates-module-working-ok-on-one-server-fails-on-another/8261)._
