# Failed. Error Code 1816 - Uninstalling software

**URL:** <https://forum.ansible.com/t/failed-error-code-1816-uninstalling-software/29442>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [January 15, 2019, 2:29pm UTC](https://forum.ansible.com/t/failed-error-code-1816-uninstalling-software/29442 "2019-01-15T14:29:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashank\_mishra](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@shashank\_mishra](https://forum.ansible.com/u/shashank_mishra)\
**Post date:** [January 15, 2019, 2:29pm UTC](https://forum.ansible.com/t/failed-error-code-1816-uninstalling-software/29442/1 "2019-01-15T14:29:18Z")

</div>

Hi All,

I am uninstalling a software using Ansible from a windows machine.

During un-installation internally we unregister/stop services.  
We are getting error in this. “Failed Error Code: 1816”.

The command we are using to stop/unregister:

- net stop ServiceName /Yes
- AppName /unregserver

I searched and this error code is pointing to “Not Enough Space to Process”.  
I have checked that we have allocated around 40 GB for offline/temporary files in this system.

Any pointers to resolve this would be really helpful.
