Failed. Error Code 1816 - Uninstalling software

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.