本文介绍了无法卸载Visual Studio 2015(存储控制块已损坏)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我想使用"vs_enterprise.exe/uninstall/force"强制卸载VS2015 Enterprise,但收到错误消息:

So I wanted to force an uninstallation of VS2015 Enterprise with "vs_enterprise.exe /uninstall /force", but I get an error message:

Update for Microsoft Windows (KB2999226) : The storage control blocks were destroyed.

我试图重新启动PC,以便Windows可以应用该更新,但是它不起作用,卸载过程始终会退出并显示该错误.

I tried to restart my PC, so that Windows can apply that update, but it didn't work, the uninstall process always exits with that error.

我不知道如何进行.

推荐答案

当我尝试卸载Visual Studio 2015 Community Edition时,我首先进入控制面板">程序和功能",然后尝试以这种方式进行卸载.

When I tried to uninstall Visual Studio 2015 Community Edition I first when to the Control Panel > Programs and Features, tried to uninstall it that way.

然后找到以下链接:强制卸载Visual Studio 2015预览或发布候选版本

Then found the following link:force uninstall a visual studio 2015 preview or release candidate

然后导航到C:\ProgramData并键入:

它生成了以下有用的路径信息:
C:\ProgramData\Package Cache\{50b32652-69d2-4b93-9316-edcd12067b8b}

It generated this useful path info:
C:\ProgramData\Package Cache\{50b32652-69d2-4b93-9316-edcd12067b8b}

然后使用Windows资源管理器转到该文件夹​​Shift + Right Click > Open command window here并运行:

Then used Windows Explorer to go to that folder, Shift + Right Click > Open command window here and ran:

很长一段时间后,我得到了这个错误屏幕...

I then got this error screen after a LONG time...

然后看到了以下问题:
删除卸载后遗留的Visual Studio组件

Then saw the below question:
removing visual studio components left behind after an uninstall

所以我尝试运行:

它最终挂起,大约半小时后我强行退出.然后我跑了:

It ended up hanging and I force quit it after about a half hour. Then I ran:

这一次,我检查了错误日志,发现下面一行非常靠近底部.
Applying execute package: Windows7_MSU_x64, action: Uninstall, path: 2999226, arguments: '"C:\windows\SysNative\wusa.exe" /uninstall /kb:2999226 /quiet /norestart'

This time I checked the error log, and found the following line very near the bottom.
Applying execute package: Windows7_MSU_x64, action: Uninstall, path: 2999226, arguments: '"C:\windows\SysNative\wusa.exe" /uninstall /kb:2999226 /quiet /norestart'

由于错误,我必须安装KB2999226更新:
Update for Microsoft Windows (KB2999226) : The storage control blocks were destroyed.

Thought I had to install the KB2999226 update because of the error:
Update for Microsoft Windows (KB2999226) : The storage control blocks were destroyed.

所以我安装了它,但是vs_community.exe仍然不会强制卸载.我可能已经安装了更新,但是由于我的windowsupdate.log文件仅返回了一个月左右而无法找到?无论如何,我安装的更新可能没有任何改变.

So I installed it, but vs_community.exe still wouldn't force uninstall. I probably already had the update installed, but can't find out because my windowsupdate.log file only goes back a month or so? Anyhow, my installing of the update probably didn't change anything.

根据以下文章:
系统文件夹64位窗口
文件系统重定向器-MSDN

According to the following articles:
sysnative folder 64 bit windows
File System Redirector - MSDN

Windows7_MSU_x64试图进入C:\Windows\System32文件夹,但是由于我有64位版本的Windows 7,因此它试图进入C:\windows\SysNative文件夹,因为它是自动重定向到真正的System32文件夹.由于某些原因,我没有SysNative文件夹,所以...

The Windows7_MSU_x64 was trying to get to the C:\Windows\System32 folder, but because I have a 64-bit version of Windows 7, it was trying to reach the C:\windows\SysNative folder, because it is an auto-redirect to the real System32 folder. For some reason I don't have a SysNative folder, so...

然后我转到Windows Update并卸载了KB2999226更新,并返回到:
C:\ProgramData\Package Cache\{50b32652-69d2-4b93-9316-edcd12067b8b}

I then went to Windows Update and uninstalled the KB2999226 update and went back to:
C:\ProgramData\Package Cache\{50b32652-69d2-4b93-9316-edcd12067b8b}

再次运行以下内容:

这一次它起作用了,我得到了屏幕:

This time it worked and I got the screen:

这篇关于无法卸载Visual Studio 2015(存储控制块已损坏)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 08:45
查看更多