[VMWare]删除不清vmware导致安装注册表报错

当VMWare卸载不彻底,注册表中残留信息会导致安装时出现错误。一种解决方法是参照网址https://wiki.mcneel.com/rhino/error1402提供的方案,该方案虽然针对Rhino,但原理类似。关键步骤涉及修改注册表中UserData的权限,某些教程可能提及但执行时会遇到权限问题。使用PsExec工具可以有效地解决这个问题,实现注册表权限的成功修改。
摘要由CSDN通过智能技术生成

如题,遇到这种情况,注册表会不断报错,解决办法试过很多,都不能一劳永逸.后来发现了一个网址:

https://wiki.mcneel.com/rhino/error1402

虽然不是针对vmware的,但是原理相同.

    Download PsExec from Microsoft TechNet, and extract the contents to your desktop.
    Open a Windows command shell.
    Change directories to your desktop.
    In the command shell, enter psexec -i -d -s c:\windows\regedit.exe. This causes Windows to run the registry editor with the permissions of the System account – an account even more powerful than Administrator.
    Browse to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\
    Right-click the UserData folder, then click Permissions…
    In the Permissions for UserData dialog box, click Advanced.
    Be sure that Administrators has Full Control permissions in this folder, and that Users has Read permissions. There will be other user permissions, too, but Administrators and Users are what matter most.
    Select the Replace all child object permissions with inheritable permissions from this object.
    Click OK twice to apply permissions.
    Install Rhino again.

 核心是修改注册表UserData的权限,有些教程也提到,但是会报错.必须用上PsExec工具才能修改成功.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值