码迷,mamicode.com
首页 > 系统相关 > 详细

无法删除VMware旧版本,请与技术小组联系

时间:2019-09-11 21:57:44      阅读:454      评论:0      收藏:0      [点我收藏+]

标签:microsoft   清理   exist   文件后缀名   安装   product   注册   soft   rod   

  • 问题:把文件夹清理了n遍,却无法重装VMware,报错如标题。
  • 原因:相关注册表没删完。
  • 解决办法:

    - 1.创建一个.txt文本

    - 2.将下面的内容复制到.txt文本中:

echo off

cls 

echo "flag">>%windir%\system32\test.log

if not exist %windir%\system32\test.log (

cls 

echo 请右键使用管理员身份运行!!!

pause

exit

)

cls 

echo. 确认进行清理?

pause 

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc." /f >nul 2>nul

reg delete "HKEY_CURRENT_USER\SOFTWARE\VMware, Inc." /f >nul 2>nul 

reg delete "HKCR\Installer\Products\7A26F0EA2A1AF704F9C48439B99DDAD8" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\0C6B325AF07E1AF439D3AD4079F106F7" /f  >nul 2>nul

reg delete "HKCR\Installer\Products\A57F49D06AE015943BFA1B54AFE9506C" /f  >nul 2>nul 

reg delete "HKCR\Installer\Features\7A26F0EA2A1AF704F9C48439B99DDAD8" /f  >nul 2>nul 

 

reg delete "HKCR\Installer\Features\7A79579133DA8984D9E8376086814B46" /f  >nul 2>nul 

reg delete "HKCR\Installer\Features\A116201D664610145AD115603930CA56" /f  >nul 2>nul 

reg delete "HKCR\Installer\Features\BC78C1BA70810FC44B2CEC1EC481DC4B" /f  >nul 2>nul 

reg delete "HKCR\Installer\Features\C3839DFF5D1079849A4534FA95A9DE03" /f  >nul 2>nul 

reg delete "HKCR\Installer\Features\DBBFB30076C6E9142AD4D0ACCFA32594" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\7A79579133DA8984D9E8376086814B46" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\A116201D664610145AD115603930CA56" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\BC78C1BA70810FC44B2CEC1EC481DC4B" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\C3839DFF5D1079849A4534FA95A9DE03" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\DBBFB30076C6E9142AD4D0ACCFA32594" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\7A26F0EA2A1AF704F9C48439B99DDAD8" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\7A79579133DA8984D9E8376086814B46" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\A116201D664610145AD115603930CA56" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\BC78C1BA70810FC44B2CEC1EC481DC4B" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\C3839DFF5D1079849A4534FA95A9DE03" /f  >nul 2>nul 

reg delete "HKCR\Installer\Products\DBBFB30076C6E9142AD4D0ACCFA32594" /f  >nul 2>nul

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\7A26F0EA2A1AF704F9C48439B99DDAD8" /f >nul 2>nul

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\7A79579133DA8984D9E8376086814B46" /f >nul 2>nul

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\A116201D664610145AD115603930CA56" /f >nul 2>nul

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\BC78C1BA70810FC44B2CEC1EC481DC4B" /f >nul 2>nul

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\C3839DFF5D1079849A4534FA95A9DE03" /f >nul 2>nul

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\DBBFB30076C6E9142AD4D0ACCFA32594" /f >nul 2>nul

echo 清理完成!

pause 

    - 3.将.txt文件后缀名改为.bat

    - 4.以管理员身份运行该.bat文件

    - 5.尝试再次重装VMware

    - 6.若成功安装,删除该.bat文件;若失败,继续百度别的方法。

无法删除VMware旧版本,请与技术小组联系

标签:microsoft   清理   exist   文件后缀名   安装   product   注册   soft   rod   

原文地址:https://www.cnblogs.com/VCplus/p/11508781.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!