如果您在运行特定应用程序或尝试使 PC 进入睡眠或休眠状态时在 Windows 10 设备上遇到0x00000667、ERROR_INVALID_COMMAND_LINE Argument stop 错误代码(stop error code),您可以放心,您来对地方解决此问题。在这篇文章中,我们将概述蓝屏(Blue Screen)错误的可能原因,并提供最合适的解决方案,您可以尝试让您的 PC 恢复并以最佳状态运行。
0x00000667
ERROR_INVALID_COMMAND_LINE
Invalid command-line argument. Consult the Windows Installer SDK for detailed command line help.
由于以下一种或多种(但不限于)已知原因,您可能会遇到BSOD错误;(BSOD)
- 第三方安全软件冲突。
- 虚拟化冲突。
- BIOS / UEFI禁用虚拟化。
- 英特尔 HAXM(Intel HAXM)(硬件加速执行管理器(Hardware Accelerated Execution Manager))安装丢失或过时。
- Windows安装程序已部分注销。
- Windows Installer服务已禁用。
0x00000667,无效的命令(Invalid Command)行参数蓝屏(Argument Blue Screen)
如果您遇到此问题,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 禁用/卸载第 3 方安全软件(如果适用)
- 禁用 Hyper-V(如果适用)
- 从BIOS或UEFI启用虚拟化技术(Virtualization Technology)
- 安装英特尔 HAXM(如果适用)
- 注销并重新注册 Windows Installer(Re-register Windows Installer)服务
- 启用Windows 安装程序(Windows Installer)服务
- 执行系统还原
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
如果能正常登录就好了;否则,您必须 启动进入安全模式(boot into Safe Mode),进入 高级启动选项屏幕(Advanced Startup options screen),或 使用安装媒体启动(use the Installation Media to boot) 才能执行这些说明。
1]Disable/Uninstall第3方安全软件(如果适用)
在调查过程中,发现在 Windows 10 设备上安装了AVAST、AVG等第三方杀毒软件的 PC 用户受到了影响。在这种情况下,可以通过使用专用删除工具(removal tool)从您的 PC 中删除任何第三方防病毒程序来删除与您的防病毒程序关联的所有文件,从而解决该问题。原因是,使用制造商提供的 AV 程序的自定义卸载工具(如果可用)更有效和更具侵入性,每当卸载防病毒软件时,因为存在注册表和依赖项,安装在传统控制面板(Control Panel)卸载程序的操作系统深处(appwiz.cpl) 在大多数情况下可能会丢失。
如果删除防病毒软件修复了此错误,您现在可以再次安装相同的防病毒软件,或者您可以切换到替代软件,或者最好仍然坚持使用Windows 10原生 AV 程序 - Windows Defender。
2]禁用Hyper-V(如果适用)
如果您正在运行基于 Android 的模拟器,或者您在 Windows 10 设备上安装了Virtualbox和VMWare等虚拟机软件,则很可能与Windows计算机上默认启用的 Hyper-V 服务发生冲突。在这种情况下,您可以禁用Hyper-V,然后重新启动计算机。
要禁用Hyper-V,请执行以下操作:
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入
appwiz.cpl
并按 Enter 以打开“程序和功能(Programs and Features )”小程序。 - 在窗口的左侧,单击打开或关闭 Windows 功能(Turn Windows features on or off )链接。
- 扩展 Hyper-V,扩展 Hyper-V 平台(Hyper-V Platform),
- 清除Hyper-V Hypervisor复选框,或者您可以取消选中父Hyper-V文件夹。
3]从BIOS或UEFI启用虚拟化技术(Virtualization Technology)
如果您在使用某种使用虚拟化技术的应用程序时遇到此问题,则可能会遇到此BSOD错误,因为 您的BIOS中禁用了SVM(安全虚拟机)(SVM (Secure Virtual Machine)) 或 Intel 的等效设备(Intel VT-X / Intel Virtualization)或UEFI设置。在这种情况下,您应该能够通过在 Windows 10 设备上启用虚拟化技术来解决问题。(enabling the virtualization technology)
4 ] 安装英特尔 HAXM(] Install Intel HAXM)(如果适用)
运行Android Emulator(Android Emulator)(如BlueStacks或Nox )的 PC 用户在测试仍处于开发模式的应用程序时,最有可能遇到此BSOD错误。在这种情况下,您可以通过直接下载(downloading)并安装(具有管理员权限)英特尔 HAXM(Intel HAXM)(仅适用于您的 PC 使用英特尔的虚拟化(Virtualization)技术- 英特尔 VT(– Intel VT))或使用SDK Manager来解决问题。
5]启用(Enable)Windows(Windows Installer) Installer服务
如果它被禁用,您可能需要启用 Windows Installer 服务(enable the Windows Installer service)并查看是否对您有帮助。
6]注销(Unregister)并重新注册Windows Installer(Re-register Windows Installer)服务
如果您在尝试使用Windows Installer安装新程序或使用组件Windows Installer SDK时遇到(Windows Installer SDK)BSOD错误,您可以通过暂时取消注册Windows Installer组件然后重新注册服务来解决此问题。
请执行下列操作:
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入
cmd
然后按CTRL + SHIFT + ENTER以在管理员模式下打开命令提示符(open Command Prompt in admin mode)。 - 在命令提示符窗口中,键入以下命令并按Enter以暂时取消注册Windows Installer服务:
msiexec /unreg
- 成功处理命令并收到成功消息后,输入以下命令并按Enter 再次注册Windows Installer:
msiexec /regserver
成功处理第二个命令后,再次重新启动计算机,并重复先前导致错误的操作,看看问题是否已解决。如果没有,请尝试下一个解决方案。
7]执行系统还原
如果您最近才开始收到此蓝屏(Blue Screen)死机(Death)错误,则可能是最近的软件更改实际上触发了此错误代码。如果您无法查明潜在的罪魁祸首,那么无需进行全新安装即可解决问题的最佳选择是执行系统还原。
这些解决方案中的任何一个都应该适合您。
Fix 0x00000667, Invalid Command line Argument BSOD error
If you have encountered the 0x00000667, ERROR_INVALID_COMMAND_LINE Argument stop error code on your Windows 10 device when running a particular application or when attempting to put the PC to sleep or hibernation, you can rest assured you’re at the right place to resolve this issue. In this post, we will outline the possible causes of the Blue Screen error as well as provide the most suitable solutions you can try to get your PC back and running in tiptop shape.
0x00000667
ERROR_INVALID_COMMAND_LINE
Invalid command-line argument. Consult the Windows Installer SDK for detailed command line help.
You might encounter the BSOD error due to one or more (but not limited to) of the following known causes;
- Third-party security software conflict.
- Virtualization conflict.
- Virtualization is disabled from BIOS / UEFI.
- Intel HAXM (Hardware Accelerated Execution Manager) installation is missing or outdated.
- Windows installer is partially de-registered.
- Windows Installer service is disabled.
0x00000667, Invalid Command line Argument Blue Screen
If you’re faced with this issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Disable/Uninstall 3rd-party security software (if applicable)
- Disable Hyper-V (if applicable)
- Enable Virtualization Technology from BIOS or UEFI
- Install Intel HAXM (if applicable)
- Unregister and Re-register Windows Installer service
- Enable the Windows Installer service
- Perform System Restore
Let’s take a look at the description of the process involved concerning each of the listed solutions.
If you can log in normally, good; else you will have to boot into Safe Mode, enter Advanced Startup options screen, or use the Installation Media to boot to be able to carry out these instructions.
1] Disable/Uninstall 3rd-party security software (if applicable)
During the course of investigating, it was discovered that PC users that had 3rd-party antivirus software like AVAST, AVG installed on their Windows 10 devices were affected. In this case, the issue can be resolved by removing any third-party antivirus programs from your PC using the dedicated removal tool to remove all files associated with your antivirus program. The reason is, it’s much more efficient and invasive to use the custom uninstall tools for the AV program from the manufacturer, if available, whenever uninstalling antivirus software, as there are registries and dependencies, installed deep within the OS which the traditional Control Panel uninstaller (appwiz.cpl) might miss in most cases.
If removing the antivirus fixes this error, you can now install the same antivirus again, or you can switch to an alternative software or better still stick to Windows 10 native AV program – Windows Defender.
2] Disable Hyper-V (if applicable)
If you’re running an Android-based emulator or you have virtual machine software like Virtualbox and VMWare installed on your Windows 10 device, it’s very possible that it’s conflicting with the Hyper-V service that’s enabled by default on your Windows computer. In this case, you can disable Hyper-V and then restart your computer.
To disable Hyper-V, do the following:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type
appwiz.cpl
and hit Enter to open the Programs and Features applet. - In the window, on the left side, click the Turn Windows features on or off link.
- Expand Hyper-V, expand Hyper-V Platform,
- Clear the Hyper-V Hypervisor check box or you can just uncheck the parent Hyper-V folder.
3] Enable Virtualization Technology from BIOS or UEFI
If you’re encountering this problem when using some kind of application that uses virtualization technology, it’s possible to encounter this BSOD error because SVM (Secure Virtual Machine) or Intel’s equivalent (Intel VT-X / Intel Virtualization) is disabled in your BIOS or UEFI settings. In this case, you should be able to fix the problem by enabling the virtualization technology on your Windows 10 device.
4] Install Intel HAXM (if applicable)
PC users running Android Emulator like BlueStacks or Nox when testing apps that are still in development mode, are most likely to encounter this BSOD error. In this case, you might be able to fix the problem by downloading and installing (with admin privilege) Intel HAXM (only applicable if your PC is using Intel’s Virtualization technology – Intel VT) directly or using SDK Manager.
5] Enable the Windows Installer service
If it is disabled, you might want to enable the Windows Installer service and see if that helps you.
6] Unregister and Re-register Windows Installer service
If you’re encountering the BSOD error when attempting to install a new program using Windows Installer or when using a component Windows Installer SDK, you might be able to fix the problem by temporarily unregistering the Windows Installer component then re-registering the service again.
Do the following:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type
cmd
and then press CTRL + SHIFT + ENTER to open Command Prompt in admin mode. - In the command prompt window, type the command below and hit Enter to temporarily unregister the Windows Installer service:
msiexec /unreg
- Once the command is processed successfully and you get the success message, input the following command and hit Enter to register the Windows Installer once again:
msiexec /regserver
After the second command is processed successfully, restart your computer once again, and repeat the action that was previously causing the error and see if the issue is resolved. If not, try the next solution.
7] Perform System Restore
If you only started getting this Blue Screen of Death error recently, it’s likely that a recent software change is actually triggering this error code. If you can’t pinpoint a potential culprit, your best option at getting the issue fixed without having to do a clean install is to perform System Restore.
Any of these solutions should work for you.