-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
After the windows 10 updates, all shortcuts of scoop will disappear. #3941
Comments
Known issue. #2233 |
@h404bi Thanks and So we should type and execute this command every time after the Windows 10 updates? I'm an Insider Preview user so I must type this command every week to keep scoop shortcuts alive. scoop reset *
|
I'm doing a test on whether the Junction Point is the key reason that Windows will delete the shortcuts. As the image shows above, I've made a test folder in the Wait for the Insider's update next week, and I'll find that whether if it is a Windows shortcut bug. |
A whole week passed with an Insider's update restart, and I've got the answer: The shortcut will disappear when the shortcut is linked to a file that is in a Junction Point. This is the screenshot after the Windows Update, comparing to the one 6 days ago which is posted above. So this issue can be closed as I'll report this issue as a Windows Bug. |
@walterlv Thank you for your investigations and reports, which are really helpful. |
Will the problem persist if symbolic link is used instead of junction when linking current? |
@archit9169 I'll do another test for that and thanks for your suggestion. And now, I've created two shortcuts for a controlled experiment. What we need to do is to wait for the next Insider's Update next week. |
I have a solution for this problem. I already mentioned that in one other discussion. We can just simply move the shortcuts folder from $WINDIR to $SCOOPDIR and then create a symlink or junction to that folder. Since windows updates removes shortcuts which refer to a location inside a junction, this will keep the shortcuts safe. In an event like the windows update erasing the shortcuts folder instead, we can simply modify [scoop update scoop] which at the moment does nothing to re-create the shortcut symlink or junction. |
OK, the new test is done!
What we need to resolve is that the symbol link wants to run as Administrator. |
@archit9169 Maybe your suggestion that we move the shortcuts outside of the start menu folder can solve this issue. It means that I'll do another test to make the EDIT: Wait, this test doesn't need to be done at all! The |
@walterlv yeah you are right, i just checked myself. So the next best solution is using symbolic links instead of junctions. |
@archit9169 Unfortunately as I said above, the symbolic links need to run as Administrator but scoop never got this privilege. |
Not with the new updates. mklink /d link target works without admin priv. |
@archit9169 Yes you're right. I'll fix the wrong description in my blog: |
Has this been fixed? All my shortcuts just disappeared and coincidently it was after a Windows Update. I think it was |
We don't know the cause for it yet, but you can quickly fix it by running |
I also had this issue with the recent update |
some news? |
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Scoop Apps
;This might be a bug of scoop? Or it's a bug of Windows but we have to work around this.
PS. My windows 10 is an Insiders Preview version that updates every week, so my shortcuts disappear every week and I can't find ways to restore them expect backing up them manually.
The text was updated successfully, but these errors were encountered: