Use msiexec to uninstall a product

当通过常规方式无法卸载软件时,本文介绍了一种利用msiexec命令来强制卸载指定产品的技巧。例如,如果要卸载的产品其GUID为{5172A37F-D2B8-45D2-B5AB-F4802BA6BE47}

Sometimes it will fail to uninstall a product via Add/Remove program, when you encounter this and has no way to uninstall the product completely, you can try this command to make it.

 

For example, the GUID of the product you want to uninstall is {5172A37F-D2B8-45D2-B5AB-F4802BA6BE47}, then you can run below line to uninstall your product.

 

msiexec /x {5172A37F-D2B8-45D2-B5AB-F4802BA6BE47}

已启动脚本,输出文件为 C:\Users\ar_01\Downloads\script_log.txt Dell SupportAssist OS Recovery Plugin for Dell Update use '"C:\ProgramData\Package Cache\{d0ab664c-e704-4396-b9bc-ad1a7327731f}\DellUpdateSupportAssistPlugin.exe" /uninstall' PS>TerminatingError(Start-Process):“由于出现以下错误,无法运行此命令: 参数错误。。” Start-Process : 由于出现以下错误,无法运行此命令: 参数错误。。 所在位置 C:\ArbinSoftware\MITS_PRO\Help\unistall-dell.ps1:27 字符: 5 + Start-Process -FilePath "$uninst" -ArgumentList "/S" -Wait -NoNew ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process],InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand Start-Process : 由于出现以下错误,无法运行此命令: 参数错误。。 所在位置 C:\ArbinSoftware\MITS_PRO\Help\unistall-dell.ps1:27 字符: 5 + Start-Process -FilePath "$uninst" -ArgumentList "/S" -Wait -NoNew ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process],InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand Dell SupportAssist OS Recovery Plugin for Dell Update use '"C:\ProgramData\Package Cache\{d0ab664c-e704-4396-b9bc-ad1a7327731f}\DellUpdateSupportAssistPlugin.exe" /uninstall' PS>TerminatingError(Start-Process):“由于出现以下错误,无法运行此命令: 参数错误。。” Start-Process : 由于出现以下错误,无法运行此命令: 参数错误。。 所在位置 C:\ArbinSoftware\MITS_PRO\Help\unistall-dell.ps1:27 字符: 5 + Start-Process -FilePath "$uninst" -ArgumentList "/S" -Wait -NoNew ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process],InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand Start-Process : 由于出现以下错误,无法运行此命令: 参数错误。。 所在位置 C:\ArbinSoftware\MITS_PRO\Help\unistall-dell.ps1:27 字符: 5 + Start-Process -FilePath "$uninst" -ArgumentList "/S" -Wait -NoNew ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process],InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand 分析原因
最新发布
10-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值