失败。错误代码1816 - 卸载软件时 [英] Failed. Error Code 1816 - While uninstalling software

查看:268
本文介绍了失败。错误代码1816 - 卸载软件时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,



我正在从Windows机器上使用Ansible卸载软件。



在内部卸载期间,我们取消注册/停止服务。

我们收到错误。 "失败的错误代码:1816"。



我们用于停止/取消注册的命令:

- net stop ServiceName / Yes



我搜索了这个错误代码指向"没有足够的空间来处理"。



我已经检查过我们为此系统中的离线/临时文件分配了大约40 GB。



任何解决此问题的指针都非常有用。

解决方案

你好,


您可以尝试设置Windows的虚拟内存,请按照以下步骤操作:



1.右键单击我的电脑,然后在出现的上下文菜单中选择属性。


如果您的是win10,请打开文件资源管理器,然后右键单击此电脑并选择属性。


2.记下已安装的内存(RAM)



3.点击高级系统设置链接

4.单击"系统属性"对话框的"高级"选项卡



5.单击Performance部分中的Settings ...按钮

6.单击Advanced选项卡"性能选项"对话框中的



7。单击虚拟内存部分内的更改...按钮

8.取消选中自动管理所有驱动器的页面文件大小复选框



9。选择自定义尺寸并使用上面显示的计算输入初始尺寸和最大尺寸

10.单击设置按钮



你也可以使用微软工具 -
RAMMAP
,To检查Windows如何分配物理内存,缓存在RAM中的文件数据量,或者内核和设备驱动程序使用多少RAM。然后尝试"清空待机列表"清理备用内存。



备用内存意味着内存不会释放先前加载的内容。这将加速许多程序的开放并增强用户的使用感。



最好的问候,

Drake


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

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.

解决方案

hello,

You can try to set up virtual memory of windows, follow the steps below:

1. Right-click on My PC and select Properties on the context menu that appears.

If yours is win10, Open File Explorer then right-click on This PC and select Properties.

2. Make note of the installed memory (RAM)

3. Click on the Advanced system settings link
4. Click on the Advanced tab of the System Properties dialog box

5. Click on the Settings ... button in the Performance section
6. Click on the Advanced tab of the Performance Options dialog box

7. Click on the Change ... button inside of the Virtual memory section
8. Deselect the Automatically manage paging file size for all drives check box

9. Select Custom size and enter the initial size and maximum size using the calculation shown above
10. Click on the Set button

And you can also use the microsoft tool -- RAMMAP, To check that how Windows is assigning physical memory, how much file data is cached in RAM, or how much RAM is used by the kernel and device drivers. Then try to "Empty Standby List" to Clean up spare memory.

The spare memory means that memory does not release the content previously loaded. This will speed up the opening of many programs and enhance the user's sense of use.

Best Regards,
Drake


这篇关于失败。错误代码1816 - 卸载软件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆