-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code was lost on shutdown with pending update #52855
Comments
@manglobe What are your machine specs? Is your system managed by a company/administrator? |
My system managed by myself |
Let's try to detect if the system is about to be shutdown, we don't do anything. |
Sounds like you told it to install the patch "Later". So after the reboot it messed up patching. I've had this happen to me about 2-3 times now. Except I tell it to update immediately, it gets halfway and then fails.
|
@gmariani You seem to have #47841. Please read this comment if you can provide more detail: #47841 (comment) Please read this one to disable background updates: #47841 (comment) Also read this one to provide feedback on our new user setup: #47841 (comment) |
@joaomoreno |
Hey @joaomoreno, I've also faced the problem when VS Code decided to update on Windows shutdown, which resulted in the next boot having no VS Code installed on the system. Had to download and install it again 😢 |
I just had this issue also. Visual Studio wanted to update on Windows shutting down. Now there is no VS Code installed on the computer.
Edit: After reinstalling VS Code to same directory all my extensions are working and code I was working on last loaded right where I left off thankfully... 😅 |
Happened to me today. |
Happened to me as well. My issue was that I needed to restart VS because I was (I think) having Typescript issues. I closed it, and restarted it (apparently too fast because the old process was still running) and boom, it was gone (no machine restart). |
Same thing happend to me. |
Same here, I received a warning on exit that it was unable to update due to some locked file. Tried the "try again" button twice and then pressed "Cancel". After that, no VS Code on my computer anymore. |
Similar issue yesterday. Vscode wanted to update an automatic update, computer slowed down to a halt for a second, update failed and rebooted explorer.exe. Now vscode is no longer on my system. vscode-inno-updater-1566340881.log
Then it ends there |
This also happened to me today |
happened to me as well |
+1 |
2 similar comments
+1 |
+1 |
+1 Win 11 gone after restarting my laptop |
+1 |
+1 win11 |
+1 win11 . |
+1 December 2024 VS Code Self Destruct |
This is the second time I've started my Windows 11 laptop and VS Code has disappeared. Any chance of getting this fixed? |
Happened to me as well. What the heck...I'm seriously questioning if my computers want to convince me to finally quit programming. 🌪️ |
I've only just started. Just finished SQL, but this is not helpful for the Python learning process. "oh just reinstall it every time you need to practice!" |
+1 win 11 |
+1 on win 11. +1 WSL Ubuntu 24.04. When I run |
+1 on windows 10. what do we do? do we simply download again? |
+1 Windows 11/ WSL Ubuntu 24.04 |
+1 Windows 11 and WSL Ubuntu 22.04 fixed it as described here: #52855 (comment) |
Happened again for other dev. Is anyone working on this? It has been almost 7 years and this is happening more frequently, or that it's what it seems. |
My VScode disappeared from my Laptop after a shut down today. |
This happened to me for the first time 2 hours ago. |
Happened to me for the first time just now. |
@mrankine @jgregg113 Just happened to me today for the first time too. This Stack Overflow question helped me find out that the program is still on my computer, but moved to a new location for some reason. Mine was in I don't know whether to move it somewhere else, re-install, or what. Edit: My SolutionOpened VS Code from this folder, made sure my settings were synced to the cloud, then uninstalled/deleted all the files and reinstalled VS Code. Also possibly related somehow: I had to re-add Python to my PATH user environment variables. |
happened to me just now. i turned on my pc and it is gone. Solutions:
Future Fix.
|
Hey! I just had this issue today. I think I found the issue? I had the _ subfolder. I followed cloudoftg0's solution and it worked. I opened up VSCode, and saw there was an update. I updated it while keeping the File Explorer window open to see if the _ folder returns. And it did! For a brief second. I think it's a sort of staging area for the files while the updates apply themselves before deleting itself? I think the updated got stuck half way, copied everything over but didn't trigger the second state of returning the files and deleting itself. |
It was the second time ,it happend.
I download VScode's update patch when I was coding , and then shut down the computer and forgot to update it.
Next day I turn the computer on and can't find VScode anywhere , all the file was empty.
The text was updated successfully, but these errors were encountered: