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

阅读更多

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

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工具才能修改成功.

你可能感兴趣的:(vmware)