Skip to content
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

All upgrades from 0.8.2 need a reboot (KmdUtil error 1061) #968

Closed
isaak654 opened this issue Jul 7, 2021 · 21 comments · Fixed by #1141
Closed

All upgrades from 0.8.2 need a reboot (KmdUtil error 1061) #968

isaak654 opened this issue Jul 7, 2021 · 21 comments · Fixed by #1141
Labels
Known Issue Old known Sandboxie issues Status: Fixed in Next Build Fixed in the next Sandboxie version

Comments

@isaak654
Copy link
Collaborator

isaak654 commented Jul 7, 2021

Expected behavior
Upgrade from Plus 0.8.2 to Plus 0.8.6 sometimes needs a reboot, so I would suggest:

  1. to provide a message like "The installation requires a reboot. Click Yes to restart now or No if you plan to restart later." in another release, in order to not induce people to think there is a problem
    OR
  2. to prevent the error 1061 and the chance of a further reboot

To Reproduce
Steps to reproduce the behavior:

  1. Install Sandboxie Plus 0.8.6 over 0.8.2
  2. I do a right-click -> Run sandboxed to any PDF file associated with Vivaldi, and I receive this:

sandb2

  1. I had to fix it with a manual reboot + a manual restore of the Vivaldi association to open PDF files with it. The last measure could have been avoided if I rebooted the system in time.

Windows 10 Pro 20H2
Sandboxie Plus 0.8.6
Windows Defender + GhostPress in background

@isaak654 isaak654 added Feature Request New feature or idea Workaround Temporary or alternative solution labels Jul 7, 2021
@isaak654
Copy link
Collaborator Author

isaak654 commented Jul 10, 2021

This error warning is still an issue when you upgrade from 0.8.6 to 0.8.7, so I decided to do a clean uninstall and a reinstall of 0.8.7 without any reboot involved. Fortunately it seems that I can't reproduce it in the last case... to be completely sure I'll need to wait the next release update.

A user reported in #983 that this bug got introduced around 0.7.5.

@isaak654 isaak654 changed the title Upgrade from 0.8.2 to 0.8.6 needs a reboot, but no prompt is given to the user Upgrade from 0.8.2 to 0.8.6 needs a reboot (KmdUtil error 1061) Jul 10, 2021
@isaak654 isaak654 added Type: Regression A Sandboxie build broke compatibility, it was working before and removed Feature Request New feature or idea labels Jul 10, 2021
@isaak654
Copy link
Collaborator Author

Upgrade from 0.8.7 to 0.8.7b still reproduces the error warning in first post, so it continues to be a consistent bug.

If you can't prevent the error 1061 and the chance of a further reboot, at least provide a message like "The installation requires a reboot. Click Yes to restart now or No if you plan to restart later."

@isaak654 isaak654 changed the title Upgrade from 0.8.2 to 0.8.6 needs a reboot (KmdUtil error 1061) All upgrades from 0.8.2 need a reboot (KmdUtil error 1061) Jul 11, 2021
@d4k0
Copy link

d4k0 commented Jul 12, 2021

Same problem here. This happened the first time when I updated from 0.8.2 to 0.8.6 I think. This problem is still present in version 0.8.7b. I have to reboot in order to not have the message displayed every time I start Sandboxie Plus.

Uninstalling the old version and installing the new version seems to be a workaround, but during uninstallation there is also an error message (something about Sandboxie not being able to control its service if I remember correctly).

@isaak654
Copy link
Collaborator Author

This new required reboot bothers me a lot, since I forget to reboot before the error and often when I have heavy programs running in the system.

@isaak654
Copy link
Collaborator Author

Upgrade from 0.8.7b to 0.8.8 went smooth and fixed the KmdUtil error 1061.

@isaak654 isaak654 added Status: Fixed in Next Build Fixed in the next Sandboxie version and removed Type: Regression A Sandboxie build broke compatibility, it was working before Workaround Temporary or alternative solution labels Jul 13, 2021
@d4k0
Copy link

d4k0 commented Jul 13, 2021

Upgrade from 0.8.7b to 0.8.8 went smooth and fixed the KmdUtil error 1061.

I can confirm this.

@d4k0
Copy link

d4k0 commented Jul 27, 2021

@DavidXanatos
This problem was reintroduced in version 0.8.9.

@isaak654
Copy link
Collaborator Author

@DavidXanatos
This problem was reintroduced in version 0.8.9.

I can't reproduce this time, unless you have the following Windows 7 issue: #1040

@d4k0
Copy link

d4k0 commented Jul 27, 2021

@isaak654
I'm on Windows 10 21H1 x64, so #1040 shouldn't be the problem.

After the upgrade from v0.8.8 to v0.8.9, I get this error message every time when I start Sandboxie Plus (the program also asks for admin rights):

KmdUtil_2021-07-27_18-34-57

I haven't rebooted yet, but this will probably "fix" it again.

@isaak654 isaak654 added Confirmation Pending Further confirmation is requested and removed Status: Fixed in Next Build Fixed in the next Sandboxie version labels Jul 27, 2021
@isaak654
Copy link
Collaborator Author

isaak654 commented Jul 27, 2021

@d4k0
Plus v0.8.9 fixed another annoying issue that prevented the removal of shell integration keys during Sandboxie Plus uninstall, so it would be curious to know what happens if you uninstall 0.8.9 -> install 0.8.8 -> upgrade to 0.8.9 again.

Maybe that's the reason why I can't reproduce 1061 anymore in this version...

@d4k0
Copy link

d4k0 commented Jul 28, 2021

@isaak654
I tried your way (uninstall 0.8.9 -> install 0.8.8 -> upgrade to 0.8.9) as I was also curious about this, and it seems to have worked. During the uninstallation the error message I posted popped up again, but the Sandboxie service was removed nevertheless.

@isaak654 isaak654 added Known Issue Old known Sandboxie issues Workaround Temporary or alternative solution labels Jul 28, 2021
@isaak654
Copy link
Collaborator Author

isaak654 commented Aug 7, 2021

Upgrade from 0.8.9 to 0.9.2 produces the KmdUtil error 1061, the only workaround to avoid a reboot is to uninstall 0.8.9 and install 0.9.2.

@bjm234

@isaak654
Copy link
Collaborator Author

isaak654 commented Aug 8, 2021

Upgrade from 0.9.2 to 0.9.3 produces the KmdUtil error 1061, the only workaround to avoid a reboot is to uninstall 0.9.2 and install 0.9.3.

@bjm234
Copy link

bjm234 commented Aug 8, 2021

Upgrade from 0.9.2 to 0.9.3 produces the KmdUtil error 1061, the only workaround to avoid a reboot is to uninstall 0.9.2 and install 0.9.3.

Will 0.9.3 uninstall (retaining Sandboxie.ini) and 0.9.3 install ...sort 1061 for 0.9.3 and for next builds. Or, is machine restart = best practice going forward?
@isaak654

@isaak654
Copy link
Collaborator Author

isaak654 commented Aug 8, 2021

Will 0.9.3 uninstall (retaining Sandboxie.ini) and 0.9.3 install ...sort 1061 for next upgrade. Or, is over install new build + machine restart = best practice going forward?

Uninstall of current Plus versions keep the ini files in their place because currently there is no option to remove them during the uninstall process... this could change in a later version. Please check here if you want to monitor the progress.

@bjm234
Copy link

bjm234 commented Aug 8, 2021

Will 0.9.3 uninstall (retaining Sandboxie.ini) and 0.9.3 install ...sort 1061 for next upgrade. Or, is over install new build + machine restart = best practice going forward?

Uninstall of current Plus versions keep the ini files in their place because currently there is no option to remove them... this could change in a later version. Please check here if you want to monitor the progress.

Hmm....does uninstall install any scenario sort 1061?
I'll need to remember to restart machine after over install. No biggy. Thanks

@isaak654
Copy link
Collaborator Author

isaak654 commented Aug 8, 2021

Hmm....does uninstall install any scenario sort 1061?

Not forever, it's just a way to prevent the reboot... but it helps to fix possible shell integration issues that could be problematic if you upgraded a lot in the past.

For example, older Plus versions < 0.8.9 left a few keys in the registry even after the uninstall.
This is no longer the case, fortunately.

@bjm234
Copy link

bjm234 commented Aug 8, 2021

Not forever, it's just a way to prevent the reboot... but it helps to fix possible shell integration issues that could be problematic if you upgraded a lot in the past.

Okay. I've uninstall'd install'd 0.9.3 keeping Sandboxie.ini & Sandboxie-Plus.ini in place + machine restart. We'll see whats what next build.
Thanks @isaak654

@isaak654
Copy link
Collaborator Author

isaak654 commented Aug 23, 2021

KmdUtil error 1061 just reproduced after the upgrade from 0.9.3 to 0.9.4.
Reboot worked, but this should be fixed for good, like on Classic that doesn't need a reboot.

@isaak654 isaak654 added to investigate ToDo To be done Help Wanted Extra help is needed labels Aug 23, 2021
@isaak654 isaak654 added Status: Fixed in Next Build Fixed in the next Sandboxie version and removed Help Wanted Extra help is needed Confirmation Pending Further confirmation is requested ToDo To be done to investigate Workaround Temporary or alternative solution labels Aug 30, 2021
@isaak654
Copy link
Collaborator Author

The upgrade issue will be fixed on the next build, see: #1147 (comment)

@DavidXanatos
Copy link
Member

instalers updat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Known Issue Old known Sandboxie issues Status: Fixed in Next Build Fixed in the next Sandboxie version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants