-
Notifications
You must be signed in to change notification settings - Fork 6.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
PowerToys update restarted PC without prompting! Lost work!! 😡 #16252
Comments
Maybe been the .net runtime requirement caused it since I know that was via windows update. but powertoys itself won’t require an update first we’ve heard of this. |
This just happened to me too, event viewer confirmed that the reason was the runtime update:
|
It has happened to a another colleague at my company as well, but on first install rather than update. |
It happened to me too. |
If there is any risk of this happening, can we extend the requirement and also demand that it must display "this may require a system reboot" near the Update button, even before it's pressed rather than accepting it if there is a "prompt"? (Especially if this is caused by a transitive dependency like .NET as someone may be behind on updates and we need to be sure there's no possible combination under which the reboot occurs.) Further, it's a shame that the |
@crutkas I can see we're using |
Ideally, it would be good to have it prompt if a restart is needed and still have quiet work. |
This could break the Chocolatey (and possibly Winget) packages. The Chocolatey package relies on the silent switch to make the entire installation possess silent. |
We could leave the |
I had it happen on my personal PC on latest Win11 & on my work PC, which is still Win10 |
the runtime update that triggered this is a mess... not only is it causing this issue in PowerTools, since then the Bing Spotlight is nothing but a static image of some wavy blue lines on Windows 11 and that picture of a hiker by a mountain lake on Windows 10... only other thing I've noticed so far is that the Explorer preview pane closed and I had to look up the keyboard shortcut to get it back (the Explorer menus & right-click menus in Win11 are also a disaster, but that's been since the upgrade from 10, not caused by this... e.g. where is the setting to always "Show More Options" on right-click, since I use that context menu all the time and in 2 months of Win11, I've had maybe once or twice where what I needed wasn't hidden) |
Note that this just happened to me when updating to v0.56.2 which presumably already includes the |
OMG that's too wired. /needinfo |
The bug report zip contains too many details to post publically. Can I send it privately or just send the required files? Note that the files under the 'UpdateLogs' folder don't contain much. I've attached the latest: |
Note that the event log message implies that Power Toys setup initiated the restart rather than the dotnet installer:
Also, the latest dotnet runtimes were already installed prior to running this this update. |
Maybe this line is relevant:
|
Note also that after the forced reboot the
|
I have the exact same issue as dsparkplug. Same restart without warning after update from 0.56.1 to 0.56.2, same event log message indicating it was |
Wow yeah, exact same problem. No fix or moratorium on updates? Guys set up a pitfall and are just letting people walk into it. |
The file should no longer be locked when updating from 0.56.2 to the next version. |
In #17255 we've added a flag so that when we run the installer to update in passive mode it doesn't restart automatically. This will only be applied when >=0.57 tries to update, though. |
just got the update to 0.57.2 and again it auto-rebooted without warning... dunno what version the fix is planned for, but for something this serious, it's ridiculous that it didn't go in the next hotfix, and that after 5 weeks it's still not in the release |
Hi @af4jm , From the logs you updated from 0.56.2 to 0.57.2.
|
This just happened to me too whilst I was also mid graphics driver upgrade. Luckily it didn't corrupt anything but could have ended badly. There really should be some warning that an unprompted restart could occur when upgrading powertoys. |
@Waseemilyas where did you install this from? i know store we haven't pushed the new flags live |
It happened to me too. v0.59.0.
|
This issue is now marked as closed, but it still happens. Is the issue in the uninstaller of the old version? |
The issue is in the version that's trying to run the update, that doesn't pass "/norestart" to the installer. |
Just had a forced reboot on a fresh install of |
We don't manage the package on chocolatey. It doesn't pass the |
Thanks for your quick response. I've requested the change to the maintainers of the package. See linked issue above ^ |
this just happened on the latest update, seriously not okay |
How did you install PowerToys? Over WinGet, over our installer, or sonething else? |
@Aaron-Junker update from either 5.2 or 5.5 (I don't remember) from the PowerToys update prompt I gather it's been fixed since 🙏 |
Relying on the outdated version being up to date enough to not randomly, with no prompt, destroy the user's data with a reboot doesn't seem optimal. Just lost hours of work, thanks 😮💨. Next time, please at least add a prompt to confirm the reboot |
We are working on fully self containing the runtimes. Currently they are what is forcing the restarts. We pass in no restart flags to their installers. For 0.63 we put two as self contained and working on the third (.NET) now |
Microsoft PowerToys version
0.55.2
Running as admin
Area(s) with issue?
General
Steps to reproduce
✔️ Expected Behavior
If PowerToys update requires the PC to restart, it should prompt and wait for the user to agree to proceed.
❌ Actual Behavior
The PC restarted with no prompt or warning, and I lost a good deal of work.
Other Software
No response
The text was updated successfully, but these errors were encountered: