-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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 |
When will this issue be solved? Hehe |
I encountered a similar problem: following a system restart for a Windows update, I launched VS Code, only to find it had mysteriously disappeared.😟 Consequently, I had to undertake the task of re-downloading and reinstalling it. |
Same thing just happened to me. Need to uninstall and reinstall in a restricted environment (where I have to bother a system admin to do it). Seems that there should be a better way of handling updates. |
Same happened here. I'm using the new app location to launch it, but seems weird. It would be great to get a response. |
Just happened to me as well with the "code.exe" shortcut has been changed or moved error message. Looked in the C:\Users{username}\AppData\Local\Programs\Microsoft VS Code_ and found the app like above and opening it from there worked OK. Do not recall a restart for Windows updates or forcing a shutdown. |
Thist just happened to me (and it is already the second time). |
Still happening |
Same here. |
Happened for me too today. |
Yup, just happened to me as well. |
Happened again today |
I ran into same issue today. Thankfully, reinstalling it restores it to last known state so that's one good thing, but surely would appreciate if it was fixed, especially since it's been known for almost 6 years now. |
And again (: |
I encountered the issue today and the above solution worked for me. I just copied |
Happened to me today. |
Just had this issue today. I opened VS Code, dragged in a folder from my OneDrive where I wanted to search in some old code, didn't find what I was looking and closed VS Code again. A system dialog appeared but I hit ESC too fast and now VS Code is gone. After re-installing it, all the extensions and settings were still there, so no big loss. Microsoft Windows 11 Pro |
Happened for at least 3 developers in company this last 2 weeks. VScode just dissapeared after some update. They had to reinstall vscode, extensions & settings recovered. Please, this is not serious... |
This has happened to me on macOS Sonoma for the last 6 updates! |
This just happened to me on Windows 11 x64, even the installer crashes now. |
WTF, this also happened to me today |
I was updating Windows 11, then on restart no VS Code |
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 |
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: