“在设置可以继续之前需要重新启动计算机”。尝试卸载Visual Studio 2015社区时出现错误消息 [英] "The computer needs to be restarted before setup can continue" message appears when attempting to uninstall Visual Studio 2015 Community

查看:691
本文介绍了“在设置可以继续之前需要重新启动计算机”。尝试卸载Visual Studio 2015社区时出现错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经有这个问题了几天了。它开始时我不得不卸载VS,因为我试图安装与Visual C ++相关的东西(我不记得它究竟是什么,但我认为它与Rust语言有关)。
之后,我尝试重新安装并且它有效,但现在我必须再次卸载它,因为我的VS已损坏,出于某种原因。当我尝试卸载它时,"计算机需要重新启动..."出现标题中的错误消息。我已经尝试多次重启
,我不想只是为了解决这个问题而进行系统还原。我该如何解决此问题?


这是我单击"检查日志时出现的日志文件"文件。"




解决方案

您好SyscalineGaming,


感谢您在MSDN论坛上发帖


我只需检查您链接的日志,找到以下几条错误消息:


>> [3F8B8:43278] [2017-02-10T17:55:54] i000: 找不到注册表项。 Key ='SOFTWARE\Microsoft \DevDiv \VC \Servicing\14.0\Tools.X64.Base';变量='VC_Tools_X64_Base_DetectKeyExists'

b

根据日志,找不到某些注册表项,通常,卸载VS的前提条件是确保VS安装包和注册表钥匙完全保留在您的机器上。


我建议你去控制面板 - 程序和功能,找到'Microsoft Visual Studio 2015',右键单击它并在修复后首先选择'修复' ,尝试卸载它, 

你也可以使用
Visual Studio卸载程序
 
干净地卸载整个VS.


最好的问候,


I've had this problem for a couple days now. It started when I had to uninstall VS because I was trying to install something related to Visual C++ (I don't remember exactly what it was, but I think it had something to do with the Rust language). After that, I tried reinstalling and it worked, but now I have to uninstall it again because my VS is corrupted, for some reason. When I try to uninstall it, the "Computer needs to be restarted..." error message in the title appears. I've tried restarting many times, and I don't want to have to do a System Restore just to fix this one thing. How would I go about fixing this issue?

Here's the log file that appears when I click "examine the log file."


解决方案

Hi SyscalineGaming,

Thank you for posting in MSDN forum

I just checked the log you linked, find several error message as below:

>>[3F8B8:43278][2017-02-10T17:55:54]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\Tools.X64.Base'; variable = 'VC_Tools_X64_Base_DetectKeyExists'

According to the log, some registry key couldn't be found, commonly, the precondition for uninstalling the VS is ensure the VS install packages and registry keys are remaining completely on your machine.

I suggest you go to Control Panel—Programs and Features, find ‘Microsoft Visual Studio 2015’, right click it and choose ‘Repair’ firstly, after the repair, try to uninstall it,  You could also use Visual Studio Uninstaller to uninstall the Whole VS cleanly.

Best Regards,


这篇关于“在设置可以继续之前需要重新启动计算机”。尝试卸载Visual Studio 2015社区时出现错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆