I am trying to update my VS Code but am getting an error message: Updates may fail due to anti virus software and/or runaway processes.
A log file stemming from my Users was attached, but I am not sure what to check for. I am still new to computers and programming.
asked Nov 8, 2020 at 21:28
1
I copied the Code.exe file from where my program was installed and pasted it to the temp map: C:UsersYOUR_USERNAMEAppDataLocalProgramsMicrosoft VS Code
I reran the update and it works.
answered Feb 22, 2021 at 18:27
AventisAventis
1112 silver badges5 bronze badges
Run the update setup file, with a name like «CodeSetup-stable-…exe», in the following location:
C:Users<:User>AppDataLocalTempvscode-update-system-x64
Replace <:User> with your username. And make sure VS Code is closed.
The same problem happened to me as well. It was because I installed VS Code in another directory other than the default location. The problem happened because after downloading the update in the Temp directory, VS Code tried to locate the previous installation in the default location to update it. As it failed, the update setup file remained with the temporary files. The problem was solved by manually installing the update.
answered Oct 14, 2021 at 7:52
This is how I resolved the problem:
- Close VSCode.
- Run VSCode AS ADMINISTRATOR by right clicking in the VS Code icon. This process opens VScode.
- Now run the same VSCODE update as usual from inside VSCode.
- VSCode closes after the update process and the latest VSCODE version is installed.
Nimantha
6,6756 gold badges27 silver badges66 bronze badges
answered May 31, 2022 at 19:29
0
This happens because you installed VSCode in a specific directory, delete and download again but leave the default directory. This is because the update file looks for the default directory
answered Jul 14, 2021 at 16:53
This problem appeared to me because I moved the files of the setup of the vscode from Partition to another, and the solution was very simple. I opened the file that was in the path that appeared in the alert, and the problem was solved.
Just make sure any instance vscode was closed!
answered Aug 27, 2022 at 18:17
I am trying update my VS code but when I click on update it is showing an error stating «Updates may fail due to ant-virus software and/or runaway processes. Please try restarting your machine before attempting to update again. Please read the log file for more information:» and it has a log file extension which I’m unable to find and I tried restarting and then updating, but still didn’t work. So please guide me as to what I should in order to update the VS code. I have an antivirus, is that causing a stoppage to the update of the IDE VS Code.
Moved the question to superuser.com as suggested by j08691.
asked Jul 19, 2020 at 4:32
1
This is certainly caused by your antivirus not liking the VS Code installation.
One known example of such an antivirus is SentinelOne.
You would need to disable the antivirus while you are installing VS code,
but there is no guarantee that it will not later on decide to remove some file
of VS Code.
If you are not obliged to use this antivirus, perhaps you should change to
another one. For example, if you are on Windows, then Windows Defender is
pretty good, and it will never conflict with VS Code.
answered Jul 19, 2020 at 10:09
harrymcharrymc
431k30 gold badges495 silver badges876 bronze badges
it certainly has nothing to do with process or antivirus, I will bring a solution that works both on insiders and on standard Vscode
Copy Code.exe(vscode) or insiders.exe(if you use insiders)
After copying paste into: «C:UsersYOUR_USERNAMEAppDataLocalProgramsMicrosoft VS Code»
If you have trouble finding it, try looking at C:UsersYOUR_USERNAMEAppDataLocalProgramsMicrosoft VS Code In a folder named «_», After this process just restart your Vscode,
Hope this helps😘
Brazilian going
answered Sep 14, 2021 at 13:25
- Remove From My Forums
-
Question
-
Hi
I am running Visual Studio Express 2015 for Windows Desktop on Windows 8.1. I am behind a corporate proxy server.
When I try to install Visual Studio 2015 Update 1 I see this error:
The log file reads:
[2015-12-17T17:45:30]: ================= Microsoft Visual Studio Setup Launcher log ================= [2015-12-17T17:45:30]: Start telemetry session. [2015-12-17T17:45:30]: Commandline arguments: [2015-12-17T17:45:30]: Loaded the config xml file [2015-12-17T17:45:30]: Starting to match bundles on the machine. [2015-12-17T17:45:31]: Found matching bundle wdexpress(Upgrade code: {7D0FA314-5FAB-3F40-961D-FAC2DB7938A1}) from the config xml file. [2015-12-17T17:45:31]: The existing bundle on machine has version: 14.0.23107.10 <snip> [2015-12-17T17:45:31]: Preparing to download [2015-12-17T17:45:31]: Starting to download file http://go.microsoft.com/fwlink/?prd=12514&pver=VS&sbp=d14rel&plcid=0x409&clcid=0x409&ar=24720.00&sar=Update&o1=1033_wdexpress_full_payload to C:UsersdavidAppDataLocalTemp5f6786c3-34a1-440f-a533-0a5c715d62abwdexpress_full.exe. Attempt 1 [2015-12-17T17:45:31]: Error: Failed to add file: http://go.microsoft.com/fwlink/?prd=12514&pver=VS&sbp=d14rel&plcid=0x409&clcid=0x409&ar=24720.00&sar=Update&o1=1033_wdexpress_full_payload to BITs Job. Error code: -2147023651 [2015-12-17T17:45:31]: Starting to download file http://go.microsoft.com/fwlink/?prd=12514&pver=VS&sbp=d14rel&plcid=0x409&clcid=0x409&ar=24720.00&sar=Update&o1=1033_wdexpress_full_payload to C:UsersdavidAppDataLocalTemp5f6786c3-34a1-440f-a533-0a5c715d62abwdexpress_full.exe. Attempt 2 [2015-12-17T17:45:52]: Error: Download was not successful because signature verification failed [2015-12-17T17:45:52]: Starting to download file http://go.microsoft.com/fwlink/?prd=12514&pver=VS&sbp=d14rel&plcid=0x409&clcid=0x409&ar=24720.00&sar=Update&o1=1033_wdexpress_full_payload to C:UsersdavidAppDataLocalTemp5f6786c3-34a1-440f-a533-0a5c715d62abwdexpress_full.exe. Attempt 3 [2015-12-17T17:45:52]: Error: Failed to add file: http://go.microsoft.com/fwlink/?prd=12514&pver=VS&sbp=d14rel&plcid=0x409&clcid=0x409&ar=24720.00&sar=Update&o1=1033_wdexpress_full_payload to BITs Job. Error code: -2147023651
This link advises me to «download the updated installer
version of the same VS product already installed». So I tried downloading Visual Studio Express 2015 for Windows Desktop from
here. I ran the downloaded file and clicked Update but that failed too:How can I successfully install the update?
Best regards
David
-
Moved by
Friday, December 18, 2015 9:10 AM
not VS IDE issue
-
Moved by
Answers
-
Hi David,
>>MicroUpdate 1.1 for Visual Studio 2015 Update 1
This product did not download successfully.
If you search for kb3110221 you will find a link to KB 3110221: Servicing Update to Visual Studio..
On that page there is a working download link and a link to Visual Studio 2015 Update 1 servicing update, which explains
This servicing update provides fixes to Visual Studio 2015 that address four high-impact bugs that were either found by the product team or reported from the community. This update can be installed only on machines that have Visual Studio 2015 Update
1 applied. All four fixes are included in the one update installer and can’t be consumed individually. The fixes that are provided in this update will also be released in the next Visual Studio 2015 update.and
This update is available for manual download and installation from the Microsoft Download Center.
Best Regards,
Wen Xu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.-
Marked as answer by
DavidTML
Thursday, December 24, 2015 11:29 AM
-
Marked as answer by
- Remove From My Forums
-
Вопрос
-
При каждом запуске Visual Studio Code у меня справа внизу всплывает окошко что нужно установить обновление.
Я подтверждаю жму YESlnk
В консоли Visual Studio Code запускается следующая команда.
powershell.exe -NoLogo -NoProfile -Command ‘Install-Module -Name PackageManagement -Force -MinimumVersion 1.4.6 -Scope CurrentUser -AllowClobber’Но она не может выполнится — пишет ошибки.
WARNING: Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’.
PackageManagementInstall-Package : Совпадения для указанных условий поиска и имени пакета «PackageManagement» не найдены.
Чтобы просмотреть все доступные зарегистрированные источники пакетов, используйте командлет Get-PSRepository.lnk2
Подскажите как это можно подлечить исправить?
-
Изменен тип
3 ноября 2020 г. 15:05
-
Изменен тип
Alexander RusinovModerator
25 декабря 2020 г. 10:45
Вопрос
-
Изменен тип
Ответы
-
В общем вроде как нашел решение.
У меня была windows LTSB какаято 2016-го года.
Обноивил ее до LTSC какойто версии 2019 года.
После этого комманда установки PackageManagemen выполнилась без ошибок. И проблема решилась.
-
Помечено в качестве ответа
Alexander RusinovModerator
25 декабря 2020 г. 10:45
-
Помечено в качестве ответа